mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 00:40:55 +00:00
* Source/xlib/GSXftFontInfo.m (Ones): Correct the parameter
* name. * Source/winlib/WIN32FontInfo.m (-glyphIsEncoded:): Add * parameter to windows call to supress defaults glyphs for missing ones. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26444 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
41baca7286
commit
76a82bc4d2
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-04-11 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/xlib/GSXftFontInfo.m (Ones): Correct the parameter name.
|
||||
* Source/winlib/WIN32FontInfo.m (-glyphIsEncoded:): Add parameter
|
||||
to windows call to supress defaults glyphs for missing ones.
|
||||
|
||||
2008-04-08 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/gsc/GSGState.m (-_paintPath:, -_doComplexPath:...):
|
||||
|
|
|
@ -167,7 +167,8 @@ NSLog(@"No glyph for U%d", c);
|
|||
hdc = CreateCompatibleDC(NULL);
|
||||
old = SelectObject(hdc, hFont);
|
||||
// Convert from GNUstep glyph (unichar) to windows glyph.
|
||||
if ((GetGlyphIndicesW(hdc, &c, 1, &windowsGlyph, 0) == GDI_ERROR)
|
||||
if ((GetGlyphIndicesW(hdc, &c, 1, &windowsGlyph,
|
||||
GGI_MARK_NONEXISTING_GLYPHS) == GDI_ERROR)
|
||||
|| (windowsGlyph == 0xFFFF))
|
||||
{
|
||||
result = NO;
|
||||
|
|
|
@ -301,7 +301,7 @@ static NSArray *faFromFc(FcPattern *pat)
|
|||
#else
|
||||
/* Otherwise fall back on HACKMEM 169. */
|
||||
static int
|
||||
Ones(unsigned int mask)
|
||||
Ones(unsigned int n)
|
||||
{
|
||||
register unsigned int tmp;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue