0xType / 0xProto

A programming font focused on source code legibility
SIL Open Font License 1.1
1.38k stars 10 forks source link

On Windows Intellij IDE's don't recognize the font as monospaced #68

Open hesselmonk opened 2 months ago

hesselmonk commented 2 months ago

To be able to select the 0xProto font in Intellij IDE's (Rider in this case), I have to disable the "Show only monospaced fonts" checkbox

image

Maybe it is related to the missing meta data (https://github.com/0xType/0xProto/issues/67#issuecomment-2064004495)

matype commented 2 months ago

@hesselmonk Could you try with this font file? (It includes changes in https://github.com/0xType/0xProto/issues/67 ) 0xProto-Regular-fixed_monospace-and-auto_hinting.zip

This file contains the changes for the upcoming release, including the removal of zero-width glyphs (e.g., U+200B). Since all glyphs in this font file have the same width, it will be classified as a monospaced font.

hesselmonk commented 2 months ago

Using that font file does not seem to make a difference, it is still not in the monospaced font list. This might, again, be an Intellij specific issue because other applications (such as the Windows Terminal) do recognize it as monospace.

I see that Jetbrains own font is also made using Glyphs, maybe there's some useful info in their settings? https://github.com/JetBrains/JetBrainsMono

matype commented 2 months ago

I found a bug ( https://github.com/0xType/0xProto/issues/69 ) in the current version where some glyphs are wider than others and are no longer strictly monospaced font. I've fixed it in the v2.0 Pull Request ( https://github.com/0xType/0xProto/pull/66 ), so perhaps this problem will be fixed at the same time.

matype commented 2 months ago

@hesselmonk Could you try to use 0xProto v2.000? It includes the change to fix the bug in this comment https://github.com/0xType/0xProto/issues/68#issuecomment-2072109024

hesselmonk commented 2 months ago

Sadly Rider still doesn't list it as monospace on Windows (I installed the ttf font)

matype commented 2 months ago

I see. Thanks for letting me know.