Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

[WIP] Fix #541 - Font rendering improvements #753

Merged
merged 10 commits into from Oct 10, 2017

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Oct 3, 2017

There are still cases where the text is blurry during rendering, due to subpixel anti-aliasing. Setting the {alpha: false} flag helps in this case, but has the downside that we can no longer have a transparent background.

This is some experimentation around rendering improvements, if we deprecate the background.

This also opens up the ability to cache words / letters as images, and use context.drawImage as opposed to drawText for frequently used tokens, which could potentially speed up rendering later. That strategy isn't feasible currently, because the text is blurry.

@bryphe
Copy link
Member Author

bryphe commented Oct 7, 2017

This also fixes #541

@bryphe bryphe changed the title [WIP] Font rendering improvements [WIP] Fix #541 - Font rendering improvements Oct 7, 2017
@bryphe bryphe merged commit f5f2be0 into master Oct 10, 2017
@bryphe bryphe deleted the bryphe/font-rendering-improvements branch October 10, 2017 23:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant