[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Devel] Getting accurate advances
From: |
Turner David |
Subject: |
RE: [Devel] Getting accurate advances |
Date: |
Thu, 20 Nov 2003 17:04:11 +0100 |
Hello,
> Turner David wrote:
> >
> > Why didn't you use the FT_LOAD_LINEAR_DESIGN loading flag ? This
> > would give you the original, untouched, advance in font units.
> > This would let you compute exact advances with the help of
> > face->units_per_EM ?
> >
> > Hope this helps,
>
> It definitely does, Thanks. I wasn't aware of FT_LOAD_LINEAR_DESIGN.
>
> But the documentation is still misleading; if
> FT_LOAD_LINEAR_DESIGN is
> not used, linearHoriAdvance is not accurate to 1/65536th of a pixel.
> What are your thoughts on Werner's and my ideas about changing the
> calculation of x_scale and linearHoriAdvance to fix this?
>
Well, the API reference says that it is "expressed" in 16.16 format,
not that the accuracy is extreme.
Changing the way x_scale is computed is interesting, but I believe
that I already tried this, and found that it did distort native TrueType
hinting in certain cases.
However, many things have changed in the engine since. It may be possible
that things are slightly different now. Could someone test this and perform
some important tests with the TrueType bytecode interpreter ?
Regards,
- David Turner
- The FreeType Project (www.freetype.org)
> David %^>
>
--
This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender.
Any use not in accordance with its purpose, any dissemination or disclosure,
either whole or partial, is prohibited except formal approval.
The E-Mail transmission can not guarantee the integrity of this message.
CANAL+TECHNOLOGIES will not therefore be liable for the message if modified.
- Re: [Devel] Getting accurate advances, (continued)
- Re: [Devel] Getting accurate advances, David Bevan, 2003/11/17
- Re: [Devel] Getting accurate advances, Werner LEMBERG, 2003/11/17
- Re: [Devel] Getting accurate advances, David Bevan, 2003/11/17
- Re: [Devel] Getting accurate advances, Werner LEMBERG, 2003/11/17
- Re: [Devel] Getting accurate advances, David Bevan, 2003/11/17
- Re: [Devel] Getting accurate advances, Werner LEMBERG, 2003/11/18
- Re: [Devel] Getting accurate advances, David Bevan, 2003/11/18
- Re: [Devel] Getting accurate advances, Werner LEMBERG, 2003/11/21
RE: [Devel] Getting accurate advances, Turner David, 2003/11/20
RE: [Devel] Getting accurate advances,
Turner David <=
- Re: [Devel] Getting accurate advances, Werner LEMBERG, 2003/11/21
- Re: [Devel] Getting accurate advances, Rogier van Dalen, 2003/11/22
- Re: [Devel] Getting accurate advances, Werner LEMBERG, 2003/11/23
- Re: [Devel] Getting accurate advances, Rogier van Dalen, 2003/11/24
- Re: [Devel] Getting accurate advances, Werner LEMBERG, 2003/11/24
- Re: [Devel] Getting accurate advances, Rogier van Dalen, 2003/11/24
- Re: [Devel] Getting accurate advances, Werner LEMBERG, 2003/11/25