mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 18:50:38 +00:00
Fix up clipping
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4246 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
115b3cdbf6
commit
6e14f79d10
7 changed files with 27 additions and 26 deletions
|
@ -170,9 +170,12 @@ void setNSFont(NSString* key, NSFont* font)
|
|||
+ (NSFont*)fontWithName:(NSString*)name
|
||||
size:(float)fontSize
|
||||
{
|
||||
NSFont *font;
|
||||
float fontMatrix[6] = { fontSize, 0, 0, fontSize, 0, 0 };
|
||||
|
||||
return [self fontWithName:name matrix:fontMatrix];
|
||||
font = [self fontWithName: name matrix: fontMatrix];
|
||||
font->matrixExplicitlySet = NO;
|
||||
return font;
|
||||
}
|
||||
|
||||
+ (void)useFont:(NSString*)name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue