diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-15 21:40:23 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-15 21:40:23 (GMT) |
commit | 35c1974ef6a86f3b30c265aeafe3dfc6e81a0d73 (patch) | |
tree | cf732885dd8699502a97ea5d4542cbf1247709d7 /abs/core/freetype2/0001-psaux-Correctly-handle-Flex-features-52846.patch | |
parent | fbab82f38f0aadb2bc01925f4de18e7daa27fdaf (diff) | |
download | linhes_pkgbuild-35c1974ef6a86f3b30c265aeafe3dfc6e81a0d73.zip linhes_pkgbuild-35c1974ef6a86f3b30c265aeafe3dfc6e81a0d73.tar.gz linhes_pkgbuild-35c1974ef6a86f3b30c265aeafe3dfc6e81a0d73.tar.bz2 |
freetype2: update to 2.9
Diffstat (limited to 'abs/core/freetype2/0001-psaux-Correctly-handle-Flex-features-52846.patch')
-rw-r--r-- | abs/core/freetype2/0001-psaux-Correctly-handle-Flex-features-52846.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/abs/core/freetype2/0001-psaux-Correctly-handle-Flex-features-52846.patch b/abs/core/freetype2/0001-psaux-Correctly-handle-Flex-features-52846.patch new file mode 100644 index 0000000..44630fb --- /dev/null +++ b/abs/core/freetype2/0001-psaux-Correctly-handle-Flex-features-52846.patch @@ -0,0 +1,38 @@ +From cc2f3cdecff5a351e7e8961b9f2e389ab740231a Mon Sep 17 00:00:00 2001 +From: Ewald Hew <ewaldhew@gmail.com> +Date: Wed, 10 Jan 2018 13:24:56 +0800 +Subject: [PATCH] [psaux] Correctly handle Flex features (#52846). + +* src/psaux/psintrp.c (cf2_interpT2CharString) <cf2_cmdVMOVETO, +cf2_cmdHMOVETO>: Do not move if doing Flex. +--- + src/psaux/psintrp.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/psaux/psintrp.c b/src/psaux/psintrp.c +index 5c0ee78..da5a8da 100644 +--- a/src/psaux/psintrp.c ++++ b/src/psaux/psintrp.c +@@ -852,7 +852,8 @@ + + curY = ADD_INT32( curY, cf2_stack_popFixed( opStack ) ); + +- cf2_glyphpath_moveTo( &glyphPath, curX, curY ); ++ if ( !decoder->flex_state ) ++ cf2_glyphpath_moveTo( &glyphPath, curX, curY ); + + break; + +@@ -2674,7 +2675,8 @@ + + curX = ADD_INT32( curX, cf2_stack_popFixed( opStack ) ); + +- cf2_glyphpath_moveTo( &glyphPath, curX, curY ); ++ if ( !decoder->flex_state ) ++ cf2_glyphpath_moveTo( &glyphPath, curX, curY ); + + break; + +-- +2.16.1 + |