After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 317610 - glines - Five or More - "shapes" don't appear properly
glines - Five or More - "shapes" don't appear properly
Status: RESOLVED DUPLICATE of bug 317615
Product: gnome-games-superseded
Classification: Deprecated
Component: glines
2.12.x
Other Linux
: Normal minor
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-30 15:11 UTC by Daniel Holbach
Modified: 2005-10-04 03:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Glines Shapes Problem (37.15 KB, image/png)
2005-10-03 13:06 UTC, Stefan Jenkner
Details

Description Daniel Holbach 2005-09-30 15:11:32 UTC
Version details: 2.12.0
Distribution/Version: Ubuntu Breezy

Forwarded from: http://bugzilla.ubuntu.com/show_bug.cgi?id=16692

When in preferences the image is set to "shape" they don't appear properly. They
appear with horziontal flashing lines.
Version: Breezy preview upgrade to 29-9-05
Comment 1 Callum McKenzie 2005-09-30 22:21:38 UTC
It works fine for me both on Breezy preview upgraded at about the same date and
an update to the latest as of 10:15 on the 30th September (GMT).

Could you please tell me what version of librsvg is being used?

Also, could you supply the output of gdk-pixbuf-query-loaders (specifically the
section for the svg loader) ?

Comment 2 Zunbeltz Izaola 2005-10-03 07:57:55 UTC
Hi,

librsvg = 2.12.0-0ubuntu2

Output of gdk-pixbuf-query-loaders

# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gtk+-2.8.4
#
# LoaderDir = /usr/lib/gtk-2.0/2.4.0/loaders
#
"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so"
"png" 5 "gtk20" "The PNG image format"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so"
"jpeg" 5 "gtk20" "The JPEG image format"
"image/jpeg" ""
"jpeg" "jpe" "jpg" ""
"\377\330" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-gif.so"
"gif" 4 "gtk20" "The GIF image format"
"image/gif" ""
"gif" ""
"GIF8" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ico.so"
"ico" 5 "gtk20" "The ICO image format"
"image/x-icon" ""
"ico" "cur" ""
"  \001   " "zz znz" 100
"  \002   " "zz znz" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ani.so"
"ani" 4 "gtk20" "The ANI image format"
"application/x-navi-animation" ""
"ani" ""
"RIFF    ACON" "    xxxx    " 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ras.so"
"ras" 4 "gtk20" "The Sun raster image format"
"image/x-cmu-raster" "image/x-sun-raster" ""
"ras" ""
"Y\246j\225" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so"
"xpm" 4 "gtk20" "The XPM image format"
"image/x-xpixmap" ""
"xpm" ""
"/* XPM */" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tiff.so"
"tiff" 0 "gtk20" "The TIFF image format"
"image/tiff" ""
"tiff" "tif" ""
"MM *" "  z " 100
"II* " "   z" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-pnm.so"
"pnm" 4 "gtk20" "The PNM/PBM/PGM/PPM image format family"
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap"
"image/x-portable-pixmap" ""
"pnm" "pbm" "pgm" "ppm" ""
"P1" "" 100
"P2" "" 100
"P3" "" 100
"P4" "" 100
"P5" "" 100
"P6" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-bmp.so"
"bmp" 5 "gtk20" "The BMP image format"
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
"bmp" ""
"BM" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-wbmp.so"
"wbmp" 4 "gtk20" "The WBMP image format"
"image/vnd.wap.wbmp" ""
"wbmp" ""
" " "z" 1

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xbm.so"
"xbm" 4 "gtk20" "The XBM image format"
"image/x-xbitmap" ""
"xbm" ""
"#define " "" 100
"/*" "" 50

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tga.so"
"tga" 4 "gtk20" "The Targa image format"
"image/x-tga" ""
"tga" "targa" ""
" \001\001" "x  " 100
" \001\t" "x  " 100
"  \002" "xz " 99
"  \003" "xz " 100
"  \n" "xz " 100
"  \013" "xz " 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-pcx.so"
"pcx" 4 "gtk20" "The PCX image format"
"image/x-pcx" ""
"pcx" ""
"\n \001" "" 100
"\n\002\001" "" 100
"\n\003\001" "" 100
"\n\004\001" "" 100
"\n\005\001" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so"
"svg" 2 "gtk20" "Scalable Vector Graphics"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml"
"text/xml-svg" ""
"svg" "svgz" "svg.gz" ""
" <?xml" "*     " 50
" <svg" "*    " 100
" <!DOCTYPE svg" "*             " 100

"/usr/lib/gtk-2.0/2.4.0/loaders/io-wmf.so"
"wmf" 0 "gtk20" "Windows Metafile"
"image/x-wmf" ""
"wmf" ""
"\327\315\306\232" "" 100
"\001" "" 100

Comment 3 Callum McKenzie 2005-10-03 09:06:14 UTC
Well that looks correct and it is the same software I am running here (which
works just fine).

If you run the program from the command line (glines) do any errors or warnings
in the terminal?

You might also like to try an uninstall then a reinstall, a file may have become
corrupted.
Comment 4 Stefan Jenkner 2005-10-03 13:02:16 UTC
i got this too on two different breezy installations:
console brings:

*** attempt to put segment in horiz list twice 
(it's about 80 lines)
Comment 5 Stefan Jenkner 2005-10-03 13:06:59 UTC
Created attachment 52971 [details]
Glines Shapes Problem

bug description above
Comment 6 Richard Hoelscher 2005-10-03 15:01:22 UTC
Stefan: I don't get this on my Breezy machine either.

If you want to re-install, make sure you include the "gnome-games-data" 
package. 

Are only getting this in shapes.svg in glines, and not in games like Mahjongg 
or Klotski? Uploading your copy of "/usr/share/pixmaps/glines/shapes.svg" or 
comparing it (diff) to the following file may help:
http://cvs.gnome.org/viewcvs/gnome-games/glines/shapes.svg
Comment 7 Callum McKenzie 2005-10-04 03:08:15 UTC
I have figured out how to reproduce this: set the locale to a European one.

e.g.
LANG=es_ES.UTF8 glines

gives me a very similar picture to Stefan's. 

In fact

LANG=es_ES.UTF8 eog shapes.svg

also screws up. So the problem is either in librsvg or it is in our use of the
polygon statement in shapes.svg (it is definitely the polygon statements, none
of them render correctly).

My guess is that the commas and decimal points (from the English point of view)
are becoming confused when interpreted in a locale where ',' is the separator.
This view is supported by the fact that mi_NZ doesn't cause any problems.


Comment 8 Callum McKenzie 2005-10-04 03:16:10 UTC
This is librsvg bug 317615. Marking as a duplicate.

*** This bug has been marked as a duplicate of 317615 ***