bug-gnu-utils
[Top][All Lists]
Advanced

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

line width bug with plot-fig backend of libplot


From: Bo Di
Subject: line width bug with plot-fig backend of libplot
Date: Fri, 24 Jul 2009 07:57:39 +0200

Dear Sir,

I would like to report a bug in the plot-fig backend of libplot.
This error was discovered through the use of the libplot
library in combination with pstoedit (see pstoedit.net) and
has to do with the way in which line widths are defined in xfig:
the formula is (excerpt from an email by Brian V. Smith, the
principal developer and maintainer of xfig):

"Therefore, the final width of lines in PostScript/EPS is:

Figwidth == 1: 7.5
Figwidth > 1: (Figwidth-1)*15"

As a result of this error, when a figure is created in xfig
containing lines with widths 1, 2, 3, 4, 5, 6, 7, 8, they come
out as 1, 1,  2, 3, 4, 5, 6, 7 (i.e. an offset of 1), when converted
to postscript and back to xfig using pstoedit with the plot-fig
backend.

According to Wolfgang Glunz, the maintainer of pstoedit, the
libplot file f_path.c has to be adapted to correct this error.
He has already created an updated f_path.c error to correct
the error (see attachment). For details about this file you can
directly contact Wolfgang Glunz (email: address@hidden).

Best regards,

Bart De Schutter

Attachment: f_path.c
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]