Skip to content

🐞 Fix font measurement in GLES3 Clay renderer with stb font library.#572

Open
luke10x wants to merge 1 commit intonicbarker:mainfrom
luke10x:bugfix/gles3-renderer-measure-text-to-use-correct-font
Open

🐞 Fix font measurement in GLES3 Clay renderer with stb font library.#572
luke10x wants to merge 1 commit intonicbarker:mainfrom
luke10x:bugfix/gles3-renderer-measure-text-to-use-correct-font

Conversation

@luke10x
Copy link
Copy Markdown
Contributor

@luke10x luke10x commented Jan 21, 2026

Bugfix for a bug in GLES3 renderer:

  • Fix incorrect font data access in Stb_MeasureText.
  • Ensure that appropriate font data is used in Stb_MeasureText (as specified in config.fontId)
  • Before this fix it was always using the data of the first font in Stb_MeasureText, which was not always correct.
image

- Fix incorrect font data access in Stb_MeasureText.
- Ensure that appropriate font data is used in Stb_MeasureText
  (as specified in config.fontId)
- Before this fix it was always using the data of the first font in Stb_MeasureText,
  which was not always correct.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant