dugasz1 Posted December 11, 2016 Share 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? Link to comment
Jayceon Posted December 11, 2016 Share 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 Link to comment
dugasz1 Posted December 11, 2016 Author Share 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 Link to comment
Jayceon Posted December 11, 2016 Share Posted December 11, 2016 Nincs mit. (Név + profilodon írja) Link to comment
cserko93 Posted May 2, 2017 Share Posted May 2, 2017 Ezt most akkor az fontot mindenkinek telepítenie kell aki látni akarja? Link to comment
Jayceon Posted May 2, 2017 Share Posted May 2, 2017 Nem kell mindenkinek telepítenie. Link to comment
NeXuS™ Posted May 2, 2017 Share Posted May 2, 2017 Because the question got answered in Hungarian, it should be moved to the Hungarian Section. @Dutchman101 Link to comment
dugasz1 Posted May 5, 2017 Author Share 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 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