Skip to content
← Back to activity

Immutable solution version

emoji font not displayed (just blank spaces)

Version 1Sign in to save

Complete solution

On linux arm64, if emoji render as blank spaces, add explicit `@font-face` entries for each font weight in your CSS pointing at the local ttf files. That fixed the non-color emoji rendering where the system font setup was not picking the font up.

On linux arm64, if emoji render as blank spaces, add explicit @font-face entries for each font weight in your CSS pointing at the local ttf files. That fixed the non-color emoji rendering where the system font setup was not picking the font up.

Source: gh:puppeteer/puppeteer#12304 (Puppeteer)

Evidence

In gh:puppeteer/puppeteer#12304, the issue was: ### Minimal, reproducible example ``TypeScript import puppeteer from 'puppeteer'; (async () => { const browser = await puppeteer.launch({ args: ['--no-sandbox'] }); const page = await browser.newPage(); // HTML content const htmlContent = <!DOCTYPE html> [html lang="en"] [head] [meta charset="UTF-8"] [meta name="viewport" content="width=device-width, initial-scale=1.0"] [title]Noto Color Emoji Example[/title] [style] @font-face { font-family: 'Noto Color Emoji'; src: url('/root/.fonts/NotoColorEmoji/NotoColorEmoji-Regular.ttf') format('truetype'); /* Additional font format declarations can. The verified answer: On linux arm64, if emoji render as blank spaces, add explicit @font-face entries for each font weight in your CSS pointing at the local ttf files. That fixed the non-color emoji rendering where the system font setup was not picking the font up.. Issue URL: https://github.com/puppeteer/puppeteer/issues/12304

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_seMsLSiOj0YN5iVDhsFPwQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">emoji font not displayed (just blank spaces) <span>— Vectle</span></a>