Depko Posted May 22, 2019 Share Posted May 22, 2019 Hi! I ask for help... Faced the following problem: At creation of the text and pictures, they bad quality. A little pixel and indistinct. (dxDrawImage, dxDrawText) What to do? How to correct it? And such still question: How to add the font and to apply it to dxDrawText? I am a new user in mta scripting. How to create the text, pictures without loss of quality? Link to comment
Scripting Moderators ds1-e Posted May 22, 2019 Scripting Moderators Share Posted May 22, 2019 (edited) 6 minutes ago, Depko said: Hi! I ask for help... Faced the following problem: At creation of the text and pictures, they bad quality. A little pixel and indistinct. (dxDrawImage, dxDrawText) What to do? How to correct it? And such still question: How to add the font and to apply it to dxDrawText? 1. Maybe that's problem? Wiki says: Quote Image files should ideally have dimensions that are a power of two, to prevent possible blurring. Power of two: 2px, 4px, 8px, 16px, 32px, 64px, 128px, 256px, 512px, 1024px... 2. https://wiki.multitheftauto.com/wiki/DxCreateFont + https://wiki.multitheftauto.com/wiki/DxDrawText font, optional argument. Edited May 22, 2019 by majqq 1 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