Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > Bug Reports And Codecs

Bug Reports And Codecs Report BS.Player bugs here - help us to improve BS.Player even further.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11th March 2004
Member
BS.player Regular User
 
Join Date: Nov 2003
Posts: 42
Rep Power: 0
test is an unknown quantity at this point
Default I have a problem to use font with sub-title !

Hello !

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 !
Reply With Quote
  #2 (permalink)  
Old 11th March 2004
Member
BS.player Regular User
 
Join Date: Nov 2003
Posts: 42
Rep Power: 0
test is an unknown quantity at this point
Default

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:
Reply With Quote
  #3 (permalink)  
Old 11th March 2004
Quietseb's Avatar
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: back in France...
Posts: 581
Rep Power: 0
Quietseb is an unknown quantity at this point
Default

I don't think you can use fonts that are not installed. I might be wrong, you never know

I thought of something, but you might think it is ugly (I do think it is ugly :roll: )

root of cd:
autorun.inf
init.cmd
bsplay.exe
bsrendv2.dll
mymovie.avi
myfont.ttf

Code:
[autorun]
open=init.cmd
icon=icon.ico
init.cmd:
Code:
copy myfont.ttf %windir%\fonts\myfont.ttf /Y
bsplay.exe mymovie.avi -eend
del %windir%\fonts\myfont.ttf
please check it and report errors if any ;) ; the last line is of course optional and you should customize the second one ;)

I guess the command window will appear, I don't remember how to avoid that (I think you can avoid a command window to appear, but not sure)
Reply With Quote
  #4 (permalink)  
Old 11th March 2004
Member
BS.player Regular User
 
Join Date: Nov 2003
Posts: 42
Rep Power: 0
test is an unknown quantity at this point
Default

THX A LOT !!!

I test it and I tel You If it's working :wink:

THX !
Reply With Quote
  #5 (permalink)  
Old 11th March 2004
Member
BS.player Regular User
 
Join Date: Nov 2003
Posts: 42
Rep Power: 0
test is an unknown quantity at this point
Default

And I also want to say that tou have a great picture : it's look like a mang (japan animation)

As the free movie copy :wink: I'm about to rip !

bye ! :lol:
Reply With Quote
  #6 (permalink)  
Old 11th March 2004
Member
BS.player Regular User
 
Join Date: Nov 2003
Posts: 42
Rep Power: 0
test is an unknown quantity at this point
Default

arf pis je vien de voir ke t'?©tait fran?§ais donc ca va Ä™te encore plus simple !

@ plus !

LOL
Reply With Quote
  #7 (permalink)  
Old 19th March 2004
Member
BS.player Regular User
 
Join Date: Nov 2003
Posts: 42
Rep Power: 0
test is an unknown quantity at this point
Default

arf !

it doesn't work so much : the system hade to wait for the police before lauch vid?©o !

Do you know how make a tempo under a bat files to wait for lauching the movie ?
Reply With Quote
  #8 (permalink)  
Old 20th March 2004
Quietseb's Avatar
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: back in France...
Posts: 581
Rep Power: 0
Quietseb is an unknown quantity at this point
Default

Quote:
Originally Posted by test
it doesn't work so much : the system hade to wait for the police before lauch vid?©o !
I'm not sure what the issue is here ? could you explain ?
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:
Originally Posted by test
Do you know how make a tempo under a bat files to wait for lauching the movie ?
there are two commands to do that:
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:
And I also want to say that tou have a great picture : it's look like a mang (japan animation)
thanks ;)
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 ;)
Reply With Quote
  #9 (permalink)  
Old 20th March 2004
Quietseb's Avatar
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: back in France...
Posts: 581
Rep Power: 0
Quietseb is an unknown quantity at this point
Default

Quote:
Originally Posted by Quietseb
Quote:
Originally Posted by test
it doesn't work so much : the system hade to wait for the police before lauch vid?©o !
I'm not sure what the issue is here ? could you explain ?
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 :?
tested it on another system...
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
test.bsi
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
hope it's ok ;)
Reply With Quote
Reply

Tags
font, subtitle

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules


All times are GMT +1. The time now is 07:13 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20