debu99 Posted August 9, 2019 Share Posted August 9, 2019 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); Link to comment Share on other sites More sharing options...
MrPancakers Posted August 9, 2019 Share Posted August 9, 2019 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. Link to comment Share on other sites More sharing options...
Chiao Posted August 9, 2019 Share Posted August 9, 2019 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? Link to comment Share on other sites More sharing options...
Mondi_DE Posted August 9, 2019 Share Posted August 9, 2019 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 Link to comment Share on other sites More sharing options...
Chiao Posted August 9, 2019 Share Posted August 9, 2019 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? Link to comment Share on other sites More sharing options...
Mondi_DE Posted August 12, 2019 Share Posted August 12, 2019 I don't know if this is possible. the Fonts of Rage are defined in the rage-sharp.dll i didn't find any way to set some othe font for UIText. maybe you ask @ragempdev if this is possible Link to comment Share on other sites More sharing options...
MrPancakers Posted August 13, 2019 Share Posted August 13, 2019 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? Link to comment Share on other sites More sharing options...
ragempdev Posted August 13, 2019 Share Posted August 13, 2019 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now