> [...] the chinese character '全',I think the outline get cropped, > while the other fonts like 'simsun.ttf' doesn't have this problem。 > the freetype version i used is 2.4.4,thank you。
Thanks for the font link.
However, I can't repeat the problem with the current git version of
FreeType. Applying the change below, then calling the compiled
program with
./example2 simkai.ttf example2.tga
I get the attached output. Zooming in with gimp (attached also) you
can clearly see that the outlines are not cropped.
My conclusion is that your problem is somewhere else.
Werner
======================================================================
--- example2.cpp.orig 2010-10-05 10:03:01.000000000 +0200
+++ example2.cpp 2011-01-15 10:43:40.000000000 +0100
@@ -380,9 +380,9 @@
// Dump out a single glyph to a tga.
WriteGlyphAsTGA(library,
argv[2],
- L'B',
+ L'全',
face,
- 100,
+ 64,
Pixel32(255, 90, 30),
Pixel32(255, 255, 255),
3.0f);
<<inline: quan.png>>
example2.tga.bz2
Description: Binary data
_______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
