midori not allowing to select "Monaco" as a fixed-width font family

Bug #1590634 reported by je-vv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Confirmed
Undecided
Unassigned

Bug Description

Monaco is a monospaced font:

https://en.wikipedia.org/wiki/Monaco_(typeface)
https://github.com/todylu/monaco.ttf

And I'm using its TTF version. However for some reason, I can't select it as a Fixed-width Font Family, under the "Fonts" tab on "Preferences".

For some weird reason it can be selected as a Proportional Font Family, being that it's a monospace fixed width one.

Firefox doesn't have problems selecting Monaco as its fixed width monospace font...

Notice the font is available:

% fc-list | 'grep' -i monaco
/usr/share/fonts/TTF/Monaco_Linux.ttf: Monaco:style=Regular

Also:

about:version

Version numbers in brackets show the version used at runtime.

Command line midori
Midori 0.5.11 ((null)) Midori
GTK+ 3.20.5 (3.20.6) Glib 2.48.1 (2.48.1)
WebKitGTK+ 2.4.11 (2.4.11) libSoup 2.54.1
cairo 1.14.6 (1.14.6) libnotify No
gcr 3.20.0 granite No
Platform X11; Linux x86_64
Identification Mozilla/5.0 (X11; Linux) AppleWebKit/538.15 (KHTML, like Gecko) Chrome/18.0.1025.133 Safari/538.15 Midori/0.5
Video Formats H264 [x] Ogg Theora [x] WebM [x]

Netscape Plugins:

Google Talk Plugin Version: 5.41.0.0
IcedTea-Web Plugin (using IcedTea-Web 1.6.2) The IcedTea-Web Plugin executes Java applets.
mplayerplug-in is now gecko-mediaplayer 1.0.9 Gecko Media Player 1.0.9

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
QuickTime Plug-in 7.6.9 Gecko Media Player 1.0.9

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
Google Talk Plugin Video Renderer Version: 5.41.0.0
DivX Browser Plug-In Gecko Media Player 1.0.9

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
Windows Media Player Plug-in Gecko Media Player 1.0.9

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
Shockwave Flash Shockwave Flash 21.0 r0
RealPlayer 9 Gecko Media Player 1.0.9

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer

Revision history for this message
gue5t gue5t (gue5t) wrote :

Midori calls "pango_font_family_is_monospace" to determine whether a font is monospace. There are fonts for which this function seems to return the wrong value.

As a workaround, you can edit the configuration file directly, in "${XDG_CONFIG_HOME:-~/.config}/midori/config". Change the "monospace-font-family=Whatever" line to "monospace-font-family=Monaco".

Changed in midori:
status: New → Confirmed
Revision history for this message
je-vv (je-vv) wrote :

Workaround worked out quite well, :-) Thanks. Hopefully the bug will get solved though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.