Page 1 of 1

Fontengine in HW 4.7 still doesn't work ?

Posted: Sat Nov 13, 2010 4:57 pm
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

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

Posted: Sat Nov 13, 2010 8:23 pm
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.

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

Posted: Sun Nov 14, 2010 10:05 am
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

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

Posted: Mon Nov 15, 2010 2:05 am
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.