larsenwork / monoid

Customisable coding font with alternates, ligatures and contextual positioning. Crazy crisp at 12px/9pt. http://larsenwork.com/monoid/
7.86k stars 170 forks source link

cannot see regular font on Windows 7 #72

Closed axd1967 closed 9 years ago

axd1967 commented 9 years ago

Tried to install the four fonts (bold, oblique, regular, retina) from http://larsenwork.com/monoid/ on Windows 7, but I can see only bold and oblique.

smells like related to #23 and maybe #22

ElectronicWar commented 9 years ago

Same behaviour in Windows 8.1 x64.

The obligue version is overriding the regular one. When I deleted oblique via Windows Font Manager, Monoid Regular suddenly appeared.

larsenwork commented 9 years ago

Hmm...not #22 but maybe #23 but I think it's actually something else. Pushing now so please try in ~15min when the release branch is updated.

larsenwork commented 9 years ago

@ElectronicWar hmm...then it's not what I suspected. Will have to check something else then.

larsenwork commented 9 years ago

It's currently cooking in circleci so ~12 min

larsenwork commented 9 years ago

@axd1967 @ElectronicWar the updated version is now live for you to try :)

axd1967 commented 9 years ago

thx! trying v0.52 (tip: append the info you get from git describe to the version info, so you can see from what git version the fonts were generated.)

larsenwork commented 9 years ago

(tip: append the info you get from git describe to the version info, so you can see from what git version the fonts were generated.)

Great tip - this is something for my man @chase

Try removing the oblique and retina and install these two instead: https://dl.dropboxusercontent.com/u/3019777/Monoid-Italic.ttf https://dl.dropboxusercontent.com/u/3019777/Monoid-Retina.ttf

axd1967 commented 9 years ago
larsenwork commented 9 years ago

Oblique: Confused as to how Notepad can see oblique if you've removed it? Italic: Great - bothers me since it's not an italic but an oblique but if that's what it takes to make it work in windows #75 Retina: Should probably be called HDPI instead - it's for all users with high resolution displays regardless of operating system. What happens if you remove regular?

ElectronicWar commented 9 years ago

Try removing the oblique and retina and install these two instead:

They have the same issue from my test, the Retina one hides the Italic version. Whatever version I install first (Regular or Oblique) is the "dominant" font which is shown in the manager and gets loaded when I type "Monoid" in Sublime Text. Upon deleting the font, it's removed and the 2nd installed font will take its place. Monoid Bold does not have this issue. If I want a specific version I have to specify "Monoid Regular" as font name to get it for example, at least in Sublime.

The default Windows font selection dialog does find all styles: 2015-07-27_13-56-25

Windows font list "hides" the 2nd installed as usual: 2015-07-27_13-58-16

Atom works properly, no matter if Regular or Oblique is the "dominant" font.

Sublime selects the dominant font when just entering "Monoid", but I can select the Regular by using "Monoid Regular" as font name if Oblique is dominant. 2015-07-27_14-10-54

Notepad++ 6.8 behaves like Sublime in selecting the dominant font, but I cannot force it to use regular. 2015-07-27_14-10-03

larsenwork commented 9 years ago

@axd1967 thanks - do you have an example of a open source monospaced font with regular, bold and italic that works in all editors?

larsenwork commented 9 years ago

@axd1967 and what happens if you only have retina, bold and italic installed?

ElectronicWar commented 9 years ago

@larsenwork Source Code Pro comes to mind. https://github.com/adobe-fonts/source-code-pro

axd1967 commented 9 years ago

After installing Monoid-italic and -Retina,I got this:

mono

Monoid opens into

m2

when I delete Regular, Oblique appears; NPP no longer shows a regular Monoid font.

mreg

this is messy, I now get a message that I cannot delete Oblique, while the 2 apps that were configured to use it have been reverted to different fonts. Probably need to reboot, I'm stopping this kind of testing, sorry.

ElectronicWar commented 9 years ago

@axd1967 You need to close the apps to delete the fonts, most will hold a lock until restarted even when a new font has been selected.

larsenwork commented 9 years ago

@axd1967 what @ElectronicWar said: most operating system caches the fonts so you have to at least close+reopen the programs in question and maybe also clear the system cache (mac has a terminal command for this - don't know about windows) by terminal command or reboot

larsenwork commented 9 years ago

@ElectronicWar what was the conclusion to all of this? (slightly confused) :smile:

ElectronicWar commented 9 years ago

@larsenwork Sorry if it's confusing. 0.52 has the same problem for me, as in Regular and Oblique hiding each other, depending on what is installed first, they are not recognized as different font styles by most applications and the one installed first is selected. You might want to look at how Source Code Pro by Adobe is solving this. (Sorry if my font knowledge is rather limited, I am just stating what I observed from my tests)

larsenwork commented 9 years ago

@ElectronicWar Thanks, I've made a few changes to meta data in these: https://dl.dropboxusercontent.com/u/3019777/0.55/Monoid-Regular.ttf https://dl.dropboxusercontent.com/u/3019777/0.55/Monoid-Italic.ttf if you can try them?

Delete old fonts Quit programs + delete C:\Windows\System32\FNTCACHE.DAT Install new fonts

ElectronicWar commented 9 years ago

@larsenwork Those are working fine! I get the regular version when using "Monoid" and switching to italic style correctly loads the italic font instead of just tilting the regular style. 2015-07-28_14-19-37

2015-07-28_14-21-16

larsenwork commented 9 years ago

@ElectronicWar Cheers, thanks for testing :)

larsenwork commented 9 years ago

Will be updated in 0.55 soon so closing for now