neby Posted March 5, 2022 Share Posted March 5, 2022 (edited) Hi, I've got a little problem with dxCreateFont function. Well, I try to create a new font style like this: local icon = dxCreateFont("FontAwesome.ttf") meta.xml: <file src="FontAwesome.ttf" /> And it write warning: Quote WARNING: sw_dashboard\client.lua:13: Error creating font @ 'dxCreateFont' [FontAwesome.ttf] Can somebody help me please? Edited March 5, 2022 by neby Link to comment
βurak Posted March 8, 2022 Share Posted March 8, 2022 (edited) There is no problem. Are you sure the font file is in the same folder as the script? Edited March 8, 2022 by Burak5312 Link to comment
Moderators Citizen Posted March 9, 2022 Moderators Share Posted March 9, 2022 Can you attach the .ttf file here please ? Can you also give us a screenshot of the folder where you have put your .ttf file ? Link to comment
neby Posted March 13, 2022 Author Share Posted March 13, 2022 My problem solved, I tried again with an .otf file and it was okay. Thank you 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