[haiku-development] Deskbar plain font or menu font?

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Mon, 3 Apr 2023 13:42:25 -0400

TLDR; Deskbar, should it use plain font or menu font?

As I was looking into fixing #17913 I noticed that Deskbar uses a
hodgepodge of fonts, it uses the plain font (be_plain_font) in some
places and uses the menu font in others. As you may know, Deskbar is a
menu(bar) so it uses the menu font by default unless this is
overriden. For example the main menu uses the menu font but the
shutdown/restart submenu uses the plain font. The
Application/Demos/Deskbar applets/Preference folder icons are scaled
using plain font while the text scales with plain font and so the icon
and the text may not match each other if these two font settings
differ. Even though the main menu uses the menu font the Applications
sub-menu uses the plain font instead. Some of these menus are
generated by Tracker like the Mount menu so there are some similar
font issues with menus in Tracker as well.

I'd like to unify the font type that Deskbar uses in these places but
the question is which font should I use? Deskbar is a menu so the menu
font seems appropriate, but it's also a system component so maybe
plain font is better. I checked BeOS R5 and it uses the plain font for
Deskbar, changing the font in the Menu preferences has no effect.
Plain font is probably easier two to use since there is a BFont
constant for it.

Anyway I could go either way and I'm not sure which is better, so you
tell me, which do you think Deskbar should use, plain font (first
dropdown in the Appearance font settings) or menu font (last dropdown
in the Appearance font settings?)

Other related posts: