]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/xfont/files/scalable.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / xfont / files / scalable.patch
1 Index: fontfile/fontdir.c
2 ===================================================================
3 RCS file: /cvs/xlibs/Xfont/fontfile/fontdir.c,v
4 retrieving revision 3.22
5 diff -u -r3.22 fontdir.c
6 --- xfont/fontfile/fontdir.c    7 Jul 2003 16:40:11 -0000       3.22
7 +++ xfont/fontfile/fontdir.c    30 Dec 2004 20:37:12 -0000
8 @@ -699,6 +699,11 @@
9       */
10      if (isscale)
11      {
12 +      /* If the fontname says it is scalable, make sure that the
13 +       * renderer supports OpenScalable and GetInfoScalable.
14 +       */
15 +      if (renderer->OpenScalable && renderer->GetInfoScalable)
16 +      {
17         if (vals.values_supplied & SIZE_SPECIFY_MASK)
18         {
19             bzero((char *)&zeroVals, sizeof(zeroVals));
20 @@ -798,6 +803,7 @@
21                                             bitmap->name.name);
22              }
23         }
24 +      }
25      }
26      return TRUE;
27  }