mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 07:21:02 +00:00
* Source/cairo/CairoFaceInfo.m (-fontFace): Warn about the usage
of non-scalable fonts. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37490 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3f72f49afb
commit
abcce60893
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-12-23 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoFaceInfo.m (-fontFace): Warn about the usage
|
||||
of non-scalable fonts.
|
||||
|
||||
2013-12-18 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/x11/XGServerWindow.m (-_createBuffer, -windowbacking::,
|
||||
|
|
|
@ -47,8 +47,13 @@
|
|||
if (!_fontFace)
|
||||
{
|
||||
FcPattern *resolved;
|
||||
FcBool scalable;
|
||||
|
||||
resolved = [self matchedPattern];
|
||||
FcPatternGetBool(resolved, FC_SCALABLE, 0, &scalable);
|
||||
if (scalable != FcTrue) {
|
||||
NSLog(@"Selected non-scalable font.");
|
||||
}
|
||||
|
||||
_fontFace = cairo_ft_font_face_create_for_pattern(resolved);
|
||||
FcPatternDestroy(resolved);
|
||||
|
|
Loading…
Reference in a new issue