Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157275 - gnome-base/libgnomeprint-2.12.1 Strange font behaviour (tab to little square)
Summary: gnome-base/libgnomeprint-2.12.1 Strange font behaviour (tab to little square)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-05 16:49 UTC by Stefano
Modified: 2008-02-17 11:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
current ebuild from gnome overlay (libgnomeprint-2.17.0.ebuild,1000 bytes, text/plain)
2006-12-08 04:23 UTC, Mart Raudsepp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano 2006-12-05 16:49:02 UTC
After pango and other libs got installed due to the stabilization process of Gnome 2.16 I've started to experience a strange behaviour with all the applications that use libgnomeprint.

For example with gedit, every time I try to create a ps/pdf file every tabulation gets transformed in a little square.

Here you can find an example of what I am talking about: http://wwwstud.dsi.unive.it/~sortolan/output.ps

I've encountered the same problem also writing an email with Evolution but after recompiling some stuff it went away. 

The problem seems to occurs only with the BitStream fonts, with monospace I am pretty sure, the others I have to test it.

I fill this bug to pango mainly because all my investigations leads to this package to be the responsable of such behaviour. Removing /etc/pango dir leads to have the same problem with all the fonts. Maybe there is something wrong in them.

I've tried also to upgrade my sistem to the keyworded version of Gnome (2.16) without any help.

Ansia / # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.6
Last Sync: Wed, 06 Dec 2006 00:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 bash-completion beagle berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jack jpeg kernel_linux ldap libg++ linguas_en logrotate mad mikmod mmx mono mp3 mpeg musepack ncurses nls nptl nptlonly ogg opengl openntpd pam pcmcia pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline real reflection samba sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_i810 video_cards_vesa vorbis win32codecs x264 xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mart Raudsepp gentoo-dev 2006-12-08 03:52:53 UTC
I can see this too with pdf and ps. Haven't tried printing it out on paper directly (no printer).
When running gedit from the console, I am able to see the following assert per each rectangle:

(gedit:23496): GnomePrint-CRITICAL **: gnome_rfont_get_glyph_stdadvance: assertion `glyph < GRF_NUM_GLYPHS (rfont)' failed

I'm pretty sure you get that too, right?
Comment 2 Mart Raudsepp gentoo-dev 2006-12-08 04:19:15 UTC
libgnomeprint-2.17.0 seems to fix this for me.
I've added it to gnome-experimental overlay, and attaching the ebuild here for trying out.
A 2.17.0 in portage isn't an option though, so we hopefully can track down what change exactly in the middle of 2.12.1 -> 2.17.0 fixes this and backport that, if the version bump indeed fixes it for you too.
Comment 3 Mart Raudsepp gentoo-dev 2006-12-08 04:23:02 UTC
Created attachment 103617 [details]
current ebuild from gnome overlay

Note that as libgnomeprint has been the same version for over a year, it is quite possible that an upgrade of another related package exposed the problem and the version bump fixes it
Comment 4 Mark Felder 2006-12-08 08:30:56 UTC
I have this issue too but it's not just libgnomeprint! My 32bit firefox-bin has all squares/null for the font in any file dialog.
Comment 5 Stefano 2006-12-08 09:31:20 UTC
(In reply to comment #1)
> I can see this too with pdf and ps. Haven't tried printing it out on paper
> directly (no printer).
> When running gedit from the console, I am able to see the following assert per
> each rectangle:
> 
> (gedit:23496): GnomePrint-CRITICAL **: gnome_rfont_get_glyph_stdadvance:
> assertion `glyph < GRF_NUM_GLYPHS (rfont)' failed
> 
> I'm pretty sure you get that too, right?
> 

YEp, exactly the same thing! 

Comment 6 Mart Raudsepp gentoo-dev 2006-12-08 09:32:07 UTC
(In reply to comment #4)
> I have this issue too but it's not just libgnomeprint! My 32bit firefox-bin has
> all squares/null for the font in any file dialog.

This isn't the same bug. File a different bug, but first check if you are up to date with your emul-linux-x86-* packages
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-02-17 11:08:02 UTC
should be fixed according to comment #2 and #3. Note that libgnomeprint-2.18.4 has more little squares fixes according to its changelog. Please reopen this bug if it 's still broken. Thanks.