From b2c925e360e2c366526de15b44603f855f94139c Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 19 Sep 2011 13:23:24 +0200 Subject: xtrans libX11 libXext libXdmcp libXau libXft libXinerama libXmu libfontenc mesa git update 19 sept 2011 --- libXft/src/xftfont.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libXft/src/xftfont.c') diff --git a/libXft/src/xftfont.c b/libXft/src/xftfont.c index 70ab5d8bb..d361498db 100644 --- a/libXft/src/xftfont.c +++ b/libXft/src/xftfont.c @@ -33,7 +33,7 @@ XftFontMatch (Display *dpy, if (!XftInit (NULL)) return NULL; - + new = FcPatternDuplicate (pattern); if (!new) return NULL; @@ -100,7 +100,7 @@ XftFontOpen (Display *dpy, int screen, ...) FcPatternDestroy (pat); if (!match) return NULL; - + font = XftFontOpenPattern (dpy, match); if (!font) { @@ -129,7 +129,7 @@ XftFontOpenName (Display *dpy, int screen, const char *name) else printf ("Invalid name\n"); } - + if (!pat) return NULL; match = XftFontMatch (dpy, screen, pat, &result); @@ -146,7 +146,7 @@ XftFontOpenName (Display *dpy, int screen, const char *name) FcPatternDestroy (pat); if (!match) return NULL; - + font = XftFontOpenPattern (dpy, match); if (!font) { @@ -154,7 +154,7 @@ XftFontOpenName (Display *dpy, int screen, const char *name) printf ("No Font\n"); FcPatternDestroy (match); } - + return font; } @@ -175,7 +175,7 @@ XftFontOpenXlfd (Display *dpy, int screen, const char *xlfd) else FcPatternPrint (pat); } - + if (!pat) return NULL; match = XftFontMatch (dpy, screen, pat, &result); @@ -192,7 +192,7 @@ XftFontOpenXlfd (Display *dpy, int screen, const char *xlfd) FcPatternDestroy (pat); if (!match) return NULL; - + font = XftFontOpenPattern (dpy, match); if (!font) { @@ -200,7 +200,7 @@ XftFontOpenXlfd (Display *dpy, int screen, const char *xlfd) printf ("No Font\n"); FcPatternDestroy (match); } - + return font; } -- cgit v1.2.3