mirror of https://github.com/garrytan/gstack.git
Three CJK fixes in the PDF pipeline: - smartypants strips stray input NULs up front so document text can never forge the U+0000 placeholder sentinel and leak a preserved-zone marker into the output. - The CJK font stack led with Japanese families, so Simplified-Chinese text rendered han glyphs with JP variants. Lead with PingFang SC / Heiti SC / Noto Sans CJK SC / Source Han Sans SC before the JP fallbacks. - Quote-smartening only recognized ASCII openers as "start of quote" context; the fullwidth colon and CJK brackets now count, so quotes after them curl the right way. Contributed by @rssprivacy-commits (PR #2012). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| browseClient.ts | ||
| cli.ts | ||
| commands.ts | ||
| diagram-prepass.ts | ||
| image-policy.ts | ||
| image-size.ts | ||
| orchestrator.ts | ||
| pdftotext.ts | ||
| print-css.ts | ||
| render.ts | ||
| setup.ts | ||
| smartypants.ts | ||
| types.ts | ||