Your message dated Thu, 5 Feb 2015 08:57:56 +0100
with message-id <20150205075756.GB31375@localhost>
and subject line Issue fixed with 0.91 release
has caused the Debian Bug report #588912,
regarding inkscape: CSS class selector matches a suffix, not only a whole word
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
588912: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588912
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: inkscape
Version: 0.47.0-2+b1
Severity: minor

If the SVG file includes a CSS rule for the selector
"rect.world", then it should match "rect" elements whose "class"
attribute contains the word "world".  In Inkscape however, it
matches "rect" elements whose "class" attribute contains any word
ending with "world".  I'm attaching a file that demonstrates the
bug.

class="helloworld" (large circle): Bug; matches but shouldn't
class="hello" (vertical ellipse): OK, doesn't match
class="world" (horizontal ellipse): OK, matches
class="hello world" (small circle): OK, matches

This bug seems to be in src/libcroco/cr-sel-eng.c
(class_add_sel_matches_node): after strncmp has returned a
nonzero value, which means the word did not match, the loop
increments cur by only one character instead of skipping the
whole word.  In bug #427946, it is said that the src/libcroco/
included in inkscape was forked from libcroco 0.6.  I don't know
whether the class matching code has been fixed in the upstream
libcroco since.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages inkscape depends on:
ii  libaspell15             0.60.6-4         GNU Aspell spell-checker runtime l
ii  libatk1.0-0             1.30.0-1         The ATK accessibility toolkit
ii  libc6                   2.11.2-2         Embedded GNU C Library: Shared lib
ii  libcairo2               1.8.10-4         The Cairo 2D vector graphics libra
ii  libcairomm-1.0-1        1.8.4-3          C++ wrappers for Cairo (shared lib
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.3.11-1         FreeType 2 font engine, shared lib
ii  libgc1c2                1:6.8-1.2        conservative garbage collector for
ii  libgcc1                 1:4.4.4-6        GCC support library
ii  libgconf2-4             2.28.1-3         GNOME configuration database syste
ii  libglib2.0-0            2.24.1-1         The GLib library of C routines
ii  libglibmm-2.4-1c2a      2.24.2-1         C++ wrapper for the GLib toolkit (
ii  libgnomevfs2-0          1:2.24.3-1       GNOME Virtual File System (runtime
ii  libgomp1                4.4.4-6          GCC OpenMP (GOMP) support library
ii  libgsl0ldbl             1.14+dfsg-1      GNU Scientific Library (GSL) -- li
ii  libgtk2.0-0             2.20.1-1         The GTK+ graphical user interface 
ii  libgtkmm-2.4-1c2a       1:2.20.3-1       C++ wrappers for GTK+ (shared libr
ii  libgtkspell0            2.0.16-1         a spell-checking addon for GTK's T
ii  liblcms1                1.18.dfsg-1.2+b2 Color management library
ii  libmagick++3            7:6.6.0.4-2      object-oriented C++ interface to I
ii  libmagickcore3          7:6.6.0.4-2      low-level image manipulation libra
ii  libpango1.0-0           1.28.1-1         Layout and rendering of internatio
ii  libpangomm-1.4-1        2.26.2-1         C++ Wrapper for pango (shared libr
ii  libpng12-0              1.2.44-1         PNG library - runtime
ii  libpoppler-glib4        0.12.4-1         PDF rendering library (GLib-based 
ii  libpoppler5             0.12.4-1         PDF rendering library
ii  libpopt0                1.16-1           lib for parsing cmdline parameters
ii  libsigc++-2.0-0c2a      2.2.4.2-1        type-safe Signal Framework for C++
ii  libstdc++6              4.4.4-6          The GNU Standard C++ Library v3
ii  libwpd8c2a              0.8.14-1         Library for handling WordPerfect d
ii  libwpg-0.1-1            0.1.3-1          WordPerfect graphics import/conver
ii  libx11-6                2:1.3.3-3        X11 client-side library
ii  libxml2                 2.7.7.dfsg-2     GNOME XML library
ii  libxslt1.1              1.1.26-3         XSLT processing library - runtime 
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages inkscape recommends:
ii  aspell                       0.60.6-4    GNU Aspell spell-checker
ii  imagemagick                  7:6.6.0.4-2 image manipulation programs
ii  libwmf-bin                   0.2.8.4-6.1 Windows metafile conversion tools
ii  perlmagick                   7:6.6.0.4-2 Perl interface to the ImageMagick 
ii  pstoedit                     3.45-8+b1   PostScript and PDF files to editab

Versions of packages inkscape suggests:
pn  dia | dia-gnome             <none>       (no description available)
ii  libgnomevfs2-extra          1:2.24.3-1   GNOME Virtual File System (extra m
pn  libsvg-perl                 <none>       (no description available)
pn  libxml-xql-perl             <none>       (no description available)
ii  python                      2.6.5-5      An interactive high-level object-o
pn  python-lxml                 <none>       (no description available)
ii  python-numpy                1:1.3.0-3+b2 Numerical Python adds a fast array
pn  python-uniconvertor         <none>       (no description available)
pn  ruby                        <none>       (no description available)
pn  skencil                     <none>       (no description available)
pn  ttf-bitstream-vera          <none>       (no description available)

-- no debconf information

Attachment: pgpbLKN26L2p7.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 0.91-1

Thanks to the massive bug triaging made by Alex Valavanis (inkscape
upstream developer), this bug was found fixed in the new release 0.91.

Thus, I'm closing this bug report.

If the issue still appears for you, feel free to re-open the bug.

Cheers.

-- 
Matteo F. Vescovi || Debian Developer
GnuPG KeyID: 4096R/0x8062398983B2CF7A

--- End Message ---

Reply via email to