[skpdf] Emojis print blank.
Categories
(Core :: Printing: Output, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
The only real test failure from turning skpdf on on nightly, is a failure in the test added for bug 1723787.
STR:
- Enable skpdf.
- Go to https://wpt.live/css/printing/emoji-print.html
- Print to pdf.
ER:
- Emoji prints.
AR:
- Blank page.
I haven't dug further just yet.
| Assignee | ||
Updated•2 days ago
|
Comment 1•2 days ago
|
||
Emilio, this seems to work for me fine on Linux. Are you on macOS, by chance?
| Assignee | ||
Comment 2•2 days ago
|
||
No, I was on Linux, and so is the CI run FWIW. Curious, did you actually "Save as PDF" with print.experimental.skpdf=true.
Comment 3•2 days ago
|
||
I did toggle the pref, and on my nightly build it still works for me. On Debian Linux.
Comment 4•2 days ago
|
||
The resulting output pdf with skpdf=true pref on.
| Assignee | ||
Comment 5•2 days ago
|
||
Ah, I think I found something. My default emoji font is a COLR font. Maybe yours isn't?
Comment 6•2 days ago
|
||
The inspector says Twemoji Mozilla.
| Assignee | ||
Comment 7•2 days ago
|
||
Ah, for me it's Noto Color Emoji
| Assignee | ||
Comment 8•2 days ago
|
||
Without this fix, we bail out in:
This matches Skia's SkTypeface_FreeType::GetUnitsPerEm (but without the
SkIntToScalar nonsense because the int->float->int conversion seems
just useless?).
Updated•2 days ago
|
| Assignee | ||
Updated•2 days ago
|
Comment 10•1 day ago
|
||
| bugherder | ||
Description
•