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
module.exports={title: '科学の不思議',author: 'アンリイ・ファブル(大杉栄、伊藤野枝訳)',size: 'JIS-B5',// paper size.theme: '@vivliostyle/theme-techbook',// .css or local dir or npm package. default to undefined.entry: ['01.md',],}
$ npx vivliostyle build --press-ready
✔ 01.md 一 六人
✔ 01.md 一 六人
🚀 Running press-ready
==> Listing fonts in '/var/folders/hw/pnp2g_hx2zj3_4m40lyyqq8w0000gn/T/vivliostyle-cli-851a0f70-45ef-11eb-a64b-8dde9018055c.pdf'
name type embedded subset
[none] Type 3 yes no
Verdana-Bold CID TrueType yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
Verdana CID TrueType yes no
[none] Type 3 yes no
Verdana CID TrueType yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
==> Some fonts need to be outlined
==> Generating PDF
Input /var/folders/hw/pnp2g_hx2zj3_4m40lyyqq8w0000gn/T/vivliostyle-cli-851a0f70-45ef-11eb-a64b-8dde9018055c.pdf
Output /Users/yuki/src/sample-vivliostyle-md/vivliostyle-issue-non-ascii-title/科学の不思議.pdf
Color Mode CMYK
Enforce outline yes
Boundary boxes no
==> GPL Ghostscript 9.23: **** Could not open the file /Users/yuki/src/sample-vivliostyle-md/vivliostyle-issue-non-ascii-title/�����������������.pdf .
**** Unable to open the initial device, quitting.
GPL Ghostscript 9.23 (2018-03-21)
Copyright (C) 2018 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
==> Listing fonts in '/Users/yuki/src/sample-vivliostyle-md/vivliostyle-issue-non-ascii-title/科学の不思議.pdf'
Error: Command failed with exit code 1: pdffonts /Users/yuki/src/sample-vivliostyle-md/vivliostyle-issue-non-ascii-title/科学の不思議.pdf
I/O Error: Couldn't open file '/Users/yuki/src/sample-vivliostyle-md/vivliostyle-issue-non-ascii-title/<e7><a7><91><e5><ad><a6><e3><81><ae><e4><b8><8d><e6><80><9d><e8><ad><b0>.pdf': No such file or directory.
If you think this is a bug, please report at https://github.com/vivliostyle/vivliostyle-cli/issues
CASE 2
$ npx vivliostyle build
✔ 01.md 一 六人
✔ 01.md 一 六人
🎉 Built successfully.
科学の不思議.pdf has been created.
$ npx press-ready build -i 科学の不思議.pdf -o press-ready.pdf
==> Listing fonts in '科学の不思議.pdf'
name type embedded subset
[none] Type 3 yes no
Verdana-Bold CID TrueType yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
Verdana CID TrueType yes no
[none] Type 3 yes no
Verdana CID TrueType yes no
[none] Type 3 yes no
[none] Type 3 yes no
[none] Type 3 yes no
==> Some fonts need to be outlined
==> Generating PDF
Input 科学の不思議.pdf
Output press-ready.pdf
Color Mode CMYK
Enforce outline yes
Boundary boxes no
==> GPL Ghostscript 9.23: Unrecoverable error, exit code 1
GPL Ghostscript 9.23 (2018-03-21)
Copyright (C) 2018 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /undefinedfilename in (/Users/yuki/src/sample-vivliostyle-md/vivliostyle-issue-non-ascii-title/\347\347\221\345\355\246\343\301\256\344\370\215\346\300\235\350\355\260.pdf)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:996/1684(ro)(G)-- --dict:0/20(G)-- --dict:79/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
==> Listing fonts in 'press-ready.pdf'
==> No fonts found
==> Every font is properly embedded
@sky-y Hi, thanks for the kind reporting! Unfortunately, I couldn't reproduce your issue in both cases 1 and 2. Could you tell us also your Node.js version (node -v)?
When
title
on vivliostyle.config.js is non-ASCII characters, press-ready shows error and make empty PDF output.Note: This could be an Error on press-ready or Create Book side.
npx vivliostyle build --press-ready
GPL Ghostscript 9.23: **** Could not open the file
I/O Error: Couldn't open file
npx press-ready build -i 科学の不思議.pdf -o press-ready.pdf
科学の不思議.pdf
(non-ASCII characters)press-ready.pdf
Error: /undefinedfilename
Spec
Related Issue
Error with --press-ready option on Windows · Issue #72 · vivliostyle/vivliostyle-cli
About this project
This project is originally generated by Create Book.
I renamed the generated directory to
vivliostyle-issue-non-ascii-title
.Files
01.md:
vivliostyle.config.js:
How to Reproduce
Log
CASE 1
CASE 2
About sample
青空文庫から転載・改変しました。
The text was updated successfully, but these errors were encountered: