Re: OpenType Patches
- From: Keith Packard <keithp keithp com>
- To: Owen Taylor <otaylor redhat com>
- Cc: Eric Mader <mader jtcsv com>, gtk-i18n-list gnome org, keithp keithp com
- Subject: Re: OpenType Patches
- Date: Fri, 06 Sep 2002 09:20:19 -0700
Around 10 o'clock on Sep 6, Owen Taylor wrote:
> Looks like the right diagnosis to me ... the fix needs to be in
> Xft. Untested patch attached.
+ if (!_XftSetFace (fi->file, fi->xsize, fi->ysize, &fi->matrix)) {
+ _XftUnlockFile (fi->file);
+ return 0;
Seems like a reasonable change; it's "harmless" to existing apps as
_XftSetFace is idempotent.
I'll stick it in.
> a) Replace the _XftLockFile/_XftSetFace pair in XftFontOpenInfo
> with a single XftLockFace() call.
Can't do that one -- XftFontOpenInfo doesn't have the font, only the info.
> b) Remove the _XftSetFace() call from xftglyphs.c
And check to make sure XftLockFace succeeded. Doh.
Keith Packard XFree86 Core Team HP Cambridge Research Lab
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]