Closed kalashnikovisme closed 1 year ago
If I haven't missed anything, then spacing
property is not set in the font. This property must be set to 100.
How to check:
fc-scan /<path>/<to>/<font>.ttf
Example:
$ fc-scan /usr/share/fonts/truetype/ubuntu/UbuntuMono-R.ttf Pattern has 25 elts (size 32) family: "Ubuntu Mono"(s) familylang: "en"(s) style: "Regular"(s) stylelang: "en"(s) fullname: "Ubuntu Mono"(s) fullnamelang: "en"(s) slant: 0(i)(s) weight: 80(f)(s) width: 100(f)(s) spacing: 100(i)(s) foundry: "DAMA"(s) file: "/usr/share/fonts/truetype/ubuntu/UbuntuMono-R.ttf"(s) index: 0(i)(s) outline: True(s) scalable: True(s) ...
If you run fc-list :spacing=100 fullname spacing
then MartianMono will not be in the output.
The Glyphs app forum topic related to the issue (it’s for me mostly): https://forum.glyphsapp.com/t/isfixedpitch-to-disable-metrics-adjustment
Related issue: https://github.com/google/fonts/issues/225
@kalashnikovisme try please these updated fonts, all of them have isFixedPitch = true
.
https://github.com/evilmartians/mono/tree/main/fonts
Did it fix the issue?
@romashamin sorry for the delay, I missed this comment.
I've tried new files, unfortunately issue still exists :slightly_frowning_face:
@romashamin checked one more time with v1.0. Everything is ok now! Thanks!
User can set only mono fonts in Gnome Terminal on Ubuntu 22.04 by default, and Gnome Terminal does not detect MartianMono as monospace font for some reason.
You can choose MartianMono font as terminal font with this command
for example
Also, we can see that
Font Manager
detects MartianMono asproportional
, notmonospace