commit-mono icon indicating copy to clipboard operation
commit-mono copied to clipboard

Custom settings and (non-)versioned not recognized properly in Windows

Open Devlevel9000 opened this issue 2 years ago • 12 comments

I have a -spaced version installed with different spacing setting (go figure) and I can only reference the font in VSCode (in NP++ all variants show as italic) by adding the weight at the end of the name, also that makes the editor not map to the italic variants

image

Also, somehow I have two versions of the font, one without a version and one with the version, in VSCode only the one with the version works

image image

But in IntelliJ all 3 show up but the versioned on only has extra light weight, the non-versioned one looks fine

image image

I remember 137 or 138 showing up properly for the non-versioned one, looks like a recent issue. This is only on Windows, not sure how it behaves on other OSes

Devlevel9000 avatar Oct 11 '23 10:10 Devlevel9000

Thank you for the detailed description. I will have a look at this issue as soon as possible.

eigilnikolajsen avatar Oct 11 '23 10:10 eigilnikolajsen

Wow, that was fast, here's the Notepad++ issue mentioned above, also. So apparently after I installed a new custom -mdspace one, the -spaced one works, but I have only one weight, only the versioned one has all the weights separate, also the non-versioned one gets registered as italic as well as the new -mdspace one.

image

Devlevel9000 avatar Oct 11 '23 11:10 Devlevel9000

Interesting. Just to be sure (you've probably already tried): have you tried restarting the programs (N++, VS Code, IntelliJ) after installing the font. Many programs need restarting in order for font changes to be recognized.

eigilnikolajsen avatar Oct 11 '23 11:10 eigilnikolajsen

Yeah, I am aware of that, all editors have been restarted. Usually the fonts don't register if the editor is open when installing them, so it wouldn't even show up in any of them.

One thing I did notice is that the variable font file size is a bit off, it's the same size as a single OTF, I think 42 TTFs should have a larger size than 1 OTF.

image

Personally I think the packager is misbehaving, I also get asked if I want to replace only the extra light version when installing it. My memory might be failing me, but I should've get asked to replace all weights with the checkbox to do that for each one.

Devlevel9000 avatar Oct 11 '23 11:10 Devlevel9000

The file size is quite right. TTFs are smaller than OTFs and the variable font does not contain 42 fonts, only 4 (extra light, extra light italic, bold, bold italic).

Can you upload the files you believe are misbehaving here, so I can check them for myself?

eigilnikolajsen avatar Oct 11 '23 11:10 eigilnikolajsen

I beg to differ, the variable font archive contains all the weights:

image image

Here's the variable font. CommitMono VariableFont.zip

Devlevel9000 avatar Oct 11 '23 11:10 Devlevel9000

CommitMono.zip

I'll add the 139 without the version at the end, basically the basic version which doesn't work in VSCode, for reference.

Devlevel9000 avatar Oct 11 '23 11:10 Devlevel9000

The variable font interpolates meaning it doesn't have to contain all the weights - only the extremes (in font terminology called Masters)

I'll have a look at the files soon.

eigilnikolajsen avatar Oct 11 '23 12:10 eigilnikolajsen

Your file names look odd. Did you just download the files from the website?

eigilnikolajsen avatar Nov 05 '23 10:11 eigilnikolajsen

Yup, all are downloaded directly from the website.

CM_sample.zip

Just downloaded from the Customize page, the custom for design package.

Didn't make any changes, just downloaded the font.

Devlevel9000 avatar Nov 05 '23 13:11 Devlevel9000

Can I have you check if this is working in the latest release (or get it from https://commitmono.com)?

eigilnikolajsen avatar Nov 27 '23 11:11 eigilnikolajsen

I can confirm I am seeing a similar issue with the latest v1.142. I used the customizer and downloaded the 4-style pack. In control panel, only the bold and italics show up. (In C:\Users\xxx\AppData\Local\Microsoft\Windows\Fonts, all four files are there)

In WordPad, when I type, it uses the italic face. When I bold it, the bold style is correctly used. When I used the italic style, the faux-italic version is manufactured using the italic face (the italic face shows up even more slanted). When I use bold italic, faux-italic version is manufactured using the bold face (the bold version is slanted in software). I have the alternate 'aegfy' turned on, so it's easy to tell.

I am not using a custom name. The same files work fine on my macintosh .

I just tried "Download (default settings)" in section 8. Same thing except instead of finding bold and italic in control panel, i see bold italic and italic.

Lastly, I tried downloading the file with all 42 cuts. I installed just the four files i'm used to. And now this is what shows up on the control panel.

Screenshot 2023-12-09 223413

And correspondingly it's impossible to use the regular style from WordPad or Word (or any other style that doesn't show in control panel).

(In the screenshot from using the file with 42 cuts, Commit Mono shows up under two different entries as you can see. In the previous cases of installing from the zip file with only 4 cuts, it showed up under just one entry "Commit Mono".)

Therefore, I believe this font is currently not functional under Windows.

stlee42 avatar Dec 09 '23 13:12 stlee42