[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master c9edca8: [truetype] Make `TT_Set_MM_Blend' idempotent
From: |
Werner LEMBERG |
Subject: |
[freetype2] master c9edca8: [truetype] Make `TT_Set_MM_Blend' idempotent (#54388). |
Date: |
Fri, 27 Jul 2018 04:44:25 -0400 (EDT) |
branch: master
commit c9edca8ee986f283e3396c88fb50f9d2b2187b99
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
[truetype] Make `TT_Set_MM_Blend' idempotent (#54388).
* src/truetype/ttgxvar.c (tt_set_mm_blend): Correctly set
`face->doblend' if the current call to the function yields the same
blend coordinates as the previous call.
---
ChangeLog | 8 ++++++++
src/truetype/ttgxvar.c | 4 ++++
2 files changed, 12 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 5e8fe81..382683f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2018-07-27 Werner Lemberg <address@hidden>
+ [truetype] Make `TT_Set_MM_Blend' idempotent (#54388).
+
+ * src/truetype/ttgxvar.c (tt_set_mm_blend): Correctly set
+ `face->doblend' if the current call to the function yields the same
+ blend coordinates as the previous call.
+
+2018-07-27 Werner Lemberg <address@hidden>
+
[psaux, type1]: More tracing improvements.
* src/psaux/psintrp.c (cf2_interpT2CharString): Trace skipped
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index d143fce..3df50d6 100644
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -2555,7 +2555,11 @@
/* return value -1 indicates `no change' */
if ( !have_diff )
+ {
+ face->doblend = TRUE;
+
return -1;
+ }
for ( ; i < mmvar->num_axis; i++ )
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master c9edca8: [truetype] Make `TT_Set_MM_Blend' idempotent (#54388).,
Werner LEMBERG <=