mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:37:39 +00:00
Ignore characters below 31 in font substitution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25404 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
92c7d50fe6
commit
5ac3cf358b
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-08-21 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSAttributedString.m (-fixFontAttributeInRange:): Ignore
|
||||
characters below 31.
|
||||
Patch by Yen-Ju Chen <yjchenx@gmail.com>
|
||||
|
||||
2007-08-20 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSWindow.m (-sendEvent:): For the left mouse down case
|
||||
|
|
|
@ -1123,7 +1123,8 @@ static NSMutableDictionary *cachedCSets = nil;
|
|||
charset = [font coveredCharacterSet];
|
||||
}
|
||||
|
||||
if (charset != nil && ![charset characterIsMember: uchar])
|
||||
if (charset != nil && ![charset characterIsMember: uchar]
|
||||
&& (uchar > 31))
|
||||
{
|
||||
// Find a replacement font
|
||||
NSFont *subFont;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue