Fixed width fonts
Posted: Sat Nov 23, 2024 8:33 pm
Is it possible to tell FontRequest() only show fixed witdth fonts?
The Cross-Platform Multimedia Application Layer
https://forums.hollywood-mal.com/
that would be a nice command, FontWidth(). I take dimensions of a TextObject with the letter and GetAttribute() for size measuring
I think on AmigaOS 3.x this is an option too. But I can't set it as default via Hollywood.jPV wrote: ↑Sun Nov 24, 2024 4:25 pm I think this uses a font requester from the operating system underneath. For example, the font requester in MorphOS does have an option to show only Fixed Width fonts (or bitmap fonts or unicode fonts etc.). So FontRequest() with Hollywood on MorphOS does have this option already.
No need to create a text object, just use TextWidth() or TextExtent().phipslk wrote: ↑Mon Nov 25, 2024 7:42 pm that would be a nice command, FontWidth(). I take dimensions of a TextObject with the letter and GetAttribute() for size measuring