DisplayListPlayerSkia::draw_glyph_run()
should not ignore DrawEmoji
s in a glyph run and blit them from a bitmap, like it already does for DrawGlyph
. You would probably want to look at how Gfx::Painter handles emojis and replicate its behavior using Skia APIs.
Just to clarify, Skia has its own text rendering capabilities, and we would like to start using them in the future. Currently we are not using them, because there is not way to construct SkTypeface
from Gfx::Typeface
because raw font binary is gone by the time we reach painting. Fixing that would require larger refactoring, but we can totally get there eventually.
HTML that is currently not rendered currently with --enable-skia-painting
:
<!DOCTYPE html>
<div style="font-size: 100px; text-align: center; margin-top: 20%">π</div>
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too