Skip to content

[rtext] Font glyph images height could be bigger than font size #3858

Closed

Description

@raysan5

Font atlas generation assumes that font glyph images height can not be bigger than font size (assumed as max height) but it seems that's not the case, it should be reviewed.

More detailed info here: #2991 (comment)

Activity

  1. designerfuzzi commented on Mar 4, 2024

    @designerfuzzi

    closed! says it all.

  2. self-assigned this
    on Apr 21, 2024
  3. raysan5 commented on Aug 25, 2024

    @raysan5
    OwnerAuthor

    @designerfuzzi Please, could you provide a font to test this issue, I've been trying to find one for about an hour and I can't find any...

  4. raysan5 commented on Sep 3, 2024

    @raysan5
    OwnerAuthor

    It seems this issue is very difficult to reproduce, closing it. A warning log message was added in case it happens.

  5. fosskers commented on Aug 4, 2025

    @fosskers
    Contributor

    Forgive the resurrection. If the warning in question is:

    WARNING: FONT: Character [0x0000007c] size is bigger than expected font size

    then I have a font that triggers this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions