FLTK logo

Re: [fltk.general] Query monospace property of fonts

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

Re: Query monospace property of fonts matthiasm Feb 16, 2006  
 

On Feb 16, 2006, at 5:29 PM, Christoph wrote:

from the fonts.cxx example in the fltk 1.1.7 distribution I have learnt that bold and italic properties of fonts can be queried with "& FL_Bold" and "& FL_ITALIC".

No, there is no specific call for that. However, if after setting your font, fl_width returns the same size for "W" and "i", it is very likely a fixed width font


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'.