Opened 8 years ago

Closed 7 years ago

Last modified 3 years ago

#721 closed defect (fixed)

xfig export has problems with color definitions

Reported by: westram Owned by: westram
Priority: major Milestone: arb7.0
Component: no idea Version: SVN
Keywords: Cc:

Description

Behavior (r15269, demo.arb):

  • Exporting tree to xfig results in xfig-warnings:
    Invalid color definition: 0 4155 #00aa00, setting to black (#00000).
    Invalid color definition: 0 4156 #00aa00, setting to black (#00000).
    [... consecutive numbers removed]
    Invalid color definition: 0 4168 #00aa00, setting to black (#00000).
    Invalid color definition: 0 4169 #00aa00, setting to black (#00000).
    
  • With active tree shader, xfig warnings change to
    Cannot locate user color 1242, using default color for line 4518.
    Cannot locate user color 1274, using default color for line 4520.
    [...]
    Cannot locate user color 1202, using default color for line 5108.
    Cannot locate user color 1202, using default color for line 5110.
    
  • warnings disappear in 'export colors' is unchecked
  • using print/preview causes SEGV in fig2dev (only if 'export colors' is checked!)
    • no error is forwarded to user in that case

Change History (7)

comment:1 Changed 8 years ago by westram

  • Owner changed from devel to westram
  • Status changed from new to accepted

comment:2 Changed 8 years ago by westram

comment:3 Changed 7 years ago by westram

  • Priority changed from normal to major

comment:4 Changed 7 years ago by westram

  • Status changed from accepted to _started

comment:5 Changed 7 years ago by westram

workaround:

  • export to xfig (from arb)
    • warns about Invalid color definitions (see above)
  • export to eps (from xfig)
  • print eps (from gv) ⇒ prints correct colors

comment:6 Changed 7 years ago by westram

  • Resolution set to fixed
  • Status changed from _started to closed

by [17002]

comment:7 Changed 3 years ago by westram

  • Milestone changed from arb6.1 to arb7.0

Milestone renamed

Note: See TracTickets for help on using tickets.