Awang

Enable fonts load from rawdata

Recommended Posts

Hey Community!

I wonder, if its possible to make dxCreateFont function to load font files from raw data in the future updates? Could be a good way to secure my paid fonts.
 

Share this post


Link to post

You can read the font data from server, send it to client, load the font and then fileDelete

Share this post


Link to post

Yes, but if somebody just simple do a trick with the writing/reading/deleting acces of the folder then can allow to create the font, but after the script has no right for delete it... Thats why I prefer raw data like in shaders, models other lower sized files, send to cliens with LatentEvents...

Share this post


Link to post
2 hours ago, Awang said:

Yes, but if somebody just simple do a trick with the writing/reading/deleting acces of the folder then can allow to create the font, but after the script has no right for delete it... Thats why I prefer raw data like in shaders, models other lower sized files, send to cliens with LatentEvents...

It is almost impossible to be faster than what MTA takes to load/delete the file

Share this post


Link to post

Its not about speed, its about the permission of read/write/change... Like in Linux, you can doit in Windows... 

Share this post


Link to post
1 hour ago, Feche1320 said:

It is almost impossible to be faster than what MTA takes to load/delete the file

MTAs file loading system is actually pretty bad.

Share this post


Link to post

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.