|
|
Describe the bug
When building FLTK with Pango (either Xft+Pango or Wayland/Cairo+Pango) some fonts are not with correct style information.
I am observing this in special with the msttcorefonts .
To Reproduce
- Have the
msttcorefont package installed with your system. You will get the additional true type fonts Arial, Courier New, Verdana, ...
- Compile FLTK with pango support.
- Start
test/fonts and look at e.g. the Ariel font
- The name is displayed in dependency of the current LANG setting. And it does not correctly find the style (even if the font is bold it is not displayed in bold).
Expected behavior
The name should be consistent/independent from LANG and/or the style information should be correct.
Fl::get_font_name(name, &attr) should fill the attr information correctly.
Screenshots
This is e.g. when LANG is set to 'fr':
FLTK Version
Git current.
FLTK Configure / Build Options
- ./configure --enable-pango ...
Operating System / Platform:
Linux: Ubuntu 20.04
Linux/Unix Runtime, if applicable:
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/732@github.com>
[ Direct Link to Message ] | |
|
| |