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.
@FONT issue with Hollywood 6 on AROS
- airsoftsoftwair
- Posts: 5635
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: @FONT issue with Hollywood 6 on AROS
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
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.
@FONT 1,"Bitstream Vera Sans Roman",10,{engine = #FONTENGINE_INBUILT}
Cheers,
Nigel.
- airsoftsoftwair
- Posts: 5635
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: @FONT issue with Hollywood 6 on AROS
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.
Then it should work. The issue will be fixed for the next update.
Code: Select all
@FONT 1, "FONTS:TrueType/VeraSans.ttf", 10
Re: @FONT issue with Hollywood 6 on AROS
With the work-around, that's working fine now.
Many thanks!
Nigel.
Many thanks!
Nigel.
- airsoftsoftwair
- Posts: 5635
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: @FONT issue with Hollywood 6 on AROS
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
http://forums.hollywood-mal.com/viewtop ... t=30#p4894