Bug 20968 - Cyrillic DejaVu Sans Glyphs can not be rasterized with ghostscript
Summary: Cyrillic DejaVu Sans Glyphs can not be rasterized with ghostscript
Status: NEW
Alias: None
Product: DejaVu
Classification: Unclassified
Component: Sans (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Deja Vu bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-31 03:34 UTC by Volker Haas
Modified: 2009-03-31 03:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
sample pdf which triggers the described error (8.91 KB, application/pdf)
2009-03-31 03:34 UTC, Volker Haas
Details

Description Volker Haas 2009-03-31 03:34:54 UTC
Created attachment 24398 [details]
sample pdf which triggers the described error

When rasterizing a PDF containing certain cyrillic characters ghostscript reports an error. This problem seems to be related to DejaVu Sans fonts, since the problem does not occur when using different fonts

The two characters are Ё (U+0401) and ё (U+0451). If a PDF is generated containing the character Ё ghostscript reports the following error:

~/test/fail/ convert test_1025.pdf test.png                                                      
Error: /invalidfont in --run--
Operand stack:
   --nostringval--   --dict:5/14(L)--   --dict:19/22(ro)(L)--   909   909   909   0.0981445   0.0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1905   1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3   %oparray_pop   --nostringval--   --nostringval--   2   1   1   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   false   1   %stopped_push   --nostringval--   %loop_continue   --nostringval--   --nostringval--   --nostringval--   %array_continue   %finish_show   --nostringval--   --nostringval--   9   10   2   --nostringval--   (gs_show_enum)   %op_show_continue
Dictionary stack:
   --dict:1156/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--   --dict:75/200(L)--   --dict:106/127(ro)(G)--   --dict:275/300(ro)(G)--   --dict:22/25(L)--   --dict:4/6(L)--   --dict:21/40(L)--   --dict:11/13(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.63: Unrecoverable error, exit code 1
convert: Postscript delegate failed `test_1025.pdf': No such file or directory.
convert: missing an image filename `test.png'.


The PDF was generated with xelatex, but the same error occurs if the PDF is generated with Open Office Writer and exported as PDF. The problem does not occur if another font (e.g. FreeSerif) is used.


Steps to reproduce:
 * use attached PDF test_1025.pdf
 * run: convert test_1025.pdf test.png

Software used: 

 * up to date Ubuntu 8.10
 * ttf-dejavu package version 2.25-1
 * convert: ImageMagick 6.3.7 08/21/08
 * GPL Ghostscript 8.63


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.