[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 24e256a: [truetype] Fix metrics of B/W hinting in v40
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 24e256a: [truetype] Fix metrics of B/W hinting in v40 mode. |
Date: |
Fri, 4 Aug 2017 02:32:41 -0400 (EDT) |
branch: master
commit 24e256ab005c68a3894845ef3b7764338f9442a4
Author: Nikolaus Waxweiler <address@hidden>
Commit: Werner Lemberg <address@hidden>
[truetype] Fix metrics of B/W hinting in v40 mode.
Phantom points are now saved outside v40 backwards compatibility
mode. This fixes the jumping glyphs when switching between v35 and
v40 monochrome mode.
* src/truetype/ttgload.c (TT_Hint_Glyph): Fix inversed bool logic.
---
ChangeLog | 10 ++++++++++
src/truetype/ttgload.c | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index eac89db..6243e18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2017-08-03 Nikolaus Waxweiler <address@hidden>
+ [truetype] Fix metrics of B/W hinting in v40 mode.
+
+ Phantom points are now saved outside v40 backwards compatibility
+ mode. This fixes the jumping glyphs when switching between v35 and
+ v40 monochrome mode.
+
+ * src/truetype/ttgload.c (TT_Hint_Glyph): Fix inversed bool logic.
+
+2017-08-03 Nikolaus Waxweiler <address@hidden>
+
[truetype] Do not set any ClearType flags in v40 monochrome mode.
This fixes weird behavior of instructions that resulted in rendering
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 086ebca..bfda761 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -825,7 +825,7 @@
/* compatibility mode, where no movement on the x axis means no reason */
/* to change bearings or advance widths. */
if ( !( driver->interpreter_version == TT_INTERPRETER_VERSION_40 &&
- !loader->exec->backward_compatibility ) )
+ loader->exec->backward_compatibility ) )
{
#endif
loader->pp1 = zone->cur[zone->n_points - 4];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 24e256a: [truetype] Fix metrics of B/W hinting in v40 mode.,
Werner LEMBERG <=