Patches are from SUSE. Bugzilla #158573: fix corrupt embolden glyphs issue for CJK fonts. Bugzilla #159166: reduce embolden strength to get better rendering effect. Bugzilla #158156: fix a memory leak Bugzilla #157441: use a patch from upstream CVS which renders slightly better. Bugzilla #157441: FZSongTi.ttf contains a lot more (CJK)-glyphs than most other fonts, therefore we have to expand the cjk range in Takashi Iwai's "ft2-autofit-02-cjk.diff" to render these glyphs correctly as well. bugzilla-97202:fix-x-crash enable_ft_optimize_memory.patch
Created attachment 83876 [details, diff] Freetype 2.1.10 Patches
Created attachment 83877 [details, diff] bugzilla-97202-fix-x-crash.patch
Created attachment 83878 [details, diff] bugzilla-157441-autofit-cjk-cvs.patch
Created attachment 83879 [details, diff] bugzilla-158156-memory-leak.patch
Created attachment 83880 [details, diff] bugzilla-158573-fix-orientation-detection.patch
Created attachment 83881 [details, diff] bugzilla-159166-reduce-embolden-distance.patch
Created attachment 83883 [details, diff] enable_ft_optimize_memory.patch
Created attachment 83885 [details, diff] freetype2-bitmap-foundry.patch
fyi we don't integrate patches b/c other distros add them. There is little basis to act that way. Some of these issues are covered in other bugs, others have no relevance to us and again others are just too extensive for us to maintain.
What about these Patches , These are from Fedora or Mandriva. Both Fedora and Mandriva apply the patches in their Freetype2.1.10 package. Most of them are cvs-fix,So I think it will not need spend so much to maintain them In fact, some of SUSE's patches are also cvs-fix, those are same as Fedora and Mandriva's Patch0:mostly embolding fix (CVS) freetype-2.1.10-cvsfixes.patch Patch1: freetype-2.1.10-xorgfix.patch Patch2:fix autofit render setup (CVS) freetype-2.1.10-fixautofit.patch Patch3:fix memleak (CVS) freetype-2.1.10-memleak.patch Patch4:fix kerning wrongly disabled (CVS) freetype-2.1.10-fixkerning.patch Patch5:fix bad anti-aliasing (CVS) freetype-2.1.10-fixaliasing.patch
Created attachment 83955 [details, diff] freetype-2.1.10-cvsfixes.patch
Created attachment 83956 [details, diff] freetype-2.1.10-xorgfix.patch
Created attachment 83957 [details, diff] freetype-2.1.10-fixautofit.patch
Created attachment 83958 [details, diff] freetype-2.1.10-memleak.patch
Created attachment 83959 [details, diff] freetype-2.1.10-fixkerning.patch
Created attachment 83960 [details, diff] freetype-2.1.10-fixaliasing.patch
you really didn't get my comment did you ? I am aware of other distros and their patches. Whats the difference between providing a cvs ebuild and a stable version patched with every single addition from cvs ? We don't do the first, so why do the latter if there is no real need. And what bothers me most is that you don't even look at the patches or know what they do, you attached certain patches twice.
Sorry for my bothers. retrieving revision 1.27 retrieving revision 1.30 diff -u -p -r1.27 -r1.30 --- freetype2/src/base/ftsynth.c 30 May 2005 07:54:20 -0000 1.27 +++ freetype2/src/base/ftsynth.c 23 Jun 2005 20:31:48 -0000 1.30 @@ -81,13 +81,16 @@ /* some reasonable strength */ xstr = FT_MulFix( face->units_per_EM, - face->size->metrics.y_scale ) / 42; + face->size->metrics.y_scale ) / 24; ystr = xstr; if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) { error = FT_Outline_Embolden( &slot->outline, xstr ); - xstr = xstr * 4; /* according to the documentation */ + + /* this is more than enough for most glyphs; */ + /* if you need accurate values, you have to call FT_Outline_Get_CBox */ + xstr = xstr * 2; ystr = xstr; } else if ( slot->format == FT_GLYPH_FORMAT_BITMAP ) @@ -122,8 +125,8 @@ /* modify the metrics accordingly */ if ( !error ) { + /* assume the layout is horizontal */ slot->advance.x += xstr; - slot->advance.y += ystr; slot->metrics.width += xstr; slot->metrics.height += ystr; contain in "freetype-2.1.10-cvsfixes.patch" can fix embold fonts issue. wrong display http://img98.imageshack.us/my.php?image=screenshot17ob.png correct display http://img351.imageshack.us/my.php?image=screenshot27hp.png Hope can do something on this issue.