Fontengine in HW 4.7 still doesn't work ?

Find quick help here to get you started with Hollywood
Post Reply
gerograph
Posts: 39
Joined: Thu Mar 04, 2010 9:38 pm

Fontengine in HW 4.7 still doesn't work ?

Post by gerograph »

Hi all,

I just installed HW 4.7 in order to make a win XP Presentation with Designer + HW. After compiling I found out, that e.g. DejaVu Font is still to long under WinXP compared to Amiga OS4 ? Thought this was corrected/added in 4.7 ? This is my commandline:

Hollywood Hauptschule-2.hws -borderless -compile Hauptschule.exe -exetype win32 -depth 32 -fixed -fullscreen -linkfiles pics.txt -linkfonts fonts.txt

Any Ideas ??? Meanwhile I start reading the docu a bit more intensive !

greetings Gerograph
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Fontengine in HW 4.7 still doesn't work ?

Post by airsoftsoftwair »

It works, but Hollywood Designer 2.0 does not make use of it. Designer 3.0 which will be out around Christmas will fully support platform independent text rendering and also font linking.
gerograph
Posts: 39
Joined: Thu Mar 04, 2010 9:38 pm

Re: Fontengine in HW 4.7 still doesn't work ?

Post by gerograph »

Thanks Andreas,

Here is the solution if you use "old" Designer 2 and HW 4.7:

1) Generate a HW Script from Designer
2) look for SetFont() command
3) change it to somewhat looking like that:
SetFont("Virginie.font", 180, {Engine = #FONTENGINE_INBUILT})
4) Save and compile e.g. with abover commandline

Sorry for bothering you guys, should read the manual first (it is all in there...) but I am lazy... so thought you guys would be faster.

Greetings Gerograph
Bugala
Posts: 1178
Joined: Sun Feb 14, 2010 7:11 pm

Re: Fontengine in HW 4.7 still doesn't work ?

Post by Bugala »

Thanks Gerograph, I had compleely missed that you actually need to manually set the HW font engine to make it render it right.

For i was having slight problem with different width size of fonts on XP and Amiga. I thought 4.7 had used new engine automatically, but seems i thought wrong.
Post Reply