Skip to content

AddFont*TTF packs characters with wrong aspect ratio #328

@Pagghiu

Description

@Pagghiu

I don't know since when this was introduced but I see the atlas generated by ttf files to be wrong.

On the latest master opengl_example as reference

//Default font should be proggyclean at 13
 io.Fonts->AddFontDefault()

addfontok

io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);

addfontnotok

Am I missing something that has changed in font handling with oversampling or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions