-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Japanese text in vertical writing mode rendered with glyphs for horizontal writing #12350
Comments
It's also in page 1. The font is named "Ryumin-regular-Identity-H" and the encoding is "Identity-H". I suspect that Adobe itself notices that this is vertical writing and then displays that glyph differently.
|
Japanese fonts are often CID-keyed and basing on Adobe-Japan1. CID+7891 of Adobe-Japan1 is for vertical prolonged sound mark. https://raw.githubusercontent.com/adobe-type-tools/Adobe-Japan1/master/Adobe-Japan1-7.pdf |
I mean, Adobe Acrobat Reader should not care whether it is vertical writing or not (because a Japanese document often includes both horizontal and vertical parts, such as tate-chu-yoko, so a Japanese font has both forms of glyphs.) |
Thank you both. I found that font (A-OTF-RyuminPro-Regular.otf) but PDF.js still has the problem, despite restarting firefox. (However PDFBox now renders correctly, thus proving your argument) |
Attach (recommended) or Link to PDF file here:
https://www.mofa.go.jp/mofaj/gaiko/treaty/pdfs/treaty159_4a.pdf (via https://www.mofa.go.jp/mofaj/gaiko/treaty/treaty159_4.html)
Configuration:
Steps to reproduce the problem: open the PDF and jump to page 2.
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Glyphs
ー
,ュ
and、
are in horizontal form. (cf. Requirements for Japanese Text Layout 3.1.1 Differences in Vertical and Horizontal Composition in Use of Punctuation Marks )Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): n/a
The text was updated successfully, but these errors were encountered: