[MacPorts] #56257: pango cannot find DejaVu Sans Mono
MacPorts
noreply at macports.org
Mon Apr 9 20:29:06 UTC 2018
#56257: pango cannot find DejaVu Sans Mono
--------------------+--------------------
Reporter: pdvnl | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
--------------------+--------------------
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>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56257>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list