mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 00:40:55 +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
8d50a6cef9
commit
b5d10eade8
2 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue