Repository navigation
fix: preserve circled numbers in exported PDF reports - #59
Merged
Snailclimb merged 1 commit intoOct 8, 2026
Merged
Conversation
- 为中文字体缺失的编号使用内嵌符号字体,保留原始文本 - 保持编号后的中英文使用原字体,补充面试和简历导出回归 - 完整后端测试 364 项通过、45 项原有禁用,PDF 渲染和打包验证通过
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Circled numbers such as ①②③ display correctly during an interview but become missing-glyph boxes in the exported PDF because the bundled Chinese font does not contain them. Resume analysis reports use the same font and are affected as well.
Add an embedded Noto Sans Symbols fallback while keeping Zhuque Fangsong as the preferred font for supported characters. Use per-character font selection so English and digits following a circled number retain the original font. The font license and source are included.
Regression tests cover both report types, circled number variants, embedded fonts, mixed Chinese/English text, and repeated exports.
Validation: Java 25
:app:clean :app:test :app:bootJarpassed with 364 tests passing and 45 existing disabled tests. All seven new export tests passed. Paragraphs containing fallback symbols can have increased line height due to the symbol font's metrics.