Ugly fonts/DrawText

About Monkey 2 Forums Monkey 2 Programming Help Ugly fonts/DrawText

This topic contains 1 reply, has 2 voices, and was last updated by  Mark Sibly 2 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5083

    Hezkore
    Participant

    The font loading part seems rather ugly in Monkey 2/Mojo.
    This is the font Consola 14px in Atom (left) and Ted2GO (right)
    And as you can see, Atom looks a lot smother and better.
    It’s especially noticeable on the # before Import.
    Is there some way of fixing this?
    Also it seems there is no kerning, a lot of fonts rely on kerning and will look really bad without it.

    #5092

    Mark Sibly
    Keymaster

    It’s hard to compare the 2 as background/foreground colors makes a lot of difference. In particular, higher constrast colors produce more noticeable jaggies.

    That said, there are also a bunch of settings in freetype that may or may not improve quality – depending on the specific font. Have a poke arund in the mojo font loader code if you want, but I wont be spending any time on this for a while yet myself.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.