Thanks Cobra. To add a few words, setRenderHint() method is for poppler-qt4 binding. The insertion of the method should be proposed to Okular maintainer.
I'm not sure similar methods exist in other binding. Evince seems to use poppler-glib binding, and its default backend is CairoOutputDev. Because Cairo renders the TrueType font internally, so more detailed code check is needed. Regards, mpsuzuki cobra.yu wrote: > Hi, > > The "hinting" issue has been fixed by Freetype 2 w/o patent troubles, > but Poppler doesn't turn on this function by default. I've used > "doc->setRenderHint(Poppler::Document::TextHinting);" in my application and > fixed this problem. > > Cobra > > -----Original message----- > From:ddreamer<[email protected]> > To:mpsuzuki<[email protected]> > Cc:poppler<[email protected]> > Date: Sun, 22 Aug 2010 22:35:47 +0800 (CST) > Subject: Re: [poppler] Chinese characters broken > The screenshot1.png is normal result while Screenshot2.png is abnormal result > generated by Okular and Evince > _______________________________________________ > poppler mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/poppler > > > > _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
