Skip to content

Commit 6b4f5f1

Browse files
Copilotyufeih
andauthored
Fix emoji font embedding in PDF generation (#10678)
* Initial plan for issue * Add plan for fixing emoji font embedding in PDF Co-authored-by: yufeih <[email protected]> * Add support for emoji fonts in PDF generation Co-authored-by: yufeih <[email protected]> * Fix PDF document generation to properly support emoji fonts Co-authored-by: yufeih <[email protected]> * Add cross-platform emoji font paths and improve documentation Co-authored-by: yufeih <[email protected]> * Revert code changes and install fonts-noto-color-emoji in CI Co-authored-by: yufeih <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: yufeih <[email protected]>
1 parent 77a7c92 commit 6b4f5f1

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/actions/build/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ runs:
1313
9.x
1414
8.x
1515
16+
- name: Install fonts-noto-color-emoji package (Linux only)
17+
if: runner.os == 'Linux'
18+
shell: bash
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install -y fonts-noto-color-emoji
22+
1623
- run: npm ci
1724
shell: bash
1825
working-directory: templates

.github/workflows/snapshot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
ref: ${{ github.ref_name }}
2525
lfs: true
2626

27+
# Install fonts-noto-color-emoji for emoji support in PDF generation
28+
- name: Install fonts-noto-color-emoji
29+
run: |
30+
sudo apt-get update
31+
sudo apt-get install -y fonts-noto-color-emoji
32+
2733
# Build projects
2834
- uses: ./.github/actions/build
2935

0 commit comments

Comments
 (0)