fonts - Convert .ttf to .bdf

08
2013-08
  • Isaac Sutherland

    How do I convert a monospace True Type font to a BDF font with 14x28 (or 14x30) characters?

    My first thought was to use FontForge, but for some reason, when I open a True Type font:

    • if I try to "Generate Fonts", it won't let me select any bitmap font formats, and
    • there is no "export" option under the "file" menu (they claim otherwise), and
    • if I "save as" and change the file extension, I don't get a BDF font ... just a TTF font with a BDF extension.

    I am using FontForge version: 23:48 GMT 23-Sep-2009 which I retrieved from the OpenSUSE repositories.

  • Answers
  • OldWolf

    Have you tried ttf2bdf It looks like it's in the "freetype-tools" package for SuSE. Not sure which version you're running. It might be worth giving a shot. If fontforge will let you open an existing .bdf, you might be able to resize it after conversion.


  • Related Question

    Installing Microsoft ttf fonts on Ubuntu
  • therefromhere

    I want to install a Microsoft Vista TTF font (lets say Consolas), on Ubuntu 9.04 (Jaunty Jackalope).

    How do I go about doing that?


  • Related Answers
  • Diago

    This article explains how to install the Microsoft fonts on Ubuntu step by step. It's part of the Universe repository.

    This article explain how to install the Vista fonts which includes Consolas on Ubuntu. You need to extract the fonts from the Microsoft Powerpoint Viewer.

  • therefromhere

    If you've got a Windows machine handy (IANAL but I think you need a Vista licence in order to legally use the Consolas font), copy the file somewhere convenient.

    Then in a terminal:

    sudo cp *.ttf /usr/local/share/fonts
    cd /usr/local/share/fonts
    sudo chown root:root *.ttf
    sudo fc-cache
    
  • Kirill

    Check out this script.

    winetricks is a quick and dirty script to download and install various redistributable runtime libraries...