News for hackers. Stuff that matters.
Re:Text Rendering Hates You by jimbo1qaz on Sunday September 29, 2019 @07:53AM (#21106514)
I think Chrome (PC/Android) implements synthetic bold by expanding the glyph outline, then drawing it with subpixel off. It's prettier than Firefox's "horizontal-only extrusion", but sometimes leads to funny artifacts at sharp corners.
Re:Text Rendering Hates You by jfk13 on Sunday September 29, 2019 @12:00PM (#21107762)
How Firefox implements synthetic-bold varies across different platforms, actually, depending on the features of the (platform-specific) font rendering backend it's using. It uses the paint-multiple-times-with-a-small-offset approach when the font backend doesn't seem to offer a "better" synthetic-bold option.
Re:Text Rendering Hates You by Gankro on Sunday September 29, 2019 @01:37PM (#21108397)
Yeah the smearing approach is the only one that merits a callout from my position in the pipeline, because the other approaches are handled by your shaper or rasterizer, which are usually 3rd party libs that can be mostly regarded as black boxes.