[Konsole-devel] [konsole] [Bug 349350] Some monospaced fonts missing in the fonts menu

Horacio Sanson via KDE Bugzilla bugzilla_noreply at kde.org
Tue May 10 13:28:57 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=349350

Horacio Sanson <ryujin_ssdt at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryujin_ssdt at yahoo.co.uk

--- Comment #1 from Horacio Sanson <ryujin_ssdt at yahoo.co.uk> ---
I have this issue since KDE4 and now using KDE5 with Konsole 15.2.3 the problem
persists. The usual response is the this is a problem of QT or Fontconfig.

If I use fontconfig to list the monospaced fonts I can see that the list
returned by fontconfig is the same list show in Konsole font select dialog.
This confirms the problem indeed is fontconfig. 

To see the monospaced fonts as detected by fontconfig I run this command in the
terminal:

   fc-list ":spacing=mono:scalable=true" family

More investigation indicates that the problem are the fonts themselves that are
missing the fixedPitch flag. I found a program that sets this flag on on any
ttf font but even with the flag set the font does not appear in the list:

   
https://git.fedorahosted.org/cgit/liberation-fonts.git/plain/scripts/setisFixedPitch-fonttools.py

Some additional discussions and resources regarding this issue:

  -
http://fontforge.10959.n7.nabble.com/Regenerated-font-does-not-recognize-as-a-Monospace-in-Windows-td11291.html
  - http://www.pixelbeat.org/docs/fc_fixed.html
  -
https://eev.ee/blog/2015/05/20/i-stared-into-the-fontconfig-and-the-fontconfig-stared-back-at-me/

All I want is able to use the M+ monospaced font that has Japanese characters
so my Japanese emails look good in mutt+konsole but so far this has been
mission impossible for the last 5 years.

This is the font just in case:   http://mplus-fonts.osdn.jp/about-en.html

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list