-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently, fonts are rendered to OffscreenCanvas at 1x size. Chromium renders using vector outlines (outside of very specific scenarios like MS Gothic), and anti-aliasing is mandatory, which is harmful to the clarity of the compact bitmap font. From what I can tell, bitmap strikes are ignored even if the EBDT/EBLC tables are present in the TTF font (again, outside of certain specific fonts). Tested on Windows but should also test on Linux.
Currently, pixels below 75% brightness are ignored to improve clarity. Better ways of avoiding anti-aliasing include:
- avoiding the browser font engine
- perhaps rendering at larger size and then down sample to minimize effect of anti-aliasing (not sure how well it would work)
This isn't really necessary for the current jiskan16 font, which is already quite clear, but would be necessary for more detailed and/or compact fonts.
Metadata
Metadata
Assignees
Labels
No labels