[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.
This commit is contained in:
Werner Lemberg 2020-01-04 19:28:36 +01:00
parent 50b013871c
commit fd03cf8816
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2020-01-04 Werner Lemberg <wl@gnu.org>
[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 <wl@gnu.org>
[woff2] Fix memory leaks and a runtime warning.

View File

@ -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" ) )