|
From: | Louis Desjardins |
Subject: | Re: [ft-devel] character spacing |
Date: | Mon, 19 Sep 2011 07:05:01 -0700 |
Thanks! Well when I perform this search, no 'GPOS' text is found, but I do find the text 'kern' - so at least Freetype can handle this file.
I also tried the tool "ttx" as you suggested - thanks for this tip! Indeed it turns out that the 'kern' table does not have any of the pairs I was looking for (which I thought was very surprising). When I do enter a glyph indices for pairs that I do actually see in the kern table, then FT_Get_Kerning does return a value. My original problem persists though and there is too much spacing between certain characters, such as "F" and "a", and between "1" and almost any other number. Is this not something that should be dealt with by the kerning table, or do I now need to look for a different font? Thank-you again! LD > Date: Mon, 19 Sep 2011 07:27:04 +0200 > To: address@hidden > CC: address@hidden > Subject: Re: [ft-devel] character spacing > From: address@hidden > > > > Also - as I have already invested much time in Freetype I no longer > > have time to integrate a different library such as Pango - is there > > somewhere I can obtain freely distributable TTF files that contains > > kerning information that can be handled by Freetype? > > If a font doesn't contain a `GPOS' table and only `kern', you are on > the safe side. This inspection can be done even manually; just search > for `GPOS' inside the font (rather at the beginning, within the first > few kBytes). > > > Werner |
[Prev in Thread] | Current Thread | [Next in Thread] |