freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master fd03cf8: [base] Fix `FREETYPE_PROPERTIES=type1:hintin


From: Werner LEMBERG
Subject: [freetype2] master fd03cf8: [base] Fix `FREETYPE_PROPERTIES=type1:hinting-engine=adobe`.
Date: Sun, 19 Jan 2020 11:02:07 -0500 (EST)

branch: master
commit fd03cf88167ac15a38c73cc5c51d55dfba0b5c82
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    [base] Fix `FREETYPE_PROPERTIES=type1:hinting-engine=adobe`.
    
    * src/base/ftpsprop.c (ps_property_set) [hinting-engine]: Avoid an
    incorrect return value that caused a warning.  The function did the
    right thing, though.
---
 ChangeLog           | 8 ++++++++
 src/base/ftpsprop.c | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3b525ca..b9d8582 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2020-01-04  Werner Lemberg  <address@hidden>
+
+       [base] Fix `FREETYPE_PROPERTIES=type1:hinting-engine=adobe`.
+
+       * src/base/ftpsprop.c (ps_property_set) [hinting-engine]: Avoid an
+       incorrect return value that caused a warning.  The function did the
+       right thing, though.
+
 2020-01-03  Werner Lemberg  <address@hidden>
 
        [woff2] Fix memory leaks and a runtime warning.
diff --git a/src/base/ftpsprop.c b/src/base/ftpsprop.c
index 52b9d45..3a31a18 100644
--- a/src/base/ftpsprop.c
+++ b/src/base/ftpsprop.c
@@ -165,9 +165,9 @@
           driver->hinting_engine = *hinting_engine;
         else
           error = FT_ERR( Unimplemented_Feature );
-
-        return error;
       }
+
+      return error;
     }
 
     else if ( !ft_strcmp( property_name, "no-stem-darkening" ) )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]