AROS World Exec
General => Help => Topic started by: Yanosh on August 04, 2019, 06:13:05 PM
-
Hi. I'm trying to use OWB on its own screen, but I can't find how to set all the fonts I need. There is only one font I can choose, instead of the 3 ones the Wanderer's screen allows to use. This way OWB looks ugly. Can someone help on this?
-
I'm pretty sure the PSI.prefs does not work. At least I never managed to create own Zune (MUI) screenmodes with AROS.
-
It works for me. I've just created a new 640x480 screen and opened it. The only thing I don't know how to set, are the fonts... I can only set one font and it's the wrong one, because if I open OWB on that screen, the font used are wrong (and ugly).
-
PSI simply only handles one font, as it uses Zunes (MUIs) OpenPubScreen() function, which takes a struct MUI_PubScreenDesc as a parameter.
And this only has one entry for a font name:
struct MUI_PubScreenDesc
{
LONG Version;
char Name[PSD_MAXLEN_NAME];
char Title[PSD_MAXLEN_TITLE];
char Font[PSD_MAXLEN_FONT];
char Background[PSD_MAXLEN_BACKGROUND];
...
}
So changing that seems to be not trivial, at least on a first look. I think, you can't use MUIs OpenPubScreen() to set the other fonts..?
I guess you should use the Zune Preferences for the specific program to modify those fonts.