Jump to content

RAGE.Game.Font doesn't support chinese/korean/japanese


Recommended Posts

Posted

Tried all kinds of font provided by ragemp, all of them don't support SEA language(including simplied/traditional chinese, korean, japanese)


            // Draw the speedometer
            RAGE.Game.UIText.Draw("油耗: ", new Point(1025, 560), 0.5f, Color.White, RAGE.Game.Font.ChaletComprimeCologne, false);
            RAGE.Game.UIText.Draw(totalGas, new Point(1175, 560), 0.5f, Color.White, RAGE.Game.Font.Pricedown, false);
            RAGE.Game.UIText.Draw("里程: ", new Point(1025, 590), 0.5f, Color.White, RAGE.Game.Font.ChaletLondon, false);
            RAGE.Game.UIText.Draw(totalKms, new Point(1175, 590), 0.5f, Color.White, RAGE.Game.Font.ChaletComprimeCologne, false);
            RAGE.Game.UIText.Draw("时速KM/H: ", new Point(1025, 650), 0.5f, Color.White, RAGE.Game.Font.HouseScript, false);
            RAGE.Game.UIText.Draw(speed.ToString(), new Point(1175, 650), 0.75f, Color.White, RAGE.Game.Font.ChaletComprimeCologne, false);
            RAGE.Game.UIText.Draw("Integridad健康: ", new Point(1025, 620), 0.5f, Color.White, RAGE.Game.Font.Monospace, false);

 

 

165e5f5f4be9f042.png

 

Posted

As far as I know GTA V doesn't support chinese characters.

This is GTA's font's and not something RAGE can take control of. I'd suggest using CEF and create a UI in that instead of using drawText, that way you can makea a browser that supports your font.

Posted

But the chinese couldn't show up in TextLabel,even the japanese,but some china server can make it happen.Is it a problem with GTANetwork or sth else about the ragemp?

Posted

did you check if the fonts you set contain the chinese characters?

i don't know if you can set your own fonts for 'Rage.Game.Font' maybe you try this or otherwise you will need to use CEF for your GUI

 
Posted
10 minutes ago, Mondi_DE said:

did you check if the fonts you set contain the chinese characters?

i don't know if you can set your own fonts for 'Rage.Game.Font' maybe you try this or otherwise you will need to use CEF for your GUI



 

How to set it for Rage.Game.Font? Where can i find it?

Posted
On 8/9/2019 at 11:58 PM, Chiao said:

But the chinese couldn't show up in TextLabel,even the japanese,but some china server can make it happen.Is it a problem with GTANetwork or sth else about the ragemp?

Do you have any screenshots of this?

Posted

All that fonts are "provided" by Rockstar Games and are a part of the game, not RAGE Multiplayer. ChaletComprimeCologne should support Korean, Traditional Chinese and Japanese though.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...