0xProto icon indicating copy to clipboard operation
0xProto copied to clipboard

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

Open hesselmonk opened this issue 1 year ago • 11 comments

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)

hesselmonk avatar Apr 18 '24 14:04 hesselmonk

@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.

matype avatar Apr 19 '24 02:04 matype

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

hesselmonk avatar Apr 19 '24 08:04 hesselmonk

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 avatar Apr 23 '24 11:04 matype

@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

matype avatar May 01 '24 05:05 matype

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

hesselmonk avatar May 02 '24 07:05 hesselmonk

I see. Thanks for letting me know.

matype avatar May 02 '24 07:05 matype