openAV-Fabla2 icon indicating copy to clipboard operation
openAV-Fabla2 copied to clipboard

Text problems in UI (font size is tiny/hard to read, and has weird kerning issues)

Open ViktorNova opened this issue 10 years ago • 4 comments

I haven't reported in on this one yet because it's an aesthetic thing, but it majorly affects usability for me as so here it is - the font is weird, which makes Fabla 2 hard to use (I'm talking about the bold font that is mostly used for labling the UI widgets)

  • The font is tiny, so small that I have to literally have to put my face right up against the screen just to read what's going on
  • The font kerning/spacing is very bizarre, which makes it even harder to read =)
  • Only slightly related, but the whole UI is pretty small, so I see how that affects the font choice

For example, in this screenshot, it looks like "Ve l o c i t y", and "AD S R"

2015-06-21-111412_1280x800_scrot

If you can point me in the right direction, I'd love to help with this if I can! I'm much better at UI stuff than audio engine stuff, and I actually have a pretty compatible aesthetic to you I think (everything I make looks like a sci-fi computer interface=)

How does the theming engine work?

ViktorNova avatar Jun 21 '15 19:06 ViktorNova

Hi Victor,

A) The font file itself is chosen by Cairo, and is the system default font IIRC. B) Do you have a high pixel density screen? aka HiDPI? That would explain the size.

To fix A) AVTK could include a custom pixmap based font. Its not a "beautifully engineered perfect solution" - but its a workaround for a much bigger issue. This is planned for AVTK.

To fix B), an Avtk::Group needs to be able to resize itself, and the widgets it contains. There is work in progress in this area, and it was discussed at the LAC. I'm still in contact with a few developers regarding the specifics of how it will work. So this is also on the TODO.

Theres a lot of these "smaller" things that needs fixing for proper user-experience. As you may have guessed, the "defaults" are what look best on the machine here - and I'm not testing on multiple distros / installs / default-fonts at this point.

As to how the theming engine works, setting colours happens in avtk/theme.h and avtk/theme.c. These classes are due an overhaul to support a better JSON format for colours.

Hope that makes some sense. You're thinking it, and you're right - there is still a long path ahead. -Harry

harryhaaren avatar Jun 23 '15 12:06 harryhaaren

I would love to see a resizeable plugin window if that's possible.

bcm0 avatar Jul 07 '17 08:07 bcm0

Hi @adnion, thanks for the feature request. I know its ultimately Fabla2 that you want to have a resizeable UI, but its actually AVTK that provides the graphical interface - so I've filed an issue in the AVTK repo to track your feature request. Thanks! -Harry

harryhaaren avatar Jul 07 '17 18:07 harryhaaren

The font size/kerning issue is also due to AVTK, as noted here: https://github.com/openAVproductions/openAV-AVTK/issues/1.

harryhaaren avatar Jul 07 '17 18:07 harryhaaren