crazyde21 Posted September 27, 2013 Share Posted September 27, 2013 I want to set the font of label . But Chinese invalid! Such as: GUIEditor = { label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.label[1] = guiCreatelabel(364, 238, 124, 77, "你好=hello", false) local font_0 = guiCreateFont(":guieditor/fonts/simsun.ttf",18) guiSetFont(GUIEditor.label[1], font_0) guiSetProperty(GUIEditor.label[1], "NormalTextColour", "FFAAAAAA") end ) set the font of label text"你好"invalid, but english hello Useful !! Link to comment
K4stic Posted September 27, 2013 Share Posted September 27, 2013 Fond Text's maked for English words & grammat Link to comment
crazyde21 Posted September 28, 2013 Author Share Posted September 28, 2013 Fond Text's maked for English words & grammat What did you say? I want to set the Chinese fonts. Link to comment
xXMADEXx Posted September 28, 2013 Share Posted September 28, 2013 Make sure that the guieditor resource is running, and make sure to put the .ttf file in the meta.xml Link to comment
crazyde21 Posted September 28, 2013 Author Share Posted September 28, 2013 Make sure that the guieditor resource is running, and make sure to put the .ttf file in the meta.xml Label Font Size setting is invalid! Link to comment
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