freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] How to get the position of a glyph without rendering it


From: Albert Astals Cid
Subject: Re: [ft-devel] How to get the position of a glyph without rendering it
Date: Sat, 4 Dec 2010 18:07:36 +0000
User-agent: KMail/1.13.5 (Linux/2.6.35-22-generic; KDE/4.5.1; x86_64; ; )

A Dimecres, 20 d'octubre de 2010, Albert Astals Cid va escriure:
> A Dimecres, 20 d'octubre de 2010, vàreu escriure:
> > Hi,
> > 
> > On Wed, 20 Oct 2010 01:29:29 +0100
> > 
> > Albert Astals Cid <address@hidden> wrote:
> > >That code works fine for most of the fonts i tried but now i have
> > >encountered a case in which
> > >
> > > round(-glyphMetrics->horiBearingX / 64.0);
> > >
> > >is -2 and
> > >
> > > -slot->bitmap_left;
> > >
> > >is 26
> > 
> > Could you tell me any sample fonts to reproduce
> > this issue?
> > 
> > I think, the metric infos available before rendering
> > come from metric tables, and the metric infos available
> > after the rendering come from glyf table, so there
> > can be incompatible values (rather, broken font may
> > have different values).
> 
> Here some sample code and the font.

Did you have any change to look at my code/font?

Thanks,
  Albert

> 
> Any help more than welcome,
>   Albert
> 
> > Regards,
> > mpsuzuki



reply via email to

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