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

[Bug] Custom font doesn't render non-english characters #333

Open
pindavka opened this issue Mar 24, 2021 · 13 comments
Open

[Bug] Custom font doesn't render non-english characters #333

pindavka opened this issue Mar 24, 2021 · 13 comments
Labels
bug Something isn't working.

Comments

@pindavka
Copy link

Describe the bug
I do not have a font in the cheat

Screenshots
2021-03-24_17 58 48

Additional context
meteor 0.4.2, minecraft 1.16.5

@pindavka pindavka added the bug Something isn't working. label Mar 24, 2021
@arlomcwalter
Copy link
Member

Thats because your language is not english, meteor custom font cannot render russian characters.

@MineGame159 MineGame159 changed the title [Bug] [Bug] Custom font doesn't render non-english characters Mar 24, 2021
@RedCarlos26
Copy link
Contributor

Is this a bug or it is just not supported?

@RedCarlos26
Copy link
Contributor

Is this a bug or it is just not supported?

@seasnail8169 ?

@arlomcwalter
Copy link
Member

Its not really a bug, its known that non english characters don't work but it is something that would be nice to fix.

@SKevo18
Copy link

SKevo18 commented Oct 8, 2021

I am having the same issue - no text in the GUI is visible at all. I have just installed the mod (0.4.5, 1.17.1). No other mod except for Fabric API 0.40.1 is enabled. The language I am using is English (UK), switching to US doesn't help either. So this isn't always related to Minecraft's language.

image

@arlomcwalter
Copy link
Member

that is a separate bug, try toggling custom font

@arlomcwalter
Copy link
Member

wait actually no i have no idea what is happening there

@SKevo18
Copy link

SKevo18 commented Oct 9, 2021

I've done some more digging in the fonts folder, and managed to fix the issue. Here's what I did:

  1. Navigate to %appdata%\.minecraft\meteor-client\fonts (this might vary if you use MultiMC - in that case, locate your instance folder)
  2. When I tried to open JetBrains Mono.ttf, Windows said that "It is not a valid font file", although other fonts opened fine. This made me think that the JetBrains font is broken.
  3. Remove the broken JetBrains Mono.ttf from the fonts folder.
  4. Download a new one from https://www.jetbrains.com/lp/mono/
  5. Locate JetBrainsMono-Regular.ttf in the downloaded ZIP
  6. Rename it to JetBrains Mono.ttf and drop it in fonts (replace it).

This fixed my issue, and text is visible:

image

My assumption is that the font file got broken at certain point during my Meteor client installation. My problem was probably not related to this issue, but it might help others with the same issue. This should be put in the FaQ, I could make a PR for it.

@arlomcwalter
Copy link
Member

the font file isn't broken for anyone else so no it shouldn't be, it was clearly caused by something in your system or something you did

@hexadecimal233
Copy link
Contributor

hexadecimal233 commented Jan 23, 2023

Custom font(non-english) works fine with caxton, but that mod is in dev
The mod also contains several patchs to the vanilla text render
Just turn off custom fonts and load the resource pack.

@arlomcwalter
Copy link
Member

what

@hexadecimal233
Copy link
Contributor

hexadecimal233 commented Jan 25, 2023

what

:trollface:

Caxton
#1854 wont happen when this mod is installed

image

@arlomcwalter
Copy link
Member

@MineGame159 we should probably look into supporting the currently loaded language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
5 participants