projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2eb1b3
)
Fix previous change.
author
handa
<handa>
Wed, 13 Oct 2004 06:29:56 +0000
(06:29 +0000)
committer
handa
<handa>
Wed, 13 Oct 2004 06:29:56 +0000
(06:29 +0000)
src/font-ft.c
patch
|
blob
|
history
diff --git
a/src/font-ft.c
b/src/font-ft.c
index
7c9b06d
..
828b8bd
100644
(file)
--- a/
src/font-ft.c
+++ b/
src/font-ft.c
@@
-300,7
+300,9
@@
static void
add_font_info (char *filename, MSymbol family, void *langset, MPlist *plist)
{
FT_Face ft_face;
+#ifdef HAVE_FTBDF_H
BDF_PropertyRec prop;
+#endif
if (FT_New_Face (ft_library, filename, 0, &ft_face) == 0)
{
@@
-706,7
+708,9
@@
ft_find_metric (MRealizedFont *rfont, MGlyphString *gstring,
}
else
{
+#ifdef HAVE_FTBDF_H
BDF_PropertyRec prop;
+#endif
g->lbearing = 0;
g->rbearing = g->width = ft_face->available_sizes->width;