Fixed width fonts
Fixed width fonts
Is it possible to tell FontRequest() only show fixed witdth fonts?
Re: Fixed width fonts
no
but maybe, as a workaround, you can compare FontWidth("IJ1") with FontWidth("OWM") to see if it equal ?
but maybe, as a workaround, you can compare FontWidth("IJ1") with FontWidth("OWM") to see if it equal ?
Christos
Re: Fixed width fonts
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.
Re: Fixed width fonts
that would be a nice command, FontWidth(). I take dimensions of a TextObject with the letter and GetAttribute() for size measuring
Re: Fixed width fonts
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.
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Fixed width fonts
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