[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Large delta_y for hinted vs unhinted "COMBINING CARON BELOW" gl
From: |
Nigel Tao |
Subject: |
Re: [ft] Large delta_y for hinted vs unhinted "COMBINING CARON BELOW" glyph |
Date: |
Mon, 2 Dec 2013 15:56:05 +1100 |
On Wed, Nov 27, 2013 at 9:31 PM, Nigel Tao <address@hidden> wrote:
> However, there seems to be a regression since 2.5.0 with
> DejaVuSans-Oblique.ttf glyph 269 "eng". The hinted and unhinted glyphs
> show a large horizontal difference.
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=7e4b0fbfdd1e15780ff1899bb442f70ffc83791b
has this edit:
- (loader)->pp3.x = 0; \
- (loader)->pp3.y = (loader)->top_bearing + (loader)->bbox.yMax; \
- (loader)->pp4.x = 0; \
+ (loader)->pp3.x = (loader)->advance / 2; \
+ (loader)->pp3.y = (loader)->bbox.yMax + (loader)->top_bearing; \
+ (loader)->pp4.x = (loader)->advance / 2; \
If I revert the .x changes, and only keep the .y change (which isn't
really a semantic change, since a+b equals b+a), then there is no
regression for DejaVuSans-Oblique.ttf glyph 269, and no other glyph in
that font seems affected. However, I presume that those .x changes
were made for a reason.
Should I file a bug?
- Re: [ft] Large delta_y for hinted vs unhinted "COMBINING CARON BELOW" glyph,
Nigel Tao <=