FLTK logo

[fltk/fltk] Fl::get_font_name() with Pango is inconsistent (Issue #732)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

[fltk/fltk] Fl::get_font_name() with Pango is inconsistent (Issue #732) wcout 01:29 Jun 05  
 

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

  1. Have the msttcorefont package installed with your system. You will get the additional true type fonts Arial, Courier New, Verdana, ...
  2. Compile FLTK with pango support.
  3. Start test/fonts and look at e.g. the Ariel font
  4. 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':
grafik

FLTK Version
Git current.

FLTK Configure / Build Options

  • ./configure --enable-pango ...

Operating System / Platform:
Linux: Ubuntu 20.04

Linux/Unix Runtime, if applicable:

  • Wayland
  • X11


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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.