Question regarding default Screen Font.

A forum for general AmigaOS 4.x support questions that are not platform-specific

Question regarding default Screen Font.

Postby redfox » Mon Feb 25, 2019 4:55 am

I have noticed that RequestChoice, RequestFile, RequestString and RequestList (from OS4Depot) all use the default Screen font for the contents of the requester. The default setting for Screen Font on my system is DejaVu Sans/16, which is a variable-width font, where the letters and spacings have different widths. This can cause alot of confusion if I am using RequestList to display a file that is organized into columns, such as the output from the List directory command.

If I temporarily change the Screen Font to DejaVu Sans Mono/15, the contents of these requesters looks correct and columns lineup correcly.

So my question is ...
Would there be any adverse effects if I permantly set the Screen Font to DejaVu Sans Mono/15?

Prefs > Font preferences > Fonts tab > Screen font:

AmigaOS 4.1 Final Edition Update 1

---
redfox
redfox
 
Posts: 24
Joined: Wed Nov 09, 2011 3:29 am

Re: Question regarding default Screen Font.

Postby nbache » Mon Feb 25, 2019 11:38 am

There is obviously the adverse effect of the system using a fixed-width font also in a lot of other cases, where it wouldn't be necessary. But apart from that, you won't break anything.

But the problem really is that RequestList - which is the only one of the aforementioned commands which naturally lends itself to displaying column-formatted data (and the only third-party one) - should offer you an option to set the font (or font class) used in the requester.

Try asking the author for that enhancement.

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1362
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Re: Question regarding default Screen Font.

Postby redfox » Mon Feb 25, 2019 8:22 pm

Thanks Niels.

---
redfox
redfox
 
Posts: 24
Joined: Wed Nov 09, 2011 3:29 am

Re: Question regarding default Screen Font.

Postby salass00 » Tue Feb 26, 2019 8:45 am

Programs that need a fixed width font can use the system default font (GfxBase->DefaultFont), which is guaranteed to be non-proportional.
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 511
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland

Re: Question regarding default Screen Font.

Postby nbache » Tue Feb 26, 2019 10:50 am

Yes, that's what I meant by "font class" - although it was perhaps not the correct term for it.

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1362
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark


Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 4 guests