freetype2/enable-subpixel-rendering.patch
Ismail Dönmez 025178e121 - Update to version 2.10.4
* Contains the fix for CVE-2020-15999
  * Minor improvements to the B/W rasterizer.
  * Auto-hinter support for Medefaidrin script.
  * Fix various  memory leaks (mainly  for CFF) and other  issues that
    might cause crashes in rare circumstances.

- Update to version 2.10.4
  * In  `ftview', custom  LCD  filter values  are  now normalized  and
    balanced.  Unorthodox filters are still available through the `-L'
    command line option.
  * The GUI demo programs can now be resized.
  * Demo programs that accept command  line option `-k' can now handle
    function keys, too.  The  corresponding character codes start with
    0xF1.  As  an example, the  POSIX shell syntax (accepted  by bash,
    ksh, and zsh) -k $'\xF3q' emulates the pressing of function key `F3'
    followed by key `q'.

OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=164
2020-10-20 09:53:16 +00:00

14 lines
592 B
Diff

Index: freetype-2.10.4/include/freetype/config/ftoption.h
===================================================================
--- freetype-2.10.4.orig/include/freetype/config/ftoption.h
+++ freetype-2.10.4/include/freetype/config/ftoption.h
@@ -124,7 +124,7 @@ FT_BEGIN_HEADER
* When this macro is not defined, FreeType offers alternative LCD
* rendering technology that produces excellent output.
*/
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
/**************************************************************************