Bug 354941 - cairo ps and pdf output broken - _cairo_ps_surface_emit_truetype_font_subsets problem???
Summary: cairo ps and pdf output broken - _cairo_ps_surface_emit_truetype_font_subsets...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cairo
Version: rawhide
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Behdad Esfahbod
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-26 21:43 UTC by John Ellson
Modified: 2008-02-21 20:19 UTC (History)
0 users

Fixed In Version: cairo-1.4.14-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-21 20:19:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
bad postscript output generated on fc8 (30.74 KB, text/plain)
2007-10-26 21:43 UTC, John Ellson
no flags Details
good postscript output generated on fc7 (66.92 KB, application/postscript)
2007-10-26 21:44 UTC, John Ellson
no flags Details
test graph (791 bytes, text/plain)
2007-10-26 21:45 UTC, John Ellson
no flags Details

Description John Ellson 2007-10-26 21:43:10 UTC
Description of problem:
Using identical graphviz sources from cvs, building on fc7 and todays rawhide. 
fc7s version works, fc8's not.   Problem can be reproduced with versions of
graphviz in distros, but the problem still exists if the graphviz version is the
same, so the problem is more likely to be in cairo.

Version-Release number of selected component (if applicable):
cairo-1.4.10-2.fc8.x86_64             <<< bad???
graphviz-2.14.1-3.fc8.x86_64

cairo-1.4.10-1.fc7.x86_64
graphviz-2.12-8.fc7.x86_64

How reproducible:
200%.    Problem was reported to the graphviz developers by another user

Steps to Reproduce:
1. On fc8:   dot -Tps:cairo appl.dot >appl.fc8.ps
2. On fc7:   dot -Tps:cairo appl.dot >appl.fc7.ps
3.
  
Actual results:
appl.fc7.ps is ok, appl.fc8.ps is bad.

Diffing the ps output shows significant changes, starting with:
    @@ -20,359 +20,758 @@
    /xyS{xyshow}bind def
    %%EndProlog
    % _cairo_ps_surface_emit_font_subsets
   -% _cairo_ps_surface_emit_truetype_font_subset
   -11 dict begin
   -/FontType 42 def
   -/FontName /CairoFont-0-0 def
   -/PaintType 0 def
   -/FontMatrix [ 1 0 0 1 0 0 ] def
    ...

Expected results:
viewable postscript


Additional info:

Comment 1 John Ellson 2007-10-26 21:43:10 UTC
Created attachment 239621 [details]
bad postscript output generated on fc8

Comment 2 John Ellson 2007-10-26 21:44:14 UTC
Created attachment 239631 [details]
good postscript output generated on fc7

Comment 3 John Ellson 2007-10-26 21:45:40 UTC
Created attachment 239641 [details]
test graph

Comment 4 John Ellson 2007-10-26 21:49:39 UTC
Problem can be fixed on fc8 by downgrading to cairo-1.4.10-1.fc7.x86_64.rpm
from fc7 updates.

Comment 5 John Ellson 2008-02-21 20:19:20 UTC
Not sure when this was fixed, but I can't reproduce this bug now using:
  graphviz-2.14.1-3.fc8
  cairo-1.4.14-1.fc8.


Note You need to log in before you can comment on or make changes to this bug.