diff options
Diffstat (limited to 'media-libs/freetype/files/freetype-2.3.7-fix-incorrect-scaling.patch')
-rw-r--r-- | media-libs/freetype/files/freetype-2.3.7-fix-incorrect-scaling.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/media-libs/freetype/files/freetype-2.3.7-fix-incorrect-scaling.patch b/media-libs/freetype/files/freetype-2.3.7-fix-incorrect-scaling.patch deleted file mode 100644 index ef45867..0000000 --- a/media-libs/freetype/files/freetype-2.3.7-fix-incorrect-scaling.patch +++ /dev/null @@ -1,21 +0,0 @@ -2008-08-04 Bram Tassyns <bramt@enfocus.be> - - * src/cff/cffparse.c (cff_parse_fixed_scaled): Fix thinko which - resulted in incorrect scaling. This fixes Savannah bug #23973. - ---- freetype-2.3.7/src/cff/cffparse.c.old 2008/06/10 05:58:25 1.42 -+++ freetype-2.3.7/src/cff/cffparse.c 2008/08/04 15:54:24 1.43 -@@ -406,10 +406,9 @@ - cff_parse_fixed_scaled( FT_Byte** d, - FT_Int scaling ) - { -- return **d == -- 30 ? cff_parse_real( d[0], d[1], scaling, NULL ) -- : (FT_Fixed)FT_MulFix( cff_parse_integer( d[0], d[1] ) << 16, -- power_tens[scaling] ); -+ return **d == 30 ? cff_parse_real( d[0], d[1], scaling, NULL ) -+ : ( cff_parse_integer( d[0], d[1] ) * -+ power_tens[scaling] ) << 16; - } - - |