[openbeos] Re: Fixed-width fonts in Haiku

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 11 Jun 2006 10:56:00 +0200 CEST

"Jorge G. Mare (a.k.a. Koki)" <koki@xxxxxxxxxxxxxx> wrote:
> How does the Font preferences applet in Haiku determine which fonts 
> to
> show in the "Fixed width" pull-down menu? Does it look at 
> isFixedPitch,
> numOfLongHorMetrics, or something else?

I am not sure how it gets there, but FreeType has a "face_flags" field 
in the FT_Face structure that must have the FT_FACE_FLAG_FIXED_WIDTH 
flag set.
I would guess that TrueType has a flag that triggers this as well.

Bye,
   Axel.


Other related posts: