SHA256
1
0
forked from pool/freetype2
freetype2/freetype2-subpixel.patch
OBS User mrdocs e488dfe685 Accepting request 146151 from home:namtrac:branches:M17N
- Update to version 2.4.11
  * Some vulnerabilities in the  BDF implementation have been fixed.
  * Support for OpenType collections (OTC) has been added.
  * Pure CFF fonts within an SFNT wrapper are now supported.
  * Minor rendering improvements to the auto-hinter.
  * `FT_GlyphSlot_Oblique' now uses a shear angle of 12°.
- Modify freetype2-subpixel.patch for new subpixel hinting option.
- Drop fix-build.patch: no longer needed

- Update to version 2.4.11
  * ftdiff now supports UTF-8 encoded input files for option `-f'.
  * Using keys `r' and `R', you can now adjust the stroker radius in
    ftview.

OBS-URL: https://build.opensuse.org/request/show/146151
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=70
2012-12-20 16:06:24 +00:00

23 lines
1.1 KiB
Diff

Index: freetype-2.4.11/include/freetype/config/ftoption.h
===================================================================
--- freetype-2.4.11.orig/include/freetype/config/ftoption.h
+++ freetype-2.4.11/include/freetype/config/ftoption.h
@@ -92,7 +92,7 @@ FT_BEGIN_HEADER
/* This is done to allow FreeType clients to run unmodified, forcing */
/* them to display normal gray-level anti-aliased glyphs. */
/* */
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
/*************************************************************************/
@@ -577,7 +577,7 @@ FT_BEGIN_HEADER
/* This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be */
/* defined. */
/* */
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
/*************************************************************************/