mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-16 23:50:56 +00:00
also keep ligatures off when reverting
This commit is contained in:
parent
b3fa5f1949
commit
b701d1a40b
1 changed files with 5 additions and 1 deletions
|
@ -766,7 +766,11 @@
|
|||
|
||||
// This is temporary
|
||||
ft = [NSFont userFixedPitchFontOfSize:0.0];
|
||||
at = [NSDictionary dictionaryWithObject:ft forKey:NSFontAttributeName];
|
||||
at = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
ft, NSFontAttributeName,
|
||||
[NSNumber numberWithInt: 0], NSLigatureAttributeName,
|
||||
nil];
|
||||
|
||||
as = [[NSAttributedString alloc] initWithString:text attributes:at];
|
||||
|
||||
[self setIsEdited:NO];
|
||||
|
|
Loading…
Reference in a new issue