Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
About scaling fonts — Gideros Forum

About scaling fonts

huzeyfehuzeyfe Member
edited October 2011 in General questions
I started to use Gideros just a few days ago and I loved it.

I have a problem with font scaling.
Automatic Image Resolution works with fonts. But; if the aspect ratio of logical dimensions and aspect ratio of the device are different, fonts look a little rough.
Logical dimensions: 320x480
Device resolution: 240x320

240 / 320 = 0,75
320 / 480 = 0,67

I used 0,7 to scale. I tried all scale modes but it doesn't work.

Is there any solution for that?
Thank you.

Dislikes: Gracille

+1 -1 (+0 / -1 )Share on Facebook


  • atilimatilim Maintainer

    I'm glad you love it :)

    If you load the font with texture filtering, this may improve the quality:
    local font = Font.new("font.txt", "font.png", true) -- 3rd parameter enables/disables filtering

  • atilimatilim Maintainer
    For bitmap fonts (as shown here: http://www.dafont.com/bitmap.php), it's better to disable the filtering and use scale factors like 1x, 2x, 3x, etc. For other types of fonts, enable the filtering gives better results.
  • Thank you very much for your quick response.

    It's really much better with texture filtering.
    I think the quality is sufficient for applications now.
Sign In or Register to comment.