Your message dated Fri, 12 May 2006 10:12:09 -0400
with message-id <[EMAIL PROTECTED]>
and subject line libqt3c102-mt: Embedded Glyphs are Spaced Wrong (printing)
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libqt3c102-mt
Version: 3:3.2.3-3
Severity: normal

QT (I'm assuming it's a QT thing as the option is saved in ~/.qt/qtrc)
does a very poor job at generating embedded glyphs in postscript
files.  (I've tried both truetype and type 1 fonts).  The visual
result is that character spacing is messed up (individual letters butt
up against each other or look like they have spaces between them).

This affects all KDE apps that print, as they output postscript and
then let the printing system convert it (via gs) to the appropriate
printer format.

To see this:
1) Turn on font embedding:  [the default]
  From the Printing Manager's tool bar pick Configure Manager, Fonts,
and then click on Embed fonts in Postscript data (this sets 
embedFonts=true in ~/.qt/qtrc under the [General] section).
2) Print a postscript file:
  Open a reasonably sized document in KWord (or email in KMail, etc)
and print to a postscript file (call is 1.ps).

3) Turn off font embedding:
  From the Printing Manager's tool bar pick Configure Manager, Fonts
and then click off Embed fonts in Postscript data (this sets
embedFonts=false in ~/.qt/qtrc under the [General] section).
4) Print a postscript file:
  Open the same document in KWord (or email in KMail, etc) and print
to a postscript file (call it 2.ps).

5) Look at the differnce:
  Print 1.ps and 2.ps and look at the difference (you can also just
view them side by side in gv with a magnification of x2), but for the
full effect (it's quite impressive), you've got to look at two full
printed pages of text side by side.

NOTE: If you have a system that prints postscript raw (quite likely if
you have a postscript printer), you will need to add glyphs into 2.ps
(otherwise you will be comparing QT embedded glyphs to printer
substituted glyphs).

Run "ps2ps 1.ps 1_.ps" and "ps2ps 2.ps 2_.ps".  Print 1_.ps and 2_.ps.

This causes gs to render the two files to postscript (your printing
system will use gs to render them to another format if you don't have
a postscript printer).  For 1.ps gs uses the QT embedded versions of
your glyphs.  For 2.ps it gets them from your system font files.

NOTE: The above procedure requires gs to have access to the same set
of fonts as QT.  This requires a proper setup of defoma.  It is most
easily done if you set QT to use Xft (enableXft=true under [General]
section in ~/.qt/qtrc) and make sure all the <dir> entries in
/etc/fonts/fonts.conf and /etc/fonts/local.conf are disabled and the
<include> line for /var/lib/defoma/fontconfig.d/fonts.conf is enabled.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libqt3c102-mt depends on:
ii  fontconfig                2.2.2-2        generic font configuration library
ii  libaudio2                 1.6d-1         The Network Audio System (NAS). (s
ii  libc6                     2.3.2.ds1-13   GNU C Library: Shared libraries an
ii  libfontconfig1            2.2.2-2        generic font configuration library
ii  libfreetype6              2.1.7-2.1      FreeType 2 font engine, shared lib
ii  libgcc1                   1:3.3.4-1      GCC support library
ii  libice6                   4.3.0.dfsg.1-5 Inter-Client Exchange library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libmng1                   1.0.5-1        Multiple-image Network Graphics li
ii  libpng12-0                1.2.5.0-6      PNG library - runtime
ii  libsm6                    4.3.0.dfsg.1-5 X Window System Session Management
ii  libstdc++5                1:3.3.4-1      The GNU Standard C++ Library v3
ii  libx11-6                  4.3.0.dfsg.1-5 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  4.3.0.dfsg.1-5 X Window System miscellaneous exte
ii  libxft2                   2.1.2-6        FreeType-based font drawing librar
ii  libxmu6                   4.3.0.dfsg.1-5 X Window System miscellaneous util
ii  libxrandr2                4.3.0.dfsg.1-5 X Window System Resize, Rotate and
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  libxt6                    4.3.0.dfsg.1-5 X Toolkit Intrinsics
ii  xlibmesa-gl1-dri-mach64 [ 2003.05.04-1   Mesa 3D graphics library [DRI mach
ii  xlibmesa-glu [libglu1]    4.3.0.dfsg.1-5 Mesa OpenGL utility library [XFree
ii  xlibs                     4.3.0.dfsg.1-5 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-3    compression library - runtime

-- no debconf information


--- End Message ---
--- Begin Message ---
I tried the comparison with Qt 3.3.6, and all seems to be well, so I'm 
closing the report. If I've missed something, let us know. Thanks.

--- End Message ---

Reply via email to