[Poppler-bugs] [Bug 18705] Chinese looks terrible

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 23 01:57:34 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=18705





--- Comment #6 from Sam Lin <itrs.lin at gmail.com>  2010-02-23 01:57:33 PST ---
some tricky fonts need hinting to render correctly bug cairo backend use
FT_LOAD_NO_HINTING to disable it.

one possible solution is use FT_LOAD_NO_AUTOHINT to replace FT_LOAD_NO_HINTING
to
enable hinting to render these tricky fonts correctly.

freetype has FT_IS_TRICKY macro to detect such font face but not applicable to
CairoFontEngine.cc because some embedded font doesn't carry family_name in font
face strucure for FT to detect. It may require to pass the info from GfxFont.cc
by gftFont->getName() to populate font face faimily_name that FT can identify
it then use the FT_IS_TRICKY macro to decide hinting or not.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list