freetype2/enable-infinality-subpixel-hinting.patch
Dirk Mueller a9c7da1e3f Accepting request 974364 from home:polslinux:branches:M17N
- Update to 2.12.1:
  - Loading CFF fonts sometimes made FreeType crash (bug introduced in
    version 2.12.0)
  - Loading  a fully  hinted  TrueType glyph  a  second time  (without
    caching) sometimes yielded different rendering results if TrueType
    hinting was active (bug introduced in version 2.12.0).
  - The generation of the pkg-config file `freetype2.pc` was broken if
    the build was done with cmake (bug introduced in version 2.12.0).
- Drop freetype-2.12.0-cff_slot_load-segfault.patch
- Drop 079a22da037835daf5be2bd9eccf7bc1eaa2e783.patch

- Update to version 2.12.1:
  * Fix clang++ warnings.
  * [ftsdf] Fix segmentation fault.
  * Replace header macros with file names.
  * [ftview] Handle foreground COLR.
  * (Print_Array): New function.
  * (Print_FontInfo_Dictionary, Print_FontPrivate_Dictionary): New functions.
  * [ftgrid] Minor tweaks.
  * [ftgrid] Implement embedded bitmap toggle.
  * Prototype SVG support.

OBS-URL: https://build.opensuse.org/request/show/974364
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=176
2022-05-02 19:36:32 +00:00

16 lines
723 B
Diff

Index: freetype-2.12.1/include/freetype/config/ftoption.h
===================================================================
--- freetype-2.12.1.orig/include/freetype/config/ftoption.h
+++ freetype-2.12.1/include/freetype/config/ftoption.h
@@ -706,8 +706,8 @@ FT_BEGIN_HEADER
* https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
*/
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */
+/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )
/**************************************************************************