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

An error occurred when the noto font used fi or fl #1400

Closed
3 tasks done
HusuSama opened this issue Nov 3, 2023 · 7 comments
Closed
3 tasks done

An error occurred when the noto font used fi or fl #1400

HusuSama opened this issue Nov 3, 2023 · 7 comments

Comments

@HusuSama
Copy link

HusuSama commented Nov 3, 2023

🗹 Requirements

  • I have searched the issues for my issue and found nothing related and/or helpful
  • I have searched the FAQ for help
  • I have searched the Wiki for help

🎯 Subject of the issue

Experienced behavior:
This problem occurs when I use fonts that contain sans, but NotoMono is fine.
I tried issue #879, but it didn't work.

Expected behavior:
Fonts can be displayed normally

Example symbols:
fix config flask

🔧 Your Setup

  • Which font are you using (e.g. Anonymice Powerline Nerd Font Complete.ttf)?
    • NotoSansMNerdFontMono-Medium.ttf
  • Where did you get the file from (download link, self patched, source downloaded from link...)
    • release
  • Which terminal emulator are you using (e.g. iterm2, urxvt, gnome, konsole)?
    • neovide、powershell 7
  • Are you using OS X, Linux or Windows? And which specific version or distribution?
    • Windows 11

★ Screenshots (Optional)

image

@Finii Finii added this to the v3.1.0 milestone Nov 3, 2023
@Finii Finii added the ⚠ bug label Nov 3, 2023
@Finii
Copy link
Collaborator

Finii commented Nov 3, 2023

Sorry to hear of your problem.

Ah I see, we remove only Liga 14 - 18, but obviously that is in 34. That is a mistake by me.

Screenshot 2023-11-03 at 23 36 19

@Finii Finii added the confirmed label Nov 3, 2023
@HusuSama
Copy link
Author

HusuSama commented Nov 6, 2023

Is it necessary for me to wait for the next version in order to be able to use it?😭

@Finii Finii closed this as completed in e87b348 Nov 6, 2023
@Finii
Copy link
Collaborator

Finii commented Nov 6, 2023

Well, or you need to remove the table 34 yourself (I can tell you how).
Or I can create a fixed version, but for that I would need to know which fonts you really need, and which patches.

I mean... which of these:

NotoSansMono-Black.ttf
NotoSansMono-Bold.ttf
NotoSansMono-CondensedBlack.ttf
NotoSansMono-CondensedBold.ttf
NotoSansMono-CondensedExtraBold.ttf
NotoSansMono-CondensedExtraLight.ttf
NotoSansMono-CondensedLight.ttf
NotoSansMono-CondensedMedium.ttf
NotoSansMono-CondensedSemiBold.ttf
NotoSansMono-CondensedThin.ttf
NotoSansMono-Condensed.ttf
NotoSansMono-ExtraBold.ttf
NotoSansMono-ExtraCondensedBlack.ttf
NotoSansMono-ExtraCondensedBold.ttf
NotoSansMono-ExtraCondensedExtraBold.ttf
NotoSansMono-ExtraCondensedExtraLight.ttf
NotoSansMono-ExtraCondensedLight.ttf
NotoSansMono-ExtraCondensedMedium.ttf
NotoSansMono-ExtraCondensedSemiBold.ttf
NotoSansMono-ExtraCondensedThin.ttf
NotoSansMono-ExtraCondensed.ttf
NotoSansMono-ExtraLight.ttf
NotoSansMono-Light.ttf
NotoSansMono-Medium.ttf
NotoSansMono-Regular.ttf
NotoSansMono-SemiBold.ttf
NotoSansMono-SemiCondensedBlack.ttf
NotoSansMono-SemiCondensedBold.ttf
NotoSansMono-SemiCondensedExtraBold.ttf
NotoSansMono-SemiCondensedExtraLight.ttf
NotoSansMono-SemiCondensedLight.ttf
NotoSansMono-SemiCondensedMedium.ttf
NotoSansMono-SemiCondensedSemiBold.ttf
NotoSansMono-SemiCondensedThin.ttf
NotoSansMono-SemiCondensed.ttf
NotoSansMono-Thin.ttf

and which variant

Nerd Font
Nerd Font Mono
Nerd Font Propo

In case you need only the one font mentioned in the original report above I will append it below:

Nerd Fonts Patcher v3.0.2-108 (4.6.1) (ff 20230101)
DEBUG: Naming mode 5
DEBUG: Monospace check: Panose says "monospaced"; glyph-width-mono True
INFO: Removing ligatures from configfile `Subtables` section
DEBUG: Successfully removed subtable: 'liga' Standard Ligatures lookup 34 subtable
DEBUG: Successfully removed subtable: Ligature Substitution lookup 18 subtable
DEBUG: Successfully removed subtable: Ligature Substitution lookup 17 subtable
DEBUG: Successfully removed subtable: Ligature Substitution lookup 16 subtable
ERROR: Failed to remove subtable: Ligature Substitution lookup 15 subtable
ERROR: Failed to remove subtable: Ligature Substitution lookup 14 subtable
DEBUG: Extended glyphs wider bounding box than basic glyphs
DEBUG: Font has negative right side bearing in extended glyphs
DEBUG: Final font cell dimensions 600 w x 1362 h
Done with Patch Sets, generating font...
DEBUG: Weight approximations: OS2/PS/Name: 500/500/500 (from 500/'Medium'/'Medium')
DEBUG: =====> Family (ID 1)      ok       (17 <=31): NotoSansM NFM Med
DEBUG: =====> SubFamily (ID 2)   ok       ( 7 <=31): Regular
DEBUG: =====> Fullname (ID 4)    ok       (17 <=63): NotoSansM NFM Med
DEBUG: =====> PSN (ID 6)         ok       (16 <=63): NotoSansMNFM-Med
DEBUG: =====> PrefFamily (ID 16) ok       (24 <=31): NotoSansM Nerd Font Mono
DEBUG: =====> PrefStyles (ID 17) ok       ( 6 <=31): Medium
DEBUG: Tweaking 1/1
DEBUG: Changing flags from 0x1F to 0x17
DEBUG: Changing lowestRecPPEM from 8 to 6
   NotoSansM NFM Med
   \===> 'NotoSansMNerdFontMono-Medium.ttf'

NotoSansMNerdFontMono-Medium.ttf.zip

@HusuSama
Copy link
Author

HusuSama commented Nov 7, 2023

I would like to utilize the NotoSansMNerdFontMono font series, and it would be greatly appreciated if you could provide a Notosansmnerdfontmono-regular.ttf file. Currently, the NotoSansMNerdFontMono-Medium.ttf font is displaying correctly.😊

@Finii
Copy link
Collaborator

Finii commented Nov 7, 2023

Here is the complete Nerd Font Mono set

  • as xz because that reduces the size considerably (6 MB instead of 40 MB)
  • additional zip layer because Github does not know/allow xz only zip 🙄

NotoSansMNerdFontMono.tar.xz.zip 6'006'935 bytes

I hope you can unpack it. Zip is quite common, and modern tar can handle xz automagically.

Edit:
Ah you are on Windows. I have no clue which compressors are common there and what they handle...
But WinRAR handles all three formats, so you should be able to unpack with that. Several ten years ago everyone had WinRAR, so ...

@HusuSama
Copy link
Author

HusuSama commented Nov 9, 2023

thank you😊

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 May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants