Skip to content

πŸ–ŒοΈ Let authors choose fixed emoji artwork - #51

Merged
JFWooten4 merged 8 commits into
mainfrom
emoji-text
Nov 13, 2026
Merged

JFWooten4 merged 8 commits into
mainfrom
emoji-text

Conversation

@JFWooten4

Copy link
Copy Markdown
Member

Summary

Let the document author choose a fixed emoji artwork style rather than relying on the PDF reader's native emoji font. Retain bundled Twemoji as the default.

Implementation

  • Offer seven named styles: Twemoji, Fluent Emoji, Noto Emoji, OpenMoji, Blobmoji, Emojitwo, and Mutant Standard.
  • Support alternate style ZIPs containing codepoint-named PNG images, provided by the author in the web configurator or CLI, or installed by a deployer.
  • Preview an actual PNG from the selected artwork.
  • Pass the chosen artwork through the CLI, web renderer, and both PDF rendering passes with context-local state.
  • Reject unavailable archives and missing recognized emoji sequences rather than silently substituting a different style.
  • Preserve existing Twemoji output by default and avoid a viewer-native emoji dependency.
  • Include regression tests and update the usage guidance.

Important limits

Only Twemoji assets are bundled. The six alternative styles require author-provided or installed archives and the relevant distribution licenses. In particular, Mutant Standard has noncommercial restrictions. Image emoji are not independently selectable Unicode text. PDF/A-4 remains an independent opt-in export requiring successful conformance validation; this change does not assert that each third-party image set has been validated.

Verification

Run Python emoji/web/PDF tests, JavaScript configuration tests, and any relevant PDF/A integration checks. The alternate styles are covered with a synthetic PNG ZIP fixture; no alternative proprietary asset library is distributed in this PR.

Write PR descriptions automatically.

JFWooten4 and others added 6 commits September 9, 2026 16:29
Co-authored-by: Codex <noreply@openai.com>
Merge the current main branch while retaining the emoji-text planning notes and Markdown example.

Co-authored-by: ChatGPT 6 <noreply@openai.com>
Merge the latest quoted-footnote and web image changes into the emoji-text planning branch while retaining its example and documentation files.

Co-authored-by: ChatGPT 6 <noreply@openai.com>
Incorporate the merged PDF/A-4 export into the emoji-text planning branch without changing its documentation or example content.

Co-authored-by: ChatGPT 6 <noreply@openai.com>
Support seven named fixed emoji styles with bundled Twemoji as default. Scope the chosen asset pack per PDF render, expose CLI style and pack arguments, and reject missing artwork rather than silently substituting reader-native emoji.

Co-authored-by: ChatGPT 6 <noreply@openai.com>
Add the seven-style selector, optional artwork ZIP upload, true PNG previews, web validation and coverage tests. Document default Twemoji behavior, optional artwork sources, and licensing and PDF/A limitations.

Co-authored-by: ChatGPT 6 <noreply@openai.com>
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pdf Ready Ready Preview Nov 13, 2026 8:33am UTC

@JFWooten4
JFWooten4 marked this pull request as ready for review November 13, 2026 08:10
Render author-selected color emoji artwork alongside inline Type 3 text glyphs with exact ToUnicode mappings. Preserve emoji sequences in extracted paragraphs and cover round-trip extraction in regression tests.

Co-authored-by: ChatGPT 6 <noreply@openai.com>
Inspect actual PDF image objects rather than matching ReportLab's former dictionary spacing, which PyMuPDF changes when preserving Unicode emoji mappings.

Co-authored-by: ChatGPT 6 <noreply@openai.com>
@JFWooten4
JFWooten4 merged commit 30a5703 into main Nov 13, 2026
4 checks passed
@JFWooten4
JFWooten4 deleted the emoji-text branch November 13, 2026 08:53

This branch was successfully deployed

1 active deployment
Preview β€” 4d792938 Deployed Nov 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant