Preloading fonts and cross platform compatibility

Find quick help here to get you started with Hollywood
Post Reply
amyren
Posts: 91
Joined: Thu May 02, 2019 11:53 am

Preloading fonts and cross platform compatibility

Post by amyren » Wed Feb 12, 2020 10:07 pm

Many of my programs compiled for 68k runs quite well on AmigaOS4 and MorphOS. And MorphOS usually runs warpOS compiled programs as well.

But if I add a preloaded font to the Hollywood program, the 68k / WarpOS version will fail on MorphOS, complaining about the missing font.

The solution is of course to compile a separate binary for each system.
But it still makes me worder what is different in the way these systems handles fonts, and how Hollywood handles the linked/preloaded font?

User avatar
Juan Carlos
Posts: 559
Joined: Mon Sep 06, 2010 1:02 pm
Contact:

Re: Preloading fonts and cross platform compatibility

Post by Juan Carlos » Wed Feb 12, 2020 10:21 pm

You don't forget that version uses its own plugins, you can't use the Amiga68k under MorphOS with the plugins of this system installed, 68k doesn't work. Every executable with the plugins of its system.

amyren
Posts: 91
Joined: Thu May 02, 2019 11:53 am

Re: Preloading fonts and cross platform compatibility

Post by amyren » Thu Feb 13, 2020 11:18 pm

No plugins is used, only the use of font was changed.

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

Re: Preloading fonts and cross platform compatibility

Post by airsoftsoftwair » Sun Feb 16, 2020 12:01 am

What kind of font do you preload? Amiga bitmap font or TrueType font? Can you post the preprocessor line used for preloading?

amyren
Posts: 91
Joined: Thu May 02, 2019 11:53 am

Re: Preloading fonts and cross platform compatibility

Post by amyren » Tue Feb 18, 2020 9:08 am

airsoftsoftwair wrote:
Sun Feb 16, 2020 12:01 am
What kind of font do you preload? Amiga bitmap font or TrueType font? Can you post the preprocessor line used for preloading?
It is a TrueType font, and I use this line to preload the font

Code: Select all

@FONT 1, "DS-DIGITAL BOLD ITALIC", 32

Post Reply