Forums: M+ OUTLINE FONTS (Thread #37563)

Monospaced fonts are not recognized as such (2016-03-06 14:54 by fauno #77764)

Hi, I'm trying to use the monospaced fonts but some programs complain they're not monospace, maybe something's missing from the font metadata?

Thanks for your work!

Reply to #77764×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Monospaced fonts are not recognized as such (2016-03-06 20:28 by mandel59 #77767)

Hi, fauno. Thanks for reporting :) Could you tell me what apps and environment complain so? Such information is very useful to address the issue.
Reply to #77764

Reply to #77767×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Monospaced fonts are not recognized as such (2016-03-06 21:56 by fauno #77769)

[Reply To Message #77767]
> Hi, fauno. Thanks for reporting :) Could you tell me what apps and environment complain so? Such information is very useful to address the issue.

I'm trying to use it on neovim-qt and st (the suckless terminal emulator).

This is what I get:

st: https://i.imgur.com/ioMCSed.png

neovim-qt: https://i.imgur.com/Ejc9440.png

If I test it on gvim and urxvt:

gvim: https://i.imgur.com/u2sKg5W.png

urxvt: https://i.imgur.com/06f3gT8.png

I read on the mplus comments for Archlinux that another person couldn't use them on KDE applications: https://aur.archlinux.org/packages/ttf-mplus/
Reply to #77767

Reply to #77769×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Monospaced fonts are not recognized as such (2016-03-07 16:34 by mandel59 #77775)

> I'm trying to use it on neovim-qt and st (the suckless terminal emulator).
>
> This is what I get:
>
> st: https://i.imgur.com/ioMCSed.png
>
> neovim-qt: https://i.imgur.com/Ejc9440.png

I've surveyed the apps you've mentioned.

Monospace fonts in M+ is technically "dual-width" fonts because they have CJK ideographs, which are double-wide characters, and there are apps not supporting them. st uses max_advance_width to determine the advance width, so the width is doubled. neovim-qt uses QFontInfo.fixedPitch() to reject non-monospace fonts, so M+ 1m is rejected.

The issue is common among monospace fonts including CJK characters, so please contact app developers and request to support "dual-width" fonts.

Cheers,
Ryusei
Reply to #77769

Reply to #77775×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Monospaced fonts are not recognized as such (2016-03-07 17:05 by coz #77776)

Following M+ FONTS are not included CJK glyphs.

http://www.fontsquirrel.com/fonts/list/foundry/m-fonts
Reply to #77775

Reply to #77776×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Monospaced fonts are not recognized as such (2016-03-07 19:08 by fauno #77777)

greats, thanks! :)
Reply to #77776

Reply to #77777×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Monospaced fonts are not recognized as such (2016-03-07 19:13 by fauno #77778)

[Reply To Message #77775]
> > I'm trying to use it on neovim-qt and st (the suckless terminal emulator).
> >
> > This is what I get:
> >
> > st: https://i.imgur.com/ioMCSed.png
> >
> > neovim-qt: https://i.imgur.com/Ejc9440.png
>
> I've surveyed the apps you've mentioned.


wow thanks for the investigation :)
Reply to #77775

Reply to #77778×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login