mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-14 19:27:04 -04:00
Since #368, a non-embedded Adobe-Japan1 font with a Mincho name (HeiseiMin-W3, MS-Mincho, ...) is drawn in document_japanese_font(), i.e. Shippori Mincho. Shippori Mincho has none of the 63 half-width katakana (U+FF61-U+FF9F), which are common in Japanese documents. hayro maps the CID through Adobe-Japan1-UCS2 to Unicode, finds no glyph in the face's cmap, and falls back to drawing the CID as a glyph index: half-width katakana came out as unrelated glyphs (ligatures such as fi and fl). The Mincho substitute is now BIZ UDMincho Regular, which covers half-width katakana (and was designed as a metric-compatible replacement for MS Mincho), falling back to document_japanese_font() when it isn't built in. The face used for Japanese text written into PDFs is unchanged. Without craft-fonts nothing changes. Tests: raster::tests::mincho_substitute_covers_half_width_katakana (with CRAFT_FONTS_DIR: the Mincho substitute's cmap maps U+FF61-U+FF9F and 日本; it lacked all 63 half-width katakana before; skips without craft-fonts). skrifa 0.44 is a dev-dependency of pdfcraft-render for it, the version pdfcraft-fonts already uses. The parity entry view.render-cid-fonts cites the test. Co-authored-by: Claude Opus 5.5 <[email protected]>
67 lines
2.0 KiB
TOML
67 lines
2.0 KiB
TOML
# Contributor names for the About window (craftrules standards/contributors.md).
|
|
#
|
|
# Everyone who contributes is credited by GitHub username automatically. Anything more is up to
|
|
# you: add YOUR OWN entry below, in your own PR (commit it yourself). Never add someone else; a
|
|
# maintainer may add a person only when that person asked, recording where in consent_source.
|
|
#
|
|
# Easiest: python3 ../../craftrules/scripts/contributors.py --add-me . \
|
|
# [--real-name "Ada Lovelace"] [--display-name "Ada"] [--sync-github-name]
|
|
#
|
|
# Or copy this block, replacing your-github-username (every field is optional):
|
|
#
|
|
# [people.your-github-username]
|
|
# real_name = "Your Name" # shown when the viewer picks "Real name"
|
|
# display_name = "Nickname" # shown when the viewer picks "Display name"
|
|
# sync_github_name = true # or: use the name on your public GitHub profile as display name
|
|
#
|
|
# To remove your names, delete your entry (or set fields empty) in a PR. The next
|
|
# contributors.py run, and the next build, drop them.
|
|
|
|
[people.echelon]
|
|
real_name = "Brandon Thomas"
|
|
display_name = "Brandon Thomas"
|
|
sync_github_name = false
|
|
|
|
[people.jcl-bit]
|
|
real_name = "James Locke"
|
|
display_name = "James Locke"
|
|
sync_github_name = false
|
|
|
|
[people.switch87]
|
|
real_name = "Gert Pellin"
|
|
display_name = "Gert Pellin"
|
|
sync_github_name = false
|
|
|
|
[people.viator1969]
|
|
real_name = "Jose Antonio Abad"
|
|
display_name = "jaabadmi"
|
|
sync_github_name = false
|
|
|
|
[people.AutoHenry]
|
|
real_name = "Hal Goff"
|
|
display_name = "Hal Goff, HG Studio"
|
|
sync_github_name = false
|
|
|
|
[people.mlkonrad]
|
|
real_name = "Marlon Konrad"
|
|
display_name = "Marlon Konrad"
|
|
sync_github_name = false
|
|
|
|
[people.chiranjeevi-max]
|
|
real_name = "Chiranjeevi Uddanti"
|
|
display_name = "Chiranjeevi U"
|
|
sync_github_name = false
|
|
|
|
[people.cyfung1031]
|
|
real_name = "Chester Fung"
|
|
display_name = "Chester Fung"
|
|
sync_github_name = true
|
|
|
|
[people.amitabhthakur]
|
|
sync_github_name = true
|
|
|
|
[people.chent11]
|
|
real_name = "Tao Chen"
|
|
display_name = "Tao Chen"
|
|
sync_github_name = false
|