summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-11-21 20:41:35 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-11-21 20:41:35 +0000
commita559b1878845d79f65fad32186a69c78f5b179e3 (patch)
tree5b5515a40b79f9df5addda9c9c436336371e9691 /x11-libs/pango/files
parentSwitched to the new nsplugins layout. (diff)
downloadgentoo-2-a559b1878845d79f65fad32186a69c78f5b179e3.tar.gz
gentoo-2-a559b1878845d79f65fad32186a69c78f5b179e3.tar.bz2
gentoo-2-a559b1878845d79f65fad32186a69c78f5b179e3.zip
enhancement
Diffstat (limited to 'x11-libs/pango/files')
-rw-r--r--x11-libs/pango/files/pango-1.0.99.020606-xfonts.patch98
-rw-r--r--x11-libs/pango/files/pango-1.1.0-slighthint.patch46
2 files changed, 144 insertions, 0 deletions
diff --git a/x11-libs/pango/files/pango-1.0.99.020606-xfonts.patch b/x11-libs/pango/files/pango-1.0.99.020606-xfonts.patch
new file mode 100644
index 000000000000..6db868a22a4d
--- /dev/null
+++ b/x11-libs/pango/files/pango-1.0.99.020606-xfonts.patch
@@ -0,0 +1,98 @@
+--- pango-1.0.99.020606/examples/pangox.aliases.xfonts Mon Jun 24 20:19:34 2002
++++ pango-1.0.99.020606/examples/pangox.aliases Mon Jun 24 20:26:34 2002
+@@ -4,6 +4,7 @@
+
+ sans normal normal normal normal \
+ "-*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-gulim-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+@@ -22,6 +23,7 @@
+
+ sans italic normal normal normal \
+ "-*-helvetica-medium-o-normal--*-*-*-*-*-*-*-*,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-gulim-medium-o-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+@@ -40,6 +42,7 @@
+
+ sans normal normal bold normal \
+ "-*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-gulim-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+@@ -58,6 +61,7 @@
+
+ sans italic normal bold normal \
+ "-*-helvetica-bold-o-normal--*-*-*-*-*-*-*-*,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-gulim-bold-o-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+@@ -78,6 +82,7 @@
+ serif normal normal normal normal \
+ "-*-times-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -*-batang-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,\
+@@ -96,6 +101,7 @@
+ serif italic normal normal normal \
+ "-*-times-medium-i-normal--*-*-*-*-*-*-*-*,\
+ -*-batang-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,\
+@@ -114,6 +120,7 @@
+ serif normal normal bold normal \
+ "-*-times-bold-r-normal--*-*-*-*-*-*-*-*,\
+ -*-batang-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,\
+@@ -132,6 +139,7 @@
+ serif italic normal bold normal \
+ "-*-times-bold-i-normal--*-*-*-*-*-*-*-*,\
+ -*-batang-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,\
+@@ -150,6 +158,7 @@
+ monospace normal normal normal normal \
+ "-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -*-dotum-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,\
+@@ -168,6 +177,7 @@
+ monospace italic normal normal normal \
+ "-*-fixed-medium-i-normal--*-*-*-*-*-*-*-*,\
+ -*-dotum-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,\
+@@ -186,6 +196,7 @@
+ monospace normal normal bold normal \
+ "-*-fixed-bold-r-normal--*-*-*-*-*-*-*-*,\
+ -*-dotum-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,\
+@@ -204,6 +215,7 @@
+ monospace italic normal bold normal \
+ "-*-fixed-bold-i-normal--*-*-*-*-*-*-*-*,\
+ -*-dotum-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
++ -*-gulimbdf-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,\
+ -*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,\
+ -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
+ -kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,\
diff --git a/x11-libs/pango/files/pango-1.1.0-slighthint.patch b/x11-libs/pango/files/pango-1.1.0-slighthint.patch
new file mode 100644
index 000000000000..4cbcb454997c
--- /dev/null
+++ b/x11-libs/pango/files/pango-1.1.0-slighthint.patch
@@ -0,0 +1,46 @@
+--- pango-1.1.0/pango/pangoft2.c.slighthint Thu Aug 8 19:13:38 2002
++++ pango-1.1.0/pango/pangoft2.c Tue Aug 13 00:42:17 2002
+@@ -205,6 +205,8 @@
+ FcPattern *pattern;
+ FcChar8 *filename;
+ FcBool hinting, autohint;
++ FT_ULong hint_flags;
++ int hintstyle;
+ int id;
+
+ pattern = ft2font->font_pattern;
+@@ -220,8 +222,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,9 @@
+ bail0:
+ load_fallback_face (ft2font, filename);
+ }
++
++ FT_Set_Hint_Flags (ft2font->face, hint_flags);
++
+ ft2font->face->generic.data = 0;
+ }
+