Code

fix compile
authorJucaBlues <JucaBlues@users.sourceforge.net>
Tue, 10 Jun 2008 02:33:43 +0000 (02:33 +0000)
committerJucaBlues <JucaBlues@users.sourceforge.net>
Tue, 10 Jun 2008 02:33:43 +0000 (02:33 +0000)
johan had forgotten to include a header

src/display/nr-svgfonts.cpp

index 42b321c8d1fa3933ea6158464e2cf8bfff40a3c5..143b021889b91f7c1e1afa296646d923f4cca76e 100644 (file)
@@ -12,7 +12,7 @@
  * Read the file 'COPYING' for more information.
  */
 
-#include <libnr/n-art-bpath.h>
+#include <libnr/n-art-bpath-2geom.h>
 #include <2geom/pathvector.h>
 #include <2geom/transforms.h>
 #include "../style.h"
@@ -160,7 +160,7 @@ SvgFont::scaled_font_text_to_glyphs (cairo_scaled_font_t *scaled_font,
     while(_utf8[0] != '\0'){
        len = 0;
         for (i=0; i < (unsigned long) this->glyphs.size(); i++){
-            if ( len = compare_them(this->glyphs[i]->unicode, _utf8) ){
+            if ( (len = compare_them(this->glyphs[i]->unicode, _utf8)) ){
                //check whether is there a glyph declared on the SVG document
                // that matches with the text string in its current position
                for(SPObject* node = this->font->children;previous_unicode && node;node=node->next){