|
Bug Reports And Codecs Report BS.Player bugs here - help us to improve BS.Player even further. |
| LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
I have a problem to use font with sub-title ! I have a problem to use font with sub-title ! I wanna use a font witch is not in the system ! Is it possible to use a font witch is on the cd but not in the system Sorry for my english ! |
| |||
My problem is so hard than nobody can help me :cry: :lol: But I'm sure that someone used to make a CD with an autorun withe bsplayer and ini files and with specifical fonts !!! NO :?: :roll: :wink: |
| ||||
Quote:
I can't test it on my system, it seems I have a fonts managing utility that prevents me to install a font by just copying it to the windows\fonts directory :? Quote:
timeout x and sleep x where x is the number of seconds to wait. a major drawback is that you need timeout.exe and sleep.exe from the windows resource kit ! (which I don't) otherwise there's the standard pause which prompts the user to press a key before the batch can continue... Quote:
it's from Rurouni Kenshin [the manga, I've not watched the anime yet] (Kenshin le Vagabond). This guy Enichi is anything but quiet... but I love the glasses 8) [leaving for Japan in 9 days :) ] P.S. le forum ?©tant en langue anglaise, je pr?©fÄ?re donner les r?©ponses en anglais. ceci dit si tu pr?©fÄ?res en fran?§ais je ferais l'effort de mettre les 2 ;) |
| ||||
Quote:
as you experienced, it seems a short delay is necessary before the system is aware of the new font's presence... I finally found the windows 2003 resource kit as a free download from microsoft.com [at last, I've been looking for it for some time] (I didn't think it was free, windows 2000's didn't seem to be free). Since it's a 12MB download and needs to be installed (unless there is a way to extract files from a msi ?), you may want to download just sleep.exe; you can find it on msfn (also you'll find a link to a util that might help you hide that hideous command window when run from autorun) copy sleep.exe either to %windir%\system32 or in the same folder as the init.cmd (granted you want to use a CD that works not only on your neatly setup system I suppose you would do the 2nd one) I guess you figured that out, but you need a bsi to choose the font to be used for subtitles => my previous code wasn't exactly usable. just for my sake I'll put updated code below. I ran it from HD rather than from a CD with autoexec (I hate autoexec, sorry ;) ) but I don't see why it would be different on CD. However it looks like the -eend command parameter has no effect when 1st argument is a bsi rather than a simple video file => added ExitAtEnd in the bsi one more thing: the font deletion sometimes work, sometimes not (access denied :? ). so I added a delay after bsplayer closes too but it didn't change a thing... bah... init.cmd Code: @echo off echo please wait... copy Friday13v12.ttf %windir%\fonts\Friday13v12.ttf /Y rem 5 is probably more than needed ;) sleep 5 "C:\media\bsplayer\bsplay.exe" test.bsi del %windir%\fonts\Friday13v12.ttf Code: [Main] Version=1.00 NumberCDs=1 CD=1 [Movie] Title=test Directory=. FName=test.avi [Subtitles] Directory=. Sub1=test|test.srt Font=0;Friday13;18;0;FFFFFF [Options] ExitAtEnd=1 |
Tags |
font, subtitle |
| |