mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 09:21:26 +00:00
Create the NSMutableCharacterSet to store the character ranges in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25448 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1b84559518
commit
c184564aa0
2 changed files with 34 additions and 27 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-09-04 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source\winlib\WIN32FontInfo.m (-coveredCharacterSet): Create the
|
||||
NSMutableCharacterSet to store the character ranges in.
|
||||
|
||||
2007-09-03 Nicolas Roard <nicolas@roard.com>
|
||||
|
||||
* configure:
|
||||
|
|
|
@ -182,6 +182,7 @@ NSLog(@"No glyph for U%d", c);
|
|||
HDC hdc;
|
||||
HFONT old;
|
||||
|
||||
ms = [NSMutableCharacterSet new];
|
||||
hdc = GetDC(NULL);
|
||||
old = SelectObject(hdc, hFont);
|
||||
count = (unsigned)GetFontUnicodeRanges(hdc, 0);
|
||||
|
@ -221,6 +222,7 @@ NSLog(@"No glyph for U%d", c);
|
|||
coveredCharacterSet = [ms copy];
|
||||
RELEASE(ms);
|
||||
}
|
||||
|
||||
return coveredCharacterSet;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue