mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
Change default rendering hints.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14461 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
19aa16c74d
commit
8340a66c75
2 changed files with 8 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-09-16 16:43 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/art/ftfont.m (add_face): Change default rendering hints.
|
||||
|
||||
2002-09-16 16:36 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/art/ARTGState.h, Source/art/ARTContext.m,
|
||||
|
|
|
@ -288,12 +288,9 @@ static void add_face(NSString *family, NSString *face, NSDictionary *d,
|
|||
fi->traits = traits;
|
||||
|
||||
if ([d objectForKey: @"RenderHints_hack"])
|
||||
{
|
||||
fi->render_hints_hack=strtol([[d objectForKey: @"RenderHints_hack"] cString],NULL,0);
|
||||
printf("explicit '%@' -> %i\n",[d objectForKey: @"RenderHints_hack"],fi->render_hints_hack);
|
||||
}
|
||||
else
|
||||
fi->render_hints_hack=0x10002;
|
||||
fi->render_hints_hack=0x10202;
|
||||
|
||||
fi->familyName = [family copy];
|
||||
|
||||
|
@ -615,10 +612,11 @@ extern void GSToUnicode();
|
|||
y -= y0;
|
||||
|
||||
|
||||
/* NSLog(@"[%@ draw using matrix: (%g %g %g %g %g %g)]\n",
|
||||
/* NSLog(@"[%@ draw using matrix: (%g %g %g %g %g %g)] transform=%@\n",
|
||||
self,
|
||||
matrix[0], matrix[1], matrix[2],
|
||||
matrix[3], matrix[4], matrix[5]
|
||||
matrix[3], matrix[4], matrix[5],
|
||||
transform
|
||||
);*/
|
||||
|
||||
cur = imgd;
|
||||
|
|
Loading…
Reference in a new issue