[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ghostscript crashes on Japanese characters on Ubuntu 16.04
From: |
Johannes Feulner |
Subject: |
Ghostscript crashes on Japanese characters on Ubuntu 16.04 |
Date: |
Wed, 25 May 2016 15:01:32 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
I installed lilypond 2.18.2 on a freshly installed Ubuntu Desktop 16.04
64 Bit.
Ghostscript crashes when compiling the following input:
\version "2.12.0"
\markup { \column {
"First line"
"Japanese: 日本語のページを検索"
"Last line"
}
}
See lilypond's debug output below.
The culprit seems to be the font
/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
Here the offending font can be downloaded:
https://www.dropbox.com/s/vj7bxwyb38u2u6b/noto.zip?dl=0
After deleting the the noto font (rm -r
/usr/share/fonts/opentype/noto/), everything works fine.
The font noto was not part of ubuntu Desktop 14.04 64 Bit, I've checked
that.
I have no idea, what might be wrong with this font, ghostscript or
lilypond. However, deleting the font is a workaround.
Best regards,
Johannes
PS: lilypond -V test.ly gives the following output:
Benutze Notenbezeichnung »nederlands«...
[test2.ly]
[century_schoolbook_l_3.8662109375]
Ideale Seitenanzahl wird gefunden...
Musik wird auf eine Seite angepasst...
Systeme erstellen...
Layout nach »test2.ps« ausgeben...
[/usr/share/lilypond/2.18.2/fonts/otf/CenturySchL-Roma.otf]
[/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc]
[/usr/share/fonts/truetype/fonts-japanese-gothic.ttf]
[/usr/share/lilypond/2.18.2/ps/music-drawing-routines.ps]
[/usr/share/lilypond/2.18.2/ps/lilyponddefs.ps]
Konvertierung nach »./test2.pdf«...
»"gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile=./test2.pdf -c.setpdfwrite -ftest2.ps"« wird aufgerufen...
GPL Ghostscript 9.18 (2015-10-05)
Copyright (C) 2015 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /undefinedresource in findresource
Operand stack:
NotoSansCJKjp-Regular CIDFont NotoSansCJKjp-Regular
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval-- --nostringval-- false 1 %stopped_push 1977
1 3 %oparray_pop 1976 1 3 %oparray_pop 1960 1 3
%oparray_pop 1852 1 3 %oparray_pop --nostringval--
%errorexec_pop .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- 1928 2 3
%oparray_pop findresource %errorexec_pop --nostringval--
--nostringval-- --nostringval--
Dictionary stack:
--dict:1198/1684(ro)(G)-- --dict:0/20(G)-- --dict:108/200(L)--
--dict:20/26(ro)(G)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 49599504
GPL Ghostscript 9.18: Unrecoverable error, exit code 1
Warnung: »(gs -dSAFER -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
-r1200 -sDEVICE=pdfwrite -sOutputFile=./test2.pdf -c.setpdfwrite
-ftest2.ps)« gescheitert (256)
schwerer Fehler: gescheiterte Dateien: "test2.ly"
--
Johannes Feulner
Tel: +49 721 33500158 address@hidden
scorio GmbH Bonhoefferweg 3 76327 Pfinztal
Geschäftsführer Johannes Feulner
Sitz der Gesellschaft Karlsruhe
Amtsgericht Mannheim HRB 713486
- Ghostscript crashes on Japanese characters on Ubuntu 16.04,
Johannes Feulner <=