projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1525707: fontconfig support patch had extra parentheses. Thanks to Daniel Fort.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
lyr_freetype
/
lyr_freetype.cpp
diff --git
a/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp
b/synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp
index
bd98e85
..
73d30a0
100644
(file)
--- a/
synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp
+++ b/
synfig-core/trunk/src/modules/lyr_freetype/lyr_freetype.cpp
@@
-377,7
+377,7
@@
lyr_freetype::new_face(const String &newfont)
FcResult result;
if( !FcInit() )
{
FcResult result;
if( !FcInit() )
{
- synfig::warning("lyr_freetype: fontconfig: %s",_("unable to initialise"))
)
;
+ synfig::warning("lyr_freetype: fontconfig: %s",_("unable to initialise"));
error = 1;
} else {
FcPattern* pat = FcNameParse((FcChar8 *) newfont.c_str());
error = 1;
} else {
FcPattern* pat = FcNameParse((FcChar8 *) newfont.c_str());
@@
-396,7
+396,7
@@
lyr_freetype::new_face(const String &newfont)
error=FT_New_Face(ft_library,(const char*)file,face_index,&face);
FcFontSetDestroy(fs);
} else
error=FT_New_Face(ft_library,(const char*)file,face_index,&face);
FcFontSetDestroy(fs);
} else
- synfig::warning("lyr_freetype: fontconfig: %s",_("empty font set"))
)
;
+ synfig::warning("lyr_freetype: fontconfig: %s",_("empty font set"));
}
}
#endif
}
}
#endif