[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: |
Werner LEMBERG |
Subject: |
Re: [ft] Large delta_y for hinted vs unhinted "COMBINING CARON BELOW" glyph |
Date: |
Tue, 05 Nov 2013 13:40:19 +0100 (CET) |
> And it is now fixed in the git. Thanks for the report.
Hmm, Savannah's git server isn't responding currently. Patch attached
Werner
>From c6064286939f0688df8898d648d8743000bc66bf Mon Sep 17 00:00:00 2001
From: Werner Lemberg <address@hidden>
Date: Tue, 5 Nov 2013 13:29:15 +0100
Subject: [PATCH] [truetype] Correctly reset point tags for glyph components.
Problem reported by Nigel Tao <address@hidden>.
* src/truetype/ttgload.c (TT_Process_Composite_Glyph): Fix loop.
---
ChangeLog | 7 +++++++
src/truetype/ttgload.c | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 927397c..00cf9b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-11-05 Werner Lemberg <address@hidden>
+
+ [truetype] Correctly reset point tags for glyph components.
+ Problem reported by Nigel Tao <address@hidden>.
+
+ * src/truetype/ttgload.c (TT_Process_Composite_Glyph): Fix loop.
+
2013-11-02 Werner Lemberg <address@hidden>
[truetype] Fix GETINFO opcode handling of subpixel hinting bits.
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 5b2eae1..0fc3492 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1254,7 +1254,7 @@
/* Some points are likely touched during execution of */
/* instructions on components. So let's untouch them. */
- for ( i = start_point; i < loader->zone.n_points; i++ )
+ for ( i = 0; i < loader->zone.n_points; i++ )
loader->zone.tags[i] &= ~FT_CURVE_TAG_TOUCH_BOTH;
loader->zone.n_points += 4;
--
1.8.1.4