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 ]

Query monospace property of fonts Christoph Feb 16, 2006 top right image

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

Is it also possible to figure out whether a given font has monospaced or proportional spacing?



Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

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