mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-24 04:11:28 +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>
|
2006-11-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/winlib/WIN32GState.m:
|
* Source/winlib/WIN32GState.m:
|
||||||
|
|
|
@ -2571,7 +2571,6 @@ add code to avoid loading bitmaps for glyphs */
|
||||||
count: (int)count
|
count: (int)count
|
||||||
toBezierPath: (NSBezierPath *)path
|
toBezierPath: (NSBezierPath *)path
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
int i;
|
int i;
|
||||||
NSGlyph glyph;
|
NSGlyph glyph;
|
||||||
|
|
||||||
|
@ -2592,11 +2591,15 @@ add code to avoid loading bitmaps for glyphs */
|
||||||
FT_Face face;
|
FT_Face face;
|
||||||
FT_Glyph gl;
|
FT_Glyph gl;
|
||||||
FT_OutlineGlyph og;
|
FT_OutlineGlyph og;
|
||||||
|
FT_Size size;
|
||||||
|
|
||||||
glyph = *glyphs - 1;
|
glyph = *glyphs - 1;
|
||||||
|
|
||||||
if (FTC_Manager_Lookup_Size(ftc_manager, &imgd.font, &face, 0))
|
if (FTC_Manager_LookupSize(ftc_manager, &scaler, &size))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
face = size->face;
|
||||||
|
|
||||||
if (FT_Load_Glyph(face, glyph, FT_LOAD_DEFAULT))
|
if (FT_Load_Glyph(face, glyph, FT_LOAD_DEFAULT))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
@ -2622,7 +2625,6 @@ add code to avoid loading bitmaps for glyphs */
|
||||||
{
|
{
|
||||||
[path moveToPoint: NSMakePoint(ftdelta.x / 64.0, ftdelta.y / 64.0)];
|
[path moveToPoint: NSMakePoint(ftdelta.x / 64.0, ftdelta.y / 64.0)];
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue