Package: gnome-u2ps
Version: 0.0.4-4
Severity: normal

Hi,

Today I decided to give gnome-u2ps a try, since I need to create PDFs
from unicode plain-text files.

The problem is that u2ps, if fed on standard input, cuts the first three
bytes of the file. The reason for this is that it tries to detect if the
input is compressed, reading three bytes, and later tries to seek to the
beginning of the file. However, fseek() fails, since the file is a pipe.

To reproduce, execute the following code:

$ echo "123456" | u2ps -o /dev/stdout | gnome-gv -

The displayed content is "456", instead of "123456".


Thanks for considering,
    dam

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)

Versions of packages gnome-u2ps depends on:
ii  libart-2.0-2               2.3.19-1      Library of functions for 2D graphi
ii  libbonobo2-0               2.18.0-1      Bonobo CORBA interfaces library
ii  libbz2-1.0                 1.0.3-6       high-quality block-sorting file co
ii  libc6                      2.3.6.ds1-13  GNU C Library: Shared libraries
ii  libfribidi0                0.10.7-4      Free Implementation of the Unicode
ii  libgconf2-4                2.18.0.1-1    GNOME configuration database syste
ii  libglib2.0-0               2.12.11-1     The GLib library of C routines
ii  libgnome2-0                2.16.0-2      The GNOME 2 library - runtime file
ii  libgnomeprint2.2-0         2.18.0-1      The GNOME 2.2 print architecture -
ii  libgnomevfs2-0             1:2.18.0.1-1  GNOME Virtual File System (runtime
ii  liborbit2                  1:2.14.4-1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.16.1-1      Layout and rendering of internatio
ii  libpopt0                   1.10-3        lib for parsing cmdline parameters
ii  libxml2                    2.6.27.dfsg-1 GNOME XML library
ii  zlib1g                     1:1.2.3-13    compression library - runtime

gnome-u2ps recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to