[DejaVu-bugs] [Bug 20968] New: Cyrillic DejaVu Sans Glyphs can not be rasterized with ghostscript

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 31 03:34:54 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20968

           Summary: Cyrillic DejaVu Sans Glyphs can not be rasterized with
                    ghostscript
           Product: DejaVu
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Sans
        AssignedTo: dejavu-bugs at lists.freedesktop.org
        ReportedBy: volker.haas at pediapress.com


Created an attachment (id=24398)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=24398)
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


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the DejaVu-bugs mailing list