Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlexMono: All italic variants shown as duplicates (on macOS, at least) #257

Closed
alexbarton opened this issue Apr 13, 2018 · 8 comments · Fixed by #526
Closed

BlexMono: All italic variants shown as duplicates (on macOS, at least) #257

alexbarton opened this issue Apr 13, 2018 · 8 comments · Fixed by #526

Comments

@alexbarton
Copy link

alexbarton commented Apr 13, 2018

🎯 Subject of the issue

macOS states that all italic variants of BlexMono (merged in #253 – tanks a lot!) are duplicates, and regardless of which one you select in the font selector you chose, the "text" variant is shown (besides the bold variant, which you can use, too).

This is not the case with the original IBM Plex font, so I think this is a problem with the patching?

🔧 Your Setup

  • Blex Mono Bold Italic Nerd Font Complete.ttf, Blex Mono ExtraLight Italic Nerd Font Complete.ttf, Blex Mono Light Nerd Font Complete.ttf, …
  • macOS 10.13.4

★ Optional

duplicate font

@alexbarton
Copy link
Author

This is not only the case with the "Complete" variants, but with the "Complete Mono", too.

Didn't test the Windows variants, though …

@alexbarton
Copy link
Author

alexbarton commented Apr 13, 2018

Hm, probably this is because all italic variants show "BlexMonoNerdFontComplete-Italic" as "PostScript-Name"? Only the bold-italic variant (correctly) shows "BlexMonoNerdFontComplete-Bold-Italic" (at least that's what the Font Book App of macOS shows) …

@alexbarton alexbarton changed the title BlexMono: All coursive variants shown as duplicates (on macOS, at least) BlexMono: All italic variants shown as duplicates (on macOS, at least) Apr 13, 2018
@ahmedelgabri
Copy link

Same issue with Iosevka

screen shot 2018-05-10 at 22 56 25

screen shot 2018-05-10 at 22 56 27

ahmedelgabri added a commit to ahmedelgabri/dotfiles that referenced this issue May 11, 2018
https://nerdfonts.com/

For a long time I was skeptical but I decided to try it anyway & I like
it to be honest.

I have a switch in case I want to toggle this `$NERD_FONTS`

- I'm using Iosevka Term Nerd Font because Kitty doesn't render the
normal Iosevka ligatures properly kovidgoyal/kitty#297, but in iTerm & Alacrrity it should be fine I suppose.
  - But here is the catch, I can have both fonts installed 🤦 because ryanoasis/nerd-fonts#257 (comment) so for now using the Term one for now (no ligatures)
- Most of the changes are actually in vim mainly the statusline, I also tweaked the statusline too to make is a bit more minimal.
- In tmux, the main major chnages are:
  - in the github status script (won't show anything by default, only if Github is having issue)
  - Battery check this ahmedelgabri/Battery@a4145f5
- zsh prompt check ahmedelgabri/pure@de04c1d
ahmedelgabri added a commit to ahmedelgabri/dotfiles that referenced this issue May 11, 2018
https://nerdfonts.com/

For a long time I was skeptical but I decided to try it anyway & I like
it to be honest.

I have a switch in case I want to toggle this `$NERD_FONTS`

- I'm using Iosevka Term Nerd Font because Kitty doesn't render the
normal Iosevka ligatures properly kovidgoyal/kitty#297, but in iTerm & Alacrrity it should be fine I suppose.
  - But here is the catch, I can have both fonts installed 🤦 because ryanoasis/nerd-fonts#257 (comment) so for now using the Term one for now (no ligatures)
- Most of the changes are actually in vim mainly the statusline, I also tweaked the statusline too to make is a bit more minimal.
- In tmux, the main major chnages are:
  - in the github status script (won't show anything by default, only if Github is having issue)
  - Battery check this ahmedelgabri/Battery@a4145f5
- zsh prompt check ahmedelgabri/pure@de04c1d
ahmedelgabri added a commit to ahmedelgabri/dotfiles that referenced this issue May 11, 2018
https://nerdfonts.com/

For a long time I was skeptical but I decided to try it anyway & I like
it to be honest.

I have a switch in case I want to toggle this `$NERD_FONTS`

- I'm using Iosevka Term Nerd Font because Kitty doesn't render the normal Iosevka ligatures properly kovidgoyal/kitty#297, but in iTerm & Alacrrity it should be fine.
  - But here is the catch, I can't have both fonts installed 🤦 because ryanoasis/nerd-fonts#257 (comment) so for now using the Term one (no ligatures)
- Most of the changes are actually in vim mainly the statusline, I also tweaked the statusline too to make is a bit more minimal.
- In tmux, the main major chnages are:
  - in the github status script (won't show anything by default, only if Github is having issue)
  - Battery check this ahmedelgabri/Battery@a4145f5
- zsh prompt check ahmedelgabri/pure@de04c1d
@alexbarton
Copy link
Author

Could this be related to IBM/plex#161?

@Slotos
Copy link

Slotos commented Mar 24, 2020

This is still an issue. I've managed to fix Hasklig using TTX and editing all postscript names to be shorter.

Generally speaking, NerdFontMono eats a lot of space, causes name warnings on macOS, and makes it impossible to name variant italic fonts without breaking them. Stripping it out allowed me to get working fonts.

This issue could probably be merged with #369 and other similar ones.

@MarioRicalde
Copy link

MarioRicalde commented Jul 20, 2020

@Slotos thanks for the lead on this. I was having a similar issue with Operator Mono. The issue is that Fontname doesn't fit the "bold" bits, so they are all the same name in temrs of Italics.

image

I opened all the variants with Font Forge and edited the Fontname, Family Name and Name for Humans to be much shorter, and it works:

image

@duganchen
Copy link
Contributor

duganchen commented Sep 16, 2020

Well, the "SubFamily" of the Thin Italic variant of Plex gets detected as "Italic". This is another case where it's more reliable to just parse it from the filename.

The same happens with Victor Mono.

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2023
LNKLEO pushed a commit to LNKLEO/Nerd that referenced this issue Nov 24, 2023
Take the style from the filename if it's longer than the subfamily (fixes ryanoasis#257)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants