Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Noto Sans Mono is not detected as monospace font by Fontconfig #2393

Open
chiak597 opened this issue Aug 4, 2022 · 0 comments
Open

Noto Sans Mono is not detected as monospace font by Fontconfig #2393

chiak597 opened this issue Aug 4, 2022 · 0 comments

Comments

@chiak597
Copy link

chiak597 commented Aug 4, 2022

Defect Report

Title

Noto Sans Mono is not detected as monospace font by Fontconfig

Font

NotoSansMono-Regular.ttf (affects all variants of Noto Sans Mono)

Where the font came from, and when

Site: https://github.com/notofonts/latin-greek-cyrillic/releases/download/NotoSansMono-v2.010/NotoSansMono-v2.010.zip
Date: 2022-08-04

Font Version

2,01

OS name and version

Debian SID

Issue

Fontconfig cannot detect Noto Sans Mono as a monospace font. Also Font Viewer app says that font has "proportional" spacing instead of "monospace" (see screenshot). Because of that, this font cannot be used in applications accepting only monospace font (for example Linux terminal emulators).

As stated in https://www.freedesktop.org/software/fontconfig/fontconfig-user.html, fontconfig uses "spacing=100" property for matching monospace fonts and Noto Sans Mono is missing that property.

$ fc-scan static/NotoSansMono/NotoSansMono-Regular.ttf | grep spacing
$

I unpacked legacy Noto Mono font from the Debian package and that one contains required property and also can be used as a monospace font.

$ fc-scan NotoMono-Regular.ttf  | grep spacing
	spacing: 100(i)(s)
$

Screenshot

image

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant