Page 1 of 1

[30 Sep 2007] font handling

Posted: Sat Jun 13, 2020 5:31 pm
by lazi
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 30 Sep 2007 18:29:33 +0100

Hello!

There is some differencies on the font handling in the Hollywood supported OS-es.

I am working on OS4 and the AmiCon party helped me with an opportunity to test my code on a MOS 2.0 Efika.

There were problems on the font part. Certainly the OS4 base fonts is missing in MOS. We are transferred the two fonts I used and then we recognized that one of them is a postscript font.

According to the Efika owner MOS cannot handle postscript fonts in system wide.

After changed the code to use ttf fonts, the next problem emerged. There was errors on antialiased text output. :(

Could somebody help me to collect these differencies to make a font handling guideline for Hollywood? I have to find a way to make the program to look the same all of the platforms.

[04 Oct 2007] Re: font handling

Posted: Sat Jun 13, 2020 5:31 pm
by airsoftsoftwair
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 04 Oct 2007 22:03:24 +0200
Hello!

There is some differencies on the font handling in the Hollywood supported OS-es.

I am working on OS4 and the AmiCon party helped me with an opportunity to test my code on a MOS 2.0 Efika.

There were problems on the font part. Certainly the OS4 base fonts is missing in MOS. We are transferred the two fonts I used and then we recognized that one of them is a postscript font.

According to the Efika owner MOS cannot handle postscript fonts in system wide.
Yes.
After changed the code to use ttf fonts, the next problem emerged. There was errors on antialiased text output. :(

Could somebody help me to collect these differencies to make a font handling guideline for Hollywood? I have to find a way to make the program to look the same all of the platforms.
Unfortunately, that's not possible with true type fonts at the moment. MorphOS and OS4 use different font rendering implementations. I try to find a solution for this, too. But currently there WILL be differences between OS4 and MOS with true type fonts because of implementation differences (ft2.library on OS4 vs freetype2.library on MOS, AROS, OS3).

It's sad, I know. But blame the OS developers for creating two different pairs of shoes although the source is the same (i.e. freetype2). I hope I can find a solution, but it's really difficult. I would have to use an own renderer to eliminate differences, but this would bloat Hollywood and make the exe some 500kb bigger :/