FLTK logo

Re: [fltk/fltk] FLTK doesn't use system UI font (Issue #466)

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] FLTK doesn't use system UI font (Issue #466) Albrecht Schlosser Aug 17, 2022  
 

It might still be nice if FLTK defaults to the system UI font, though, if you feel it is worth the effort.

@CendioOssman I don't think that this is appropriate, keeping backwards and cross-platform compatibility in mind. There would be at least eight fonts affected (FL_HELVETICA (proportional): normal, bold, italic, and bold italic) and the same for FL_COURIER (fixed font). These are the fonts that are most likely used by all applications. Loading other fonts than we have now by default would likely cause trouble because applications would look different, maybe font sizes and spacing would be different, etc..

That said, an additional API to overload specific fonts with all variants from alternate system UI fonts might make sense. A global flag set by a function call early in the program, i.e. before "the display is opened", might also be useful. However, such an API would need to be well defined and usable cross platform etc. etc.


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