Your message dated Sun, 21 Feb 2016 16:36:34 +0100
with message-id <[email protected]>
and subject line Re: Bug#295271: xfig resolution seems to be wrong
has caused the Debian Bug report #295271,
regarding xfig resolution seems to be wrong
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
295271: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295271
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xfig
Version: 1:3.2.5-alpha5-3
Severity: minor

Hi,

  In usr/share/doc/xfig/FORMAT3.2.gz says that default xfig resolution
is 1200ppi, but if I use xfig and draw a box with coords (0,0) and
(10cm, 10cm), I can see in its output file:

2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
         0 0 4500 0 4500 4500 0 4500 0 0

  That is, box is in xfig points (0,0) (4500,4500). If it were 1200ppi,
it should be (0,0) and (4724,4724). It seems that Xfig is using a
resolution around 1140ppi instead of 1200.

  Can you check that?

  Thanks,
    Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages xfig depends on:
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxi6                   4.3.0.dfsg.1-10 X Window System Input extension li
ii  libxmu6                  4.3.0.dfsg.1-10 X Window System miscellaneous util
ii  libxpm4                  4.3.0.dfsg.1-10 X pixmap library
ii  libxt6                   4.3.0.dfsg.1-10 X Toolkit Intrinsics
ii  xaw3dg                   1.5+E-8         Xaw3d widget set
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information


--- End Message ---
--- Begin Message ---
Hi Pedro!

On Mon, 14 Feb 2005, Pedro Zorzenon Neto wrote:

> Package: xfig
> Version: 1:3.2.5-alpha5-3
> Severity: minor
> 
> Hi,
> 
>   In usr/share/doc/xfig/FORMAT3.2.gz says that default xfig resolution
> is 1200ppi, but if I use xfig and draw a box with coords (0,0) and
> (10cm, 10cm), I can see in its output file:
> 
> 2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
>          0 0 4500 0 4500 4500 0 4500 0 0
> 
>   That is, box is in xfig points (0,0) (4500,4500). If it were 1200ppi,
> it should be (0,0) and (4724,4724). It seems that Xfig is using a
> resolution around 1140ppi instead of 1200.
> 
>   Can you check that?

As mentioned by Arnaud Giersch <[email protected]> some time ago,
this is a design decision of the 3.2 FIG format (see
/usr/share/doc/xfig/FORMAT3.2.gz):

    Fig_resolution is the resolution of the figure in the file.
    Xfig will always write the file with a resolution of 1200ppi so it
    will scale the figure upon reading it in if its resolution is different
    from 1200ppi.  Pixels are assumed to be square.

    Note about metric units:  To preserve a regular grid on the canvas the
    centimeter is defined to be 450 Fig units and not 472.4 (1200/2.54).
    For drawings done in metric units, fig2dev magnifies the output when
    exporting or printing to compensate for the difference (472.4/450).
    Also, if you make a drawing in one unit scale and switch to the other
    units in xfig, the drawing will be rescaled on the screen by xfig to
    remain consistent.

This said, I close this bug report.

Tschoeeee

        Roland

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to