FLTK logo

Re: [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 ]

Re: [fltk/fltk] Fl::get_font_name() with Pango is inconsistent (Issue #732) wcout 10:40 Jun 05  
 

I see only this problem for an application:
Setting a custom font, lets say 'Ariel' (name read perhaps read from a config file) through Fl::set_font(FL_FREE_FONT, "Arial") will not work with Pango, but it will work with Xft. How should an application find out which Arial font name is the right one to use, when iterating through the list of fonts, searching for an Arial font, that has no style, as e.g. both 'Arial Regular' and 'Arial Black' don't have a bold or italic attribute set when queried with Fl::get_font(name, &attr)?


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/1577208279@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'.