Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] When using 👍 emoji icon. docfx failed to embed relating font. #10484

Open
filzrev opened this issue Dec 29, 2024 · 0 comments
Open

[Bug] When using 👍 emoji icon. docfx failed to embed relating font. #10484

filzrev opened this issue Dec 29, 2024 · 0 comments

Comments

@filzrev
Copy link
Contributor

filzrev commented Dec 29, 2024

Describe the bug
When using thumbs up (👍) emoji on markdown document.
PDF file that generated by GitHub Action's on ubuntu-latest runner failed to embed fonts.
And T3_font is displayed on Adobe Acrobat reader's property page.

To Reproduce
Steps to reproduce the behavior:

  1. Download PDF file from https://dotnet.github.io/docfx/seed/articles/seed.pdf
  2. Open PDF file with Adobe Acrobat reader.
  3. Open [Property]-[Fonts] page and T3 Font is displayed. (It's not embedded on PDF and result depend on environment)

Expected behavior
Fonts should be embedded on PDF. and T3 Font should not be displayed on PDF page.

Additional context
When PDF file is opened on Windows WSL-Ubuntu environment.
thumbs up (👍) emoji is rendered as 􏿮 character. and outputted to JSON as \u0000.
Snapshot tests result JSON cause diffs and emoji is rendered as \u0000.

It can be resolved by manually installing fonts-noto-color-emoji font on WSL environment.

sudo apt install fonts-noto-color-emoji

@filzrev filzrev added the bug label Dec 29, 2024
@yufeih yufeih removed the bug label Feb 20, 2025
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

No branches or pull requests

2 participants