Archive for May, 2011

Hint: How to force autohinting on Fedora 15

In Fedora 15, Freetype was updated to enable the TrueType bytecode interpreter (BCI) by default. The BCI is used by default for all fonts which include hinting information, unhinted fonts will automatically use the autohinter. (That fallback magic was the last remaining blocker for enabling the BCI by default in Fedora, because the patents on the BCI expired recently.)

In most cases, the BCI is what you want. However, if, for whatever reason, you don’t like the resulting rendering, it is possible to force autohinting instead of BCI-hinting:

  • globally, using the 99-autohinter-only.conf below:
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
      <match target="font">
        <edit name="autohint" mode="assign">
          <bool>true</bool>
        </edit>
      </match>
    </fontconfig>
  • per font, using something like 99-DejaVu-autohinter-only.conf. (That file disables the BCI for the DejaVu family, which is the default font in Fedora, except for GNOME 3 which uses Cantarell. It used to be shipped in old builds of freetype-freeworld. The font names can be changed to whatever font you want to disable the BCI for.)

These config files must be placed into the /etc/fonts/conf.d/ directory for Freetype to recognize them.

7 Comments

Event Report: Linuxwochen Wien 2011

There was a GNU/Linux event at Vienna, Austria from Thursday to Saturday. Our Fedora Ambassadors, in particular Zoltan Hoppar (whom I already knew from last year’s Linuxwochen in Vienna), had organized a Fedora booth at the event. I couldn’t resist paying the event a visit, or more than one really:

  • For Fedora 14, only installation DVDs and GNOME ("Desktop") live CDs were mass-produced in Europe. I brought some hand-burned KDE live CDs. Those were a success: I brought a total of 29 KDE live CDs (15 x86_64, 14 i686), at least 26 were given out. (We had only 3 of them left when I left on Saturday afternoon.) Still, I hope that we will have mass-produced KDE media next year. (We also didn’t have any last year. I had brought 6 hand-burned ones. This year, I went up to 29, but I can’t manually burn much more than that.)
  • I got to chat a bit with Zoltan Hoppar, Laurin Novak (our new ambassador from Baden near Vienna) and Volker Fröhlich, and say hello to Jaroslav Řezník who paid us a visit of Friday (but unfortunately we didn’t get to talk much because he was busy talking to Zoltan and me listening to talks, and then I had to leave for a university lecture).
  • I helped out a bit at the booth, talking to a few visitors. In particular, I kept the booth manned on Saturday noon when Zoltan and Laurin held their talk at 12:00 and then went to lunch around 13:15.
  • I listened to a series of 3 talks related to Qt development on Friday morning. The talks focused on new Qt technologies I wasn’t yet familiar with: the first one on Qt Quick / QML, the second one on Qt Mobility and the third one on combining PySide with QML. So those talks were very interesting to listen to.

Zoltan might write up a more detailed report.

3 Comments