[Debichem-devel] Bug#567600: Replace "Courier 12" with "Monospace" ?

Trent W. Buck trentbuck at gmail.com
Wed Jul 9 07:48:22 UTC 2014


The error is from PangoFont, and AFAIK that means it's using freetype
(xft) and fontconfig under pango.

    $ ldd /usr/bin/ghemical | grep font
    libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fb7b9691000)

THAT means all you need do is change "Courier 12" to "Monospace", the
fontconfig alias for the 'best' available fixed-width font.
The default size is 12pt, so "Monospace-12" or "Monospace 12"
shouldn't be needed.

    src/p1dview_wcl.cpp:171:	ogl_InitPangoFont("courier 12");
    src/eldview_wcl.cpp:135:	ogl_InitPangoFont("courier 12");
    src/oglview_wcl.cpp:929:	ogl_InitPangoFont("courier 12");
    src/p2dview_wcl.cpp:207:	ogl_InitPangoFont("courier 12");
    src/gpcview_wcl.cpp:61:	ogl_InitPangoFont("courier 12");

If you're really paranoid, you could also add

    Depends: ttf-dejavu-core

I don't have the time or interest to test this theory myself.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20140709/13d5418c/attachment.sig>


More information about the Debichem-devel mailing list