@FONT issue with Hollywood 6 on AROS

Report any Hollywood bugs here
Post Reply
ntromans
Posts: 51
Joined: Fri Jan 11, 2013 12:06 am

@FONT issue with Hollywood 6 on AROS

Post 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.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: @FONT issue with Hollywood 6 on AROS

Post 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?
ntromans
Posts: 51
Joined: Fri Jan 11, 2013 12:06 am

Re: @FONT issue with Hollywood 6 on AROS

Post 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.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: @FONT issue with Hollywood 6 on AROS

Post 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.
ntromans
Posts: 51
Joined: Fri Jan 11, 2013 12:06 am

Re: @FONT issue with Hollywood 6 on AROS

Post by ntromans »

With the work-around, that's working fine now.

Many thanks!
Nigel.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: @FONT issue with Hollywood 6 on AROS

Post 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
Post Reply