Summary: | Wrong rotation of CJk puntuations in vertical writing | ||
---|---|---|---|
Product: | MuPDF | Reporter: | Hin-Tak Leung <htl10> |
Component: | mupdf | Assignee: | MuPDF bugs <mupdf-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tor.andersson, zeniko |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Hin-Tak Leung
2013-05-21 21:34:26 UTC
attachment 9930 [details] in Bug 694093 , and see also comments therein. These three PDF files are made by Koji Ohtani, member of OpenPrinting Japan and originator of PDF print path filters, and sent to me from Naruhiko Ogasawara. FYI: SumatraPDF's MuPDF renders these documents as expected. We've adapted ft2vert.c from the ezgdi project [1] to take advantage of the vert/vrt2 tables from TrueType fonts. Since ezgdi is licensed under both FreeType license and GPLv3, you should be able to use that code for your commercial distribution as well. If you'd accept such code, I could provide a patch. [1] https://code.google.com/p/ezgdi/ Fix 694093: add vertical variant of CJK fallback font. Replace the DroidSansFallback TTF files with a TTC that has two fonts: The original and a copy where the OpenType 'vert' substitution lookup has been pre-applied by copying the uniXXXX.vert glyph data to uniXXXX. |