summaryrefslogtreecommitdiff
path: root/packages/xlibs/libxfont/scalable.patch
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2006-03-01 17:59:53 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-01 17:59:53 +0000
commit34db4ff998f2ca4831b0213f7d9eba9a81af2a90 (patch)
tree77e5cbbff4c8d0cbd52c6fe1a6915ae17875b1bb /packages/xlibs/libxfont/scalable.patch
parentce789dd71ea9a3654986177a5ccdd9fec544a630 (diff)
xlibs: move X libraries to a common folder and unify naming to tarball names
Diffstat (limited to 'packages/xlibs/libxfont/scalable.patch')
-rw-r--r--packages/xlibs/libxfont/scalable.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/xlibs/libxfont/scalable.patch b/packages/xlibs/libxfont/scalable.patch
new file mode 100644
index 0000000000..7f97b9a8f6
--- /dev/null
+++ b/packages/xlibs/libxfont/scalable.patch
@@ -0,0 +1,27 @@
+Index: fontfile/fontdir.c
+===================================================================
+RCS file: /cvs/xlibs/Xfont/fontfile/fontdir.c,v
+retrieving revision 3.22
+diff -u -r3.22 fontdir.c
+--- xfont/fontfile/fontdir.c 7 Jul 2003 16:40:11 -0000 3.22
++++ xfont/fontfile/fontdir.c 30 Dec 2004 20:37:12 -0000
+@@ -699,6 +699,11 @@
+ */
+ if (isscale)
+ {
++ /* If the fontname says it is scalable, make sure that the
++ * renderer supports OpenScalable and GetInfoScalable.
++ */
++ if (renderer->OpenScalable && renderer->GetInfoScalable)
++ {
+ if (vals.values_supplied & SIZE_SPECIFY_MASK)
+ {
+ bzero((char *)&zeroVals, sizeof(zeroVals));
+@@ -798,6 +803,7 @@
+ bitmap->name.name);
+ }
+ }
++ }
+ }
+ return TRUE;
+ }