You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the output PDF file with Adobe Reader. It displays like this:
Actual behavior
View it in LaTeXShop:
The Japanese characters are lost.
Log messages
LaTeX Workshop Output
[20:14:06] Initializing LaTeX Workshop.
[20:14:06] Creating LaTeX Workshop http and websocket server.
[20:14:06] LaTeX Workshop initialized.
[20:14:06] Found root file from active editor: c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex
[20:14:06] Root file changed from: undefined. Find all dependencies.
[20:14:06] Instatiating new file watcher for c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex
[20:14:06] Parsing c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex
[20:14:06] Server created on 127.0.0.1:52481
[20:14:06] Default environments loaded
[20:14:06] LaTeX Workshop version: 3.5.4
[20:14:06] Default commands loaded
[20:14:06] Default unimathsymbols loaded
[20:14:12] BUILD command invoked.
[20:14:12] Found root file from active editor: c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex
[20:14:12] Root file remains unchanged from: c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex.
[20:14:12] Building root file: c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex
[20:14:12] Build root file c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex
[20:14:12] Toolchain step 1: ptex2pdf, -u,-l,-ot,-synctex=1,-ot,-interaction=nonstopmode,c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document
[20:14:15] LaTeX log parsed with 0 messages.
[20:14:15] Toolchain of length 1 finished.
[20:14:15] Successfully built c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex
[20:14:15] No PDF viewer connected for c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.pdf
[20:14:20] TAB command invoked.
[20:14:20] Found root file from active editor: c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex
[20:14:20] Root file remains unchanged from: c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex.
[20:14:20] No PDF viewer connected for c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.pdf
[20:14:20] Serving PDF file at http://127.0.0.1:52481/viewer.html?file=/pdf:c%3A%5CUsers%5CKirya%5CSource%5CRepos%5CtestLaTeXWorkshop%5Cdocument.pdf
[20:14:20] Open PDF tab for c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.pdf
[20:14:22] Preview PDF file: c:/Users/Kirya/Source/Repos/testLaTeXWorkshop/document.pdf
[20:14:26] Root file remains unchanged from: c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.tex.
Developer Tools Console
Additional Information
I found this error in console.
[Embedded Page] PDF 4d8cd2fcd8884f0b478013b799f4707c [1.5 dvipdfmx (20170318) / TeX output 2017.10.03:2014] (PDF.js: 1.8.609)
2webview.ts:151 [Embedded Page] Warning: Error during font loading: Error: Unable to load binary CMap at: ../web/cmaps/Adobe-Japan1-UCS2.bcmap
2webview.ts:151 [Embedded Page] /pdf:c:\Users\Kirya\Source\Repos\testLaTeXWorkshop\document.pdf
webview.ts:151 [Embedded Page] PDF 2e0229a51252d7487d0d0184bc80e47e [1.5 dvipdfmx (20170318) / TeX output 2017.10.03:2030] (PDF.js: 1.8.609)
2webview.ts:151 [Embedded Page] Warning: Error during font loading: Error: Unable to load binary CMap at: ../web/cmaps/Adobe-Japan1-UCS2.bcmap
The text was updated successfully, but these errors were encountered:
fuzy112
changed the title
PDF view cannot display Japanese
PDF viewer cannot display CJK characters in PDF generated by ptex/uptex and dvipfmx
Oct 3, 2017
Description
I tried to compile a Japanese document using
ptex2pdf
as the tool chain. It compiles successfully.But the viewer does not display it correctly.
How to reproduce
I tried to compile such a file:
This is my config:
Expected behavior
Open the output PDF file with Adobe Reader. It displays like this:
Actual behavior
View it in LaTeXShop:
The Japanese characters are lost.
Log messages
LaTeX Workshop Output
Developer Tools Console
Additional Information
I found this error in console.
The text was updated successfully, but these errors were encountered: