[poppler] [PATCH] Fix Splash back-end FT_Load_Glyph flags

Albert Astals Cid aacid at kde.org
Sat Oct 3 03:34:09 PDT 2009


A Dissabte, 3 d'octubre de 2009, Benoit Jacob va escriure:
> 2009/10/2 Benoit Jacob <jacob.benoit.1 at gmail.com>:
> > Yes, as that is the default on openSUSE. However, since you asked, I
> > wanted to check that. Here is my my method so you can check that it is
> > good:
> > I edit the file /etc/fonts/suse-hinting.conf, and I change this line,
> >
> >       <match target="font">
> >               <edit name="autohint">
> >                       <bool>true</bool>
> >               </edit>
> >       </match>
> >
> > to change the value to "false" or "true", and then I run as root:
> >
> >  $ fc-cache
> 
> *Erm*
> 
> Re-thinking about this, I am not sure at all that this makes any sense!
> 
> Also --- even if the autohinter is enabled, what if the font has its
> own native hinting,won't that override it...

Yes unless you use FT_LOAD_FORCE_AUTOHINT that indicates that the auto-hinter 
is preferred over the font's native hinter. But anyway i think the option 
should be hinting (either native or auto) vs no-hinting.

Albert

> 
> How do you ask the system, "what kind of hinting are you using for a
> particular font" ? If there's no way to ask that, i'm afraid we'll
> never know for sure, because the configuration system is way too
> intricate (at least 10 different config files !  Some specific to
> suse, some not.).
> 
> Benoit
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
> 



More information about the poppler mailing list