Page 1 of 1

@FONT issue with Hollywood 6 on AROS

Posted: Tue Feb 24, 2015 12:23 am
by ntromans
There seems to be a probelm with the @FONT pre-processor command then compiling a script using the AROS version of Hollywood (Icaros 2); the script compiles, but on execution is throws up a requester saying 'Unknown section in applet!'. This occurs when compiling from AROS for either AROS or OS3 (haven't tried the other platforms). I know it is the @FONT command as if it is commented out from the script it executes. The script worked fine under 5.3 and also works if 'display' is selected instead of 'compile'.

Nigel.

Re: @FONT issue with Hollywood 6 on AROS

Posted: Tue Feb 24, 2015 4:33 pm
by airsoftsoftwair
Which font type are you using? Bitmap font or true type font? Should the font be linked to the applet/executable or not?

Re: @FONT issue with Hollywood 6 on AROS

Posted: Thu Feb 26, 2015 12:34 am
by ntromans
Sorry - should have given full details in the first post. it's a true-type fonts I'm trying to link into the program:

@FONT 1,"Bitstream Vera Sans Roman",10,{engine = #FONTENGINE_INBUILT}

Cheers,
Nigel.

Re: @FONT issue with Hollywood 6 on AROS

Posted: Thu Feb 26, 2015 7:33 pm
by airsoftsoftwair
Ok, I can confirm this here. It only happens with TrueType fonts. As a workaround, specify the path to the *.ttf file directly, e.g.

Code: Select all

@FONT 1, "FONTS:TrueType/VeraSans.ttf", 10
Then it should work. The issue will be fixed for the next update.

Re: @FONT issue with Hollywood 6 on AROS

Posted: Sat Feb 28, 2015 3:06 pm
by ntromans
With the work-around, that's working fine now.

Many thanks!
Nigel.

Re: @FONT issue with Hollywood 6 on AROS

Posted: Thu Mar 05, 2015 4:48 pm
by airsoftsoftwair
This is a very critical bug since it can lead to corrupt executables/applets and it has been fixed now. See here how to update and who should update:
http://forums.hollywood-mal.com/viewtop ... t=30#p4894