freetype
[Top][All Lists]
Advanced

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

Re: [ft] Fonts and definition of space-character (and: error codes)


From: Werner LEMBERG
Subject: Re: [ft] Fonts and definition of space-character (and: error codes)
Date: Thu, 13 Mar 2008 07:21:26 +0100 (CET)

> I have tried to get all glyphs of a text-string.  When my program
> has to get the glyph of a space- character, it does not work.
>
> I have looked into the font (ttf-font) with fontforge.  The field is
> not undefined (no red crosses there), but it somehow does not work.

Which font?  Sample code, please.

> I got an error with value 6.  (BTW: how to get textual
> error-messages for that code?)

This is described in file fterrors.h.

> Why is the space-char not defined?  Are the fonts I used incomplete,
> or is it the usual way, that some chars have no glyphs and even not
> a spatial extent?

Well, there exist fonts which don't have a space character (TeX fonts,
for example).


    Werner




reply via email to

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