Re: Possible bug in EPS export for Network Miditower object? (fwd)



Further to that discussion yesterday, I tried creating a
diagram where all the line widths were 0.01 and that seemed to
fix the problem --- all lines are now thin when rendered in
EPS. So that seems to be a good workaround. The inconsistent
behaviour is still something which should stay on the buglist
though IMHO. Also maybe the 'special case' test which you cited
yesterday should be changed to a thinner line? Maybe 0.01 for
example?

-- 
Andrew Ferrier

email: andrew new-destiny co uk
web: http://www.new-destiny.co.uk/andrew/

---------- Forwarded message ----------
Date: Thu, 23 May 2002 18:28:03 +0100 (BST)
From: Andrew Ferrier <andrew junk new-destiny co uk>
Reply-To: dia-list gnome org
To: dia-list gnome org
Subject: Re: Possible bug in EPS export for Network Miditower object? (fwd)

On 2002-05-23 at 19:06, Cyrille Chepelov wrote:

Do you mean,

static void
set_linewidth(RendererEPS *renderer, real linewidth)
{  /* 0 == hairline **/
  if (linewidth == 0.0) linewidth=.1; /* Adobe's advice */
  fprintf(renderer->file, "%f slw\n", (double) linewidth);
}

If you say so :) That certainly sounds like the right kind of
thing.

Line width 0 "as fine as the device allows". Adobe strongly
warns against using device-dependent things in a Postscript
file (think about what happens on a 2400dpi output device).
You'd probably much better using a line width of 0.01 if this
is really what you want to see.

OK, fine. I wouldn't want to encourage dia making non-standard
EPS files. I'll switch over to 0.01 and see if that fixes my
problem.

What *is* buggy, though, is that we get an inconsistent
behaviour. However, I'll call this inconsistency a feature of
the device-dependentness of line width 0 for the duration of
the 0.90.RC# time frame.

Yes, definitely. I don't know why it's happening but the end
result is definitely that different objects get exported with
patently different line widths --- whatever the boundary
condition mapping, as you showed above, it's not being applied
consistently.

Regards,
Andrew.

-- 
Andrew Ferrier

email: andrew new-destiny co uk
web: http://www.new-destiny.co.uk/andrew/

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]