Initial version of DejaVu Sans Mono package

I just finished pulling out the various bits of LaTeX and OMake I wrote for using the DejaVu Sans Mono font in my dissertation, as suggested by Brian.  You can grab it using darcs get from http://free-the-mallocs.com/repos/dejavu-sans-mono.

You will need to copy the TrueType files for DejaVu Sans Mono and DejaVu Sans into the directory before running omake. DejaVu Sans is required because I needed to steal a few glyphs from it that are not yet in DejaVu Sans Mono. The other notable omission is that I never needed the oblique version of the typeface, but I can add that with just a little more hacking.

3 Comments »

  1. Brian said,

    December 16, 2007 @ 9:11 pm

    I finally got around to trying this package out. A few observations.

    1. The OMakefile’s default target didn’t want to build all the afm files and friends, instead choosing to fail miserably at building test.pdf (due to all the missing afm files).

    2. \usepackage{dvsm} has to come before \usepackage{hyperref} it seems. Otherwise, I get the following error:


    ! LaTeX Error: Command \textmu already defined.
    Or name \end… illegal, see p.192 of the manual.

    See the LaTeX manual or LaTeX Companion for explanation.
    Type H for immediate help.

    l.28 \newcommand{\textmu}{{\dvsm{\char”EB}}}

  2. Brian said,

    December 16, 2007 @ 10:11 pm

    I also used otftofd to make Deja Vu Sans Mono usable with LaTeX, after using FontForge to save the font sources as OpenType files.

    3. What are the differences if I go this way, as compared to the package you made?

    4. I hacked otftofd to recognize “Oblique” as a shape. Also, a “s*” before the scaling factor, e.g., “s*[0.80]” seems to cause LaTeX not to output a warning about scaling the font size.

  3. ∃xistential Type » New version of the DejaVu Sans Mono package said,

    January 8, 2008 @ 9:04 pm

    […] just finished fixing the bugs Brian noted in the previous version.  You can grab it using darcs get from http://free-the-mallocs.com/repos/dejavu-sans-mono.  This […]

RSS feed for comments on this post · TrackBack URI

Leave a Comment