Slick Forums

Discuss the Slick 2D Library
It is currently Sat Jan 18, 2020 4:58 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Apr 08, 2015 2:42 pm 

Joined: Tue Apr 07, 2015 4:13 pm
Posts: 1
i needed suppoert in "hebrew" so i used unicodeFont and i have a little problem with it.

i donno why its happening but my text is sometimes getting blurry (same letters sometimes work and sometimes doesnt) + it take much time to load.

i have different texts with different sizes so each text is on different unicode and its making the init take too long, maybe im doing it wrong?

anyway the main problem is the blur i get. (i noticed that with different sizes it get blury more - 22 suck, 24 good and thats only 1 example)

my code
java.awt.Font awtFont = new java.awt.Font("Arial", java.awt.Font.BOLD, fontSize);
         myFont = new UnicodeFont(awtFont);
         //english + numbers
         myFont.getEffects().add(new ColorEffect(color));

here is a pic
with some that looks good and some that look bad.
i will put the bad part in black border(it look a bit chewy - zoom in on the letters u will see it)

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group