Opened 6 years ago

Last modified 6 years ago

#56257 new defect

pango cannot find DejaVu Sans Mono

Reported by: pdvnl Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: macports@…
Port:

Description

OSX 10.11.6 El Capitan + MacPorts 2.4.2 + pango 1.42.0 + dejavu-fonts 2.37

I want to use the standard font for rrdtool: dejvusansmono.

This is a standard OSX font:

pango-view --no-display --output bla.png --text '0123456789 iiiiiwwwww' --font 'Menlo'

opensnoop -n pango-view shows: /System/Library/Fonts/Menlo.ttc.

And now for DejaVU:

pango-view --no-display --output bla.png --text '0123456789 iiiiiwwwww' --font 'DejaVu Sans Mono'

opensnoop shows /System/Library/Fonts/Helvetica.dfont.

The monospaced font is replaced by a proportional font.

Extra information:

fc-list | egrep 'Menlo|DejaVuSansMono'

/opt/local/share/fonts/dejavu-fonts/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique
/opt/local/share/fonts/dejavu-fonts/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique
/System/Library/Fonts/Menlo.ttc: Menlo:style=Bold
/System/Library/Fonts/Menlo.ttc: Menlo:style=Italic
/System/Library/Fonts/Menlo.ttc: Menlo:style=Regular
/System/Library/Fonts/Menlo.ttc: Menlo:style=Bold Italic
/opt/local/share/fonts/dejavu-fonts/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/opt/local/share/fonts/dejavu-fonts/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book

Excerpt from /opt/local/etc/fonts/fonts.conf:

<!-- Font directory list -->
        <dir>/usr/share/fonts</dir>
        <dir>/usr/X11/lib/X11/fonts</dir> <dir>/opt/local/share/fonts</dir> <dir>/Library/Fonts</dir> <dir>/Network/Library/Fonts</dir> <dir>/System/Library/Fonts</dir>

Change History (1)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

I am the maintainer of pango, but if you believe this is a pango problem, I don't know how to help you. I suggest you ask the developers of pango or in a pango support forum.

Note: See TracTickets for help on using tickets.