mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-10-03 18:23:47 +10:00
* fix(pdf): render emoji via a Noto Emoji script fallback Emoji in resume content (flags, globe, pictographs) rendered as mojibake in the preview and PDF export because the per-codepoint fallback chain registered no emoji-capable font: every font in the stack lacked the glyphs, so layout fell through to single-byte standard-font encoding — each UTF-16 code unit truncated to its low byte (#3321). Follows the #2986/#3190 script-fallback pattern: detect emoji content (regional indicators unioned with Extended_Pictographic), map it to the monochrome Noto Emoji web font (TrueType glyf outlines, PDF-embeddable), and register it in the fallback stack for both serif and sans stacks. Out-of-range weight requests alias to the nearest served weight (300-700) so registration never falls back to the preview subset. * fix(pdf): detect keycap emoji via the combining enclosing keycap Greptile review on #3351: keycap sequences like 1\uFE0F\u20E3 carry no regional indicator and no Extended_Pictographic codepoint, so they bypassed the emoji detector and rendered garbled — the exact class of bug #3321 fixes. Union U+20E3 into the detector; every valid keycap sequence contains it. * Update packages/utils/src/locale.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * [autofix.ci] apply automated fixes --------- Co-authored-by: Amruth Pillai <im.amruth@gmail.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>