]> git.pld-linux.org Git - packages/pango.git/commitdiff
- out of date
authorwrobell <wrobell@pld-linux.org>
Wed, 18 Dec 2002 12:54:00 +0000 (12:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pango-slighthint.patch -> 1.3

pango-slighthint.patch [deleted file]

diff --git a/pango-slighthint.patch b/pango-slighthint.patch
deleted file mode 100644 (file)
index 8b16dc5..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -urN pango-1.1.5.orig/pango/pangoft2.c pango-1.1.5/pango/pangoft2.c
---- pango-1.1.5.orig/pango/pangoft2.c  Wed Dec 11 01:31:31 2002
-+++ pango-1.1.5/pango/pangoft2.c       Wed Dec 11 01:38:29 2002
-@@ -204,6 +204,8 @@
-   FcPattern *pattern;
-   FcChar8 *filename;
-   FcBool hinting, autohint;
-+  FT_ULong hint_flags;
-+  int hintstyle;
-   int id;
-   pattern = ft2font->font_pattern;
-@@ -219,8 +221,22 @@
-       if (FcPatternGetBool (pattern, FC_HINTING, 0, &hinting) != FcResultMatch)
-       hinting = FcTrue;
--      if (!hinting)
--        ft2font->load_flags |= FT_LOAD_NO_HINTING;
-+      if (FcPatternGetInteger (pattern, FC_HINT_STYLE, 0, &hintstyle) != FcResultMatch)
-+      hintstyle = FC_HINT_FULL;
-+
-+      if (!hinting || hintstyle == FC_HINT_NONE)
-+          ft2font->load_flags |= FT_LOAD_NO_HINTING;
-+      
-+      switch (hintstyle) {
-+      case FC_HINT_SLIGHT:
-+      hint_flags = FT_HINT_NO_INTEGER_STEM | FT_HINT_NO_VSTEM_ALIGN;
-+      break;
-+      case FC_HINT_MEDIUM:
-+      hint_flags = FT_HINT_NO_INTEGER_STEM;
-+      break;
-+      default:
-+      hint_flags = 0;
-+      }
-       /* force autohinting if requested */
-       if (FcPatternGetBool (pattern, FC_AUTOHINT, 0, &autohint) != FcResultMatch)
-@@ -243,6 +259,8 @@
-         load_fallback_face (ft2font, filename);
-       }
-+      FT_Set_Hint_Flags (ft2font->face, hint_flags);
-+      
-       g_assert (ft2font->face);
-       
-       if (!set_unicode_charmap (ft2font->face))
This page took 0.059995 seconds and 4 git commands to generate.