Skip to content

bug: text font rendering height is wrong in safari #1023

@dragoncoder047

Description

@dragoncoder047

Bug Description

textStyleShangeFont playtest

safari:

Image

chrome & firefox:

Image

Version

master

Playground Link

No response

Extra information

discovered when I was rewriting the texture packer to pack fonts as well, seems safari reports an entire line's worth of blank pixels above the "e" in romantique.ttf while still reporting the character bounding box as normal, whereas chrome & firefox don't for some odd reason, maybe romantique.ttf is malformed?

Summary

  • Fixed in v4000
  • Fixed in v3001

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions