mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 07:21:02 +00:00
* Source/winlib/WIN32FontEnumerator.m,
* Source/cairo/CairoFontEnumerator.m, * Source/xlib/GSXftFontInfo.m, * Source/xlib/XGFont.m: Use NSDebugLLog instead of NSDebugLog to reduce amount of default output. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34493 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
14e029b4ac
commit
7aedf8a440
5 changed files with 18 additions and 10 deletions
|
@ -1,3 +1,11 @@
|
|||
2012-01-11 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/winlib/WIN32FontEnumerator.m,
|
||||
* Source/cairo/CairoFontEnumerator.m,
|
||||
* Source/xlib/GSXftFontInfo.m,
|
||||
* Source/xlib/XGFont.m: Use NSDebugLLog instead of NSDebugLog to
|
||||
reduce amount of default output.
|
||||
|
||||
2012-01-02 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/cairo/CairoGState.m (-GSShowGlyphsWithAdvances:):
|
||||
|
|
|
@ -64,7 +64,7 @@ NSMutableDictionary * __allFonts;
|
|||
face = [__allFonts objectForKey: name];
|
||||
if (!face)
|
||||
{
|
||||
NSDebugLog(@"Font not found %@", name);
|
||||
NSDebugLLog(@"NSFont", @"Font not found %@", name);
|
||||
}
|
||||
return face;
|
||||
}
|
||||
|
@ -184,13 +184,13 @@ static NSArray *faFromFc(FcPattern *pat)
|
|||
familyArray = [fcxft_allFontFamilies objectForKey: familyString];
|
||||
if (familyArray == nil)
|
||||
{
|
||||
NSDebugLog(@"Found font family %@", familyString);
|
||||
NSDebugLLog(@"NSFont", @"Found font family %@", familyString);
|
||||
familyArray = [[NSMutableArray alloc] init];
|
||||
[fcxft_allFontFamilies setObject: familyArray
|
||||
forKey: familyString];
|
||||
RELEASE(familyArray);
|
||||
}
|
||||
NSDebugLog(@"fc enumerator: adding font: %@", name);
|
||||
NSDebugLLog(@"NSFont", @"fc enumerator: adding font: %@", name);
|
||||
[familyArray addObject: fontArray];
|
||||
[fcxft_allFontNames addObject: name];
|
||||
aFont = [[CairoFaceInfo alloc] initWithfamilyName: familyString
|
||||
|
|
|
@ -141,7 +141,7 @@ int CALLBACK fontenum(ENUMLOGFONTEXW *lpelfe, NEWTEXTMETRICEXW *lpntme,
|
|||
|
||||
fontName = [NSString stringWithCharacters: lpelfe->elfFullName
|
||||
length: wcslen(lpelfe->elfFullName)];
|
||||
NSLog(@"Found font %@", fontName);
|
||||
NSDebugLLog(@"NSFont", @"Found font %@", fontName);
|
||||
add_font((NSMutableArray *)lParam, fontName, lpelfe, lpntme);
|
||||
return 1;
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ void enumerate_font(NSMutableArray *fontDefs, NSString *fontFamily)
|
|||
int res;
|
||||
CREATE_AUTORELEASE_POOL(pool);
|
||||
|
||||
NSLog(@"Enumerate font family %@", fontFamily);
|
||||
NSDebugLLog(@"NSFont", @"Enumerate font family %@", fontFamily);
|
||||
hdc = GetDC(NULL);
|
||||
logfont.lfCharSet = DEFAULT_CHARSET;
|
||||
wcsncpy(logfont.lfFaceName,
|
||||
|
|
|
@ -208,7 +208,7 @@ static NSArray *faFromFc(FcPattern *pat)
|
|||
[fcxft_allFontFamilies setObject: familyArray forKey: familyString];
|
||||
RELEASE(familyArray);
|
||||
}
|
||||
NSDebugLog(@"fc enumerator: adding font: %@", name);
|
||||
NSDebugLLog(@"NSFont", @"fc enumerator: adding font: %@", name);
|
||||
[familyArray addObject: fontArray];
|
||||
[fcxft_allFontNames addObject: name];
|
||||
aFont = [[FcFont alloc] initWithPattern: fs->fonts[i]];
|
||||
|
@ -819,11 +819,11 @@ static FT_Outline_Funcs bezierpath_funcs = {
|
|||
// Derek Zhou claims that this takes over the ownership of the pattern
|
||||
if ((font_info = XftFontOpenPattern(xdpy, pattern)))
|
||||
{
|
||||
NSDebugLog(@"Loaded font: %@", fontName);
|
||||
NSDebugLLog(@"NSFont", @"Loaded font: %@", fontName);
|
||||
}
|
||||
else
|
||||
{
|
||||
NSDebugLog(@"Cannot load font: %@", fontName);
|
||||
NSDebugLLog(@"NSFont", @"Cannot load font: %@", fontName);
|
||||
return NO;
|
||||
}
|
||||
|
||||
|
|
|
@ -295,7 +295,7 @@ static BOOL XGInitAtoms(Display *dpy)
|
|||
return NO;
|
||||
}
|
||||
else
|
||||
NSDebugLog(@"Loaded font: %@", xfontname);
|
||||
NSDebugLLog(@"NSFont", @"Loaded font: %@", xfontname);
|
||||
|
||||
// Fill the ivars
|
||||
ASSIGN(familyName, XGFontFamily(xdpy, font_info));
|
||||
|
@ -330,7 +330,7 @@ static BOOL XGInitAtoms(Display *dpy)
|
|||
}
|
||||
mostCompatibleStringEncoding
|
||||
= [GSMimeDocument encodingFromCharset: encodingScheme];
|
||||
NSDebugLog(@"Found encoding %d for %@",
|
||||
NSDebugLLog(@"NSFont", @"Found encoding %d for %@",
|
||||
mostCompatibleStringEncoding, encodingScheme);
|
||||
if (mostCompatibleStringEncoding == GSUndefinedEncoding)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue