Jump to content

Problem with dxCreateFont


neby

Recommended Posts

Posted (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 by neby
  • Moderators
Posted

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 ?

The rEvolution is coming ...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...