Skip to content

Fix oversized non-emoji rgba glyphs #734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 12, 2022

Conversation

christianparpart
Copy link
Member

@christianparpart christianparpart commented Jun 12, 2022

Fixes #423 on oversized glyphs.

@github-actions github-actions bot added documentation Improvements or additions to documentation fonts font rasterization and text shaping API and platform implementations VT: rasterizer Rendering of the terminal into a pixmap using `terminal_renderer` library labels Jun 12, 2022
@christianparpart christianparpart force-pushed the fix/oversized-rgba-glyphs branch 3 times, most recently from b9069d9 to 8fed3e8 Compare June 16, 2022 13:45
@christianparpart christianparpart force-pushed the fix/oversized-rgba-glyphs branch from 29e5b27 to 8acc208 Compare July 4, 2022 21:06
@christianparpart christianparpart force-pushed the fix/oversized-rgba-glyphs branch from 8acc208 to 7ffae61 Compare August 6, 2022 17:51
@christianparpart christianparpart force-pushed the master branch 2 times, most recently from 1a1c769 to b93a36e Compare August 7, 2022 08:54
@christianparpart christianparpart force-pushed the fix/oversized-rgba-glyphs branch from 7ffae61 to c624818 Compare August 20, 2022 19:58
@whisperity
Copy link
Member

In general before landing this patch there should be a defence mechanism against corruption due to oversized glyphs in the texture atlas system first.

@christianparpart christianparpart force-pushed the fix/oversized-rgba-glyphs branch from c624818 to 372feb0 Compare September 8, 2022 15:14
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Sep 8, 2022
@christianparpart christianparpart force-pushed the fix/oversized-rgba-glyphs branch 5 times, most recently from a14d100 to ceea58a Compare September 11, 2022 08:52
@christianparpart christianparpart marked this pull request as ready for review September 11, 2022 08:52
@christianparpart
Copy link
Member Author

In general before landing this patch there should be a defence mechanism against corruption due to oversized glyphs in the texture atlas system first.

I've done that now as an "assert", because it's guarded earlier, and if something is leaking through, then it's a bug that should be reported and fixed rather than silently ignored.

Oversized glyphs however should not be a problem now anyways (famous last words). :)

@christianparpart christianparpart force-pushed the fix/oversized-rgba-glyphs branch 8 times, most recently from d21f61a to a0766c2 Compare September 11, 2022 21:10
@christianparpart christianparpart force-pushed the fix/oversized-rgba-glyphs branch 4 times, most recently from a90c6c1 to eb399dc Compare September 12, 2022 08:03
@christianparpart christianparpart force-pushed the fix/oversized-rgba-glyphs branch from eb399dc to c6ca063 Compare September 12, 2022 20:28
@christianparpart christianparpart merged commit 2c8de60 into master Sep 12, 2022
@christianparpart christianparpart deleted the fix/oversized-rgba-glyphs branch September 12, 2022 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fonts font rasterization and text shaping API and platform implementations VT: rasterizer Rendering of the terminal into a pixmap using `terminal_renderer` library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unicode character display (strangely wide or missing)
2 participants