mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
* Source/art/ftfont.m (appendBezierPathWithGlyphs:count:toPath:):
Uncomment code and switch to using FTC_Manager_LookupSize. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24163 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
14f94508f0
commit
c4be026e77
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-11-25 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* Source/art/ftfont.m (appendBezierPathWithGlyphs:count:toPath:):
|
||||
Uncomment code and switch to using FTC_Manager_LookupSize.
|
||||
|
||||
2006-11-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/winlib/WIN32GState.m:
|
||||
|
|
|
@ -2571,7 +2571,6 @@ add code to avoid loading bitmaps for glyphs */
|
|||
count: (int)count
|
||||
toBezierPath: (NSBezierPath *)path
|
||||
{
|
||||
#if 0
|
||||
int i;
|
||||
NSGlyph glyph;
|
||||
|
||||
|
@ -2592,11 +2591,15 @@ add code to avoid loading bitmaps for glyphs */
|
|||
FT_Face face;
|
||||
FT_Glyph gl;
|
||||
FT_OutlineGlyph og;
|
||||
FT_Size size;
|
||||
|
||||
glyph = *glyphs - 1;
|
||||
|
||||
if (FTC_Manager_Lookup_Size(ftc_manager, &imgd.font, &face, 0))
|
||||
if (FTC_Manager_LookupSize(ftc_manager, &scaler, &size))
|
||||
continue;
|
||||
|
||||
face = size->face;
|
||||
|
||||
if (FT_Load_Glyph(face, glyph, FT_LOAD_DEFAULT))
|
||||
continue;
|
||||
|
||||
|
@ -2622,7 +2625,6 @@ add code to avoid loading bitmaps for glyphs */
|
|||
{
|
||||
[path moveToPoint: NSMakePoint(ftdelta.x / 64.0, ftdelta.y / 64.0)];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue