freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] TrueType ignoring white space


From: Werner LEMBERG
Subject: Re: [ft] TrueType ignoring white space
Date: Fri, 13 Jun 2008 08:57:28 +0200 (CEST)

> I have a ttf file I use to write text. When I have a string that ha
> a fixed number of bytes but may be padded with white space (0x20),
> it appears that the ending while spaces are ignored.  Is this a
> normal behaviour? This seems odd because the other spaces in that
> string shows up.

Hmm.  FreeType doesn't come with a routine to draw a string.  You pass
a glyph index, and you get back a rendered glyph together with its
metrics.

> If I have a ttf file - sat times.ttf - and generated a size 12 font,
> should ALL character be size 12 (including white spaces)?

Of course.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]