dugasz1 Posted December 11, 2016 Posted December 11, 2016 Hello! I would like to use font symbols like Font Awesome. But my problem is how can i tell to the dxDrawText function to draw the youtube icon for example? The font awesome's website says the character code is  for it. But in this format the html can use it. But how can i create a string which contains the f167 (hex) character code? Is it even possible?
Jayceon Posted December 11, 2016 Posted December 11, 2016 http://fontawesome.io/cheatsheet/ Innen magát az ikont másold ki és ha beillesztetted oda ahova szeretnéd egy üres négyzetnek kell lennie. Esetleg, hogy tudd milyen ikont használsz, csinálj egy táblát. local icons = { ["automobile"] = "", ["trash"] = "", } --dxDrawText(icons["automobile"], ...) 1
dugasz1 Posted December 11, 2016 Author Posted December 11, 2016 Köszönöm. (Honnan tudtad, hogy magyar vagyok?) Ó én már kerestem hogy lehet karaktereket kódolni Thank you. (How do you know that i'm Hungarian?) Ohh, I tried to convert int to character somehow
cserko93 Posted May 2, 2017 Posted May 2, 2017 Ezt most akkor az fontot mindenkinek telepítenie kell aki látni akarja?
NeXuS™ Posted May 2, 2017 Posted May 2, 2017 Because the question got answered in Hungarian, it should be moved to the Hungarian Section. @Dutchman101
dugasz1 Posted May 5, 2017 Author Posted May 5, 2017 (edited) On 2016. 12. 11. at 20:44, Jayceon said: http://fontawesome.io/cheatsheet/ Innen magát az ikont másold ki és ha beillesztetted oda ahova szeretnéd egy üres négyzetnek kell lennie. Esetleg, hogy tudd milyen ikont használsz, csinálj egy táblát. local icons = { ["automobile"] = "", ["trash"] = "", } --dxDrawText(icons["automobile"], ...) I translate it to English if it's oky. He wrote this: http://fontawesome.io/cheatsheet/ Select the icon you want and copy it. Paste it somewhere you want in the script and a square should be appear. Somhow like this: local icons = { ["automobile"] = "", ["trash"] = "", } --dxDrawText(icons["automobile"], ...) (The square is the character code of your character) Edited May 5, 2017 by dugasz1
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