I emerged libgnomeprint 2.4.2 and started to have problems with printing (evolution could not even preview and crashed when trying to print). Going back to 2.4.0 seems to work. Reemerging evolution does not fix the problem. Reproducible: Always Steps to Reproduce: emerge libgnomeprint 2.4.2. See also http://forums.gentoo.org/viewtopic.php?p=836663#836663 about evolution problems (nobody else confirmed until now). Actual Results: Evolution does not print anymore. Haven't tested other applications (as I need it printing now). Expected Results: Evolution should be able to print. Portage 2.0.49-r21 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22-ck2) ================================================================= System uname: 2.4.22-ck2 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz Gentoo Base System version 1.4.3.10p1 distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -Os -fomit-frame-pointer -mmmx -msse -pipe " CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /usr/X11R6/bin/startx /etc/env.d" CXXFLAGS="-march=pentium3 -Os -fomit-frame-pointer -mmmx -msse -pipe " DISTDIR="/usr/portage//distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://adelie.polymtl.ca/" MAKEOPTS="-j2" PKGDIR="/usr/portage//packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib alsa apm arts artswrappersuid avi berkdb bonobo breakme cdr crypt cups dga doc dvd encode evo fbcon foomaticdb gdbm ggi gif gphoto2 gpm gps gtk gtk2 gtkhtml guile icc imlib jpeg kde ldap leim libg++ libwww mad motif moznoirc moznomail mpeg mule nas ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl pic plotutils png pnp prebuilt python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex threads tiff truetype type1 usb wmf x86 xml2 xmms xv zlib"
preview works for me. Try compiling with lower optimizations (without -Os at least).
-O2 still does not work, now I am trying without omit-frame-pointer
Went as low as CFLAGS="-O1" and it still does not work for me.
all relevant deps really... evolution as well. When you do compile with debugging support so you can get a backtrace.
Or with abiword-2.0.3, or with gnumeric-1.2.5 ... going back to 2.4.0 does actually get you printing again. I'll report back when I've brought my gnome installation up to 2.4.2.
emerge -u gnome doesn't help this problem ... I'm going back to emerge =gnome-base/libgnomeprintui-2.4.0.
c'mon, thats a terribly uninformative comment from a dev. '-u gnome' on any given machine on any given time is different, it sais nothing. Anyway, i already gave some hints on what would be useful in comment #4 towards figuring out the problem. Going back to a version that is 'know to work for you' isn't, why do i have to state the obvious here ?
c'mon, thats a terribly uninformative comment from a dev. '-u gnome' on any given machine on any given time is different, it sais nothing. You're right, of course ... I'm running an ~x86 athlon xp machine here and since there has been a trickle of new gnome-2.4.2 packages, libgnomeprint being one of the first to actually have ebuilds in Portage, I thought it might be helpful if I updated other 2.4.2 packages at this point. Just my luck that this was not the case. Anyway, i already gave some hints on what would be useful in comment #4 towards figuring out the problem. Going back to a version that is 'know to work for you' isn't, why do i have to state the obvious here ? You did. At that particular juncture, I couldn't take any detours, because I had to *urgently* print out some spreadsheets with gnumeric and letters with abiword, which weren't printing, so I had to make it work *anyhow*. Confirming this information could conceivably be of use to somebody.
i need info to work on this reopen when info is provided.
It seems like using libgnomeprint{,ui} 2.8.0 brings me back the same problem. I have compiled libgnomeprint{,ui} and evolution with -O0 and with USE=debug. Please tell me what you want as extra informations.
Example of output from Evolution (printed files are just like that): http://gppd.inf.ufrgs.br/~pilla/output.pdf
does it crash ? if it crashes get a backtrace Also get the console output of evo if there is any..
It does not crash at all. There is no output related to printing in the console. Do you want me to pass any specific --debug= string to it?
It complains about not finding ppd files for CUPS printers... it does not looks like these are related to my problem, however I'll let it to your judgement. GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/evolution-2.0 warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. [Thread debugging using libthread_db enabled] [New Thread 1000716608 (LWP 27237)] asked to activate component_id `OAFIID:GNOME_Evolution_Addressbook_Component:2.0' Detaching after fork from child process 27246. [New Thread 1018833840 (LWP 27247)] asked to activate component_id `OAFIID:GNOME_Evolution_Addressbook_Component:2.0' [New Thread 1031801776 (LWP 27274)] [New Thread 1040194480 (LWP 27279)] Keys List: Height Width Options List: Height Width IS IN BOTH Height IS IN BOTH Width Keys List: Height Width Options List: Height Width IS IN BOTH Height IS IN BOTH Width (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer fundos could not be loaded. (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer color could not be loaded. (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer color@143.54.13.67 could not be loaded. (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer frente could not be loaded. (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer frente1 could not be loaded. (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer frente@143.54.13.67 could not be loaded. (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer fundos@143.54.13.67 could not be loaded. (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer meio could not be loaded. (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer Meio@143.54.13.67 could not be loaded. (evolution-2.0:27237): GnomePrintCupsPlugin-WARNING **: The ppd file for the CUPS printer Printer could not be loaded.
gedit gives the same messages but prints the correct output.
does the font appear right in the "print preview"?
No, it doesn't. Printed output is the same for printer/PDF/printer preview.
what version of pango libgnomeprint are you using now? also, can you try switching your fonts? if the fonts appear tiny, it usually means that the fonts weren't loaded correctly.
epm -qa | grep pango: pango-1.6.0 pango-1.2.1-r1 epm -qa | grep libgnomeprint: libgnomeprint-1.116.1 libgnomeprint-2.8.0 libgnomeprintui-1.116.0 libgnomeprintui-2.8.0 Chaging fonts in gnome-control-center does not make any difference at all.
you have 2 versions of pango ? you should have only 1 (1.6.0)
I have unmerged the older version of pango, reemerged pango libgnomeprint libgnomeprintui gtk+ librsvg libgnomecanvas pygtk (in this order) and now it freezes my evolution when I try to preview some printing... Any suggestions?
i'm convinced its a font problem, can you tell us what font you are using, what encoding it is, have you tried with just latin characters (eg, ascii), what LANG, LC_* settings?
export | grep LC declare -x LC_ADDRESS="pt_BR" declare -x LC_COLLATE="pt_BR" declare -x LC_CTYPE="pt_BR" declare -x LC_MEASUREMENT="pt_BR" declare -x LC_MONETARY="pt_BR" declare -x LC_NAME="pt_BR" declare -x LC_PAPER="pt_BR" declare -x LC_TELEPHONE="pt_BR" declare -x LC_TIME="pt_BR" no LANG set (the default is C, right?). I use the Bitstream Vera fonts (Sans, Sans Mono for terminals).
Sorry, the previous crash was related to my CUPS daemon (that is working again). However, changing LC_ALL and LANG to pt_BR or C didn't make any difference. I've tried also changing character encodings in Tools->Settings but without results.
Created attachment 42135 [details] PS file created with evolution's print (does not open in gv) gv cannot open it. Please see the fonts that are suposedly being created. As a matter of fact, the problem is more with the size than with shape (which seems to be correct, at least in print previews). %%BeginResource: font (GnomeUni-BitstreamVeraSans-Oblique) cvn %!PS-TrueTypeFont-1.0-2.0 %%Creator: SunTypeTools-TT 1.0 gelf %- Font subset generated from a source font file: '/usr/share/fonts/TTF/VeraIt.ttf' %- Original font name: BitstreamVeraSans-Oblique %- Original font family: Bitstream Vera Sans %- Original font sub-family: Oblique 11 dict begin /FontName /GnomeUni-BitstreamVeraSans-Oblique def
ok. that's different from the first pdf you attached. the first pdf had only squares as the characters, which indicates either bad character set or missing font.
But I can read that PDF (at least when I zoom it enough).
So, I am using the same versions of evolution and libgnomeprint{,ui} in another machine and it prints OK. I'am trying to play around with things that are different to see if I can bring more data. For instance, setting LC_* does not change the output. I've also played with /etc/fonts/* but nothing has changed.
i can't reproduce this behaviour on evolution or any other gnome app. does do this on any other gnome apps, like gedit and such?
The other applications work as far as I've tested. BTW, I discovered something by comparing the PS outputs of two boxes (one that works and the other that doesn't) This does not work: %- Font subset generated from a source font file: '/var/lib/defoma/fontconfig.d/B/Bitstream-Vera-Sans.ttf' This works: %- Font subset generated from a source font file: '/usr/share/fonts/ttf-bitstream-vera/VeraIt.ttf' The wierd thing is that I don't even have a /var/lib/defoma directory! Right now I am doing a search for "defoma" in my config files (but it may take some time).
I just discovered by googling defoma that it stands for "DEbian FOnt MAnager". However, I have never had debian installed in this notebook. Maybe it is something that came from a previous version of evolution -- I have had many development versions installed in this machine.
thanks for looking further in to this. i can't see where defoma would of been involved with gentoo. i'm tempted to close this as WORKSFORME.
I understand if you close it as WORKFORME because I have tried many things without coming to a full understanding of the problem. However, there are a couple of other guys having the same problem here: http://forums.gentoo.org/viewtopic.php?t=70113&start=25 Hopefully it will be working in the next release.
Can it be something with the flags? I am using -march=pentium3 -Os -pipe -fomit-frame-pointer and in a brand new install it is broken too.
This sounds like a dupe of 80985 (or that's a dupe of this) - can you try the newest pango in portage (1.8.1)? Thanks.
Did you try with the latest pango? Can you still reproduce this problem?
no response from reporter, need info.