projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ef7b93
)
Evas: Fixed compilation with old fontconfig.
author
Tom Hacohen
<tom@stosb.com>
Wed, 12 Sep 2012 11:55:45 +0000
(11:55 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Wed, 12 Sep 2012 11:55:45 +0000
(11:55 +0000)
This fixes ticket #1500 by Sleep_Walker.
SVN revision: 76520
legacy/evas/src/lib/canvas/evas_font_dir.c
patch
|
blob
|
history
diff --git
a/legacy/evas/src/lib/canvas/evas_font_dir.c
b/legacy/evas/src/lib/canvas/evas_font_dir.c
index
4f53e5f
..
94ffd4a
100644
(file)
--- a/
legacy/evas/src/lib/canvas/evas_font_dir.c
+++ b/
legacy/evas/src/lib/canvas/evas_font_dir.c
@@
-268,6
+268,10
@@
static int _fc_slant_map[] =
FC_SLANT_ITALIC
};
+/* Apparently EXTRABLACK is not always available, hardcode. */
+# ifndef FC_WEIGHT_EXTRABLACK
+# define FC_WEIGHT_EXTRABLACK 215
+# endif
static int _fc_weight_map[] =
{
FC_WEIGHT_NORMAL,