mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
* Source/cairo/CairoFontEnumerator.m: Define FC_WEIGHT_ULTRABLACK
for old versions of fontconfig. Patch by Richard Frith-Macdonald <rfm@gnu.org> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34035 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
57b452fa2f
commit
35ced6b05d
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-10-20 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoFontEnumerator.m: Define FC_WEIGHT_ULTRABLACK
|
||||
for old versions of fontconfig.
|
||||
Patch by Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
2011-10-20 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/x11/XWindowBuffer.h: Bracket even more usage of shm in
|
||||
|
|
|
@ -47,6 +47,12 @@
|
|||
#include "cairo/CairoFontEnumerator.h"
|
||||
#include "cairo/CairoFontInfo.h"
|
||||
|
||||
// Old versions of fontconfig don't have FC_WEIGHT_ULTRABLACK defined.
|
||||
// Use the maximal value instead.
|
||||
#ifndef FC_WEIGHT_ULTRABLACK
|
||||
#define FC_WEIGHT_ULTRABLACK FC_WEIGHT_BLACK
|
||||
#endif
|
||||
|
||||
@implementation CairoFontEnumerator
|
||||
|
||||
NSMutableDictionary * __allFonts;
|
||||
|
|
Loading…
Reference in a new issue