summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 179726d)
raw | patch | inline | side by side (parent: 179726d)
author | miklosh <miklosh@users.sourceforge.net> | |
Thu, 9 Aug 2007 10:16:03 +0000 (10:16 +0000) | ||
committer | miklosh <miklosh@users.sourceforge.net> | |
Thu, 9 Aug 2007 10:16:03 +0000 (10:16 +0000) |
src/extension/internal/pdfinput/svg-builder.cpp | patch | blob | history |
diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp
index c5112c5adb48574f855c170b739f3c170e51dffa..429a0cd4a542b328b16641be9836fc25e12be283 100644 (file)
gchar *pathtext = svgInterpretPath(state->getPath());
path->setAttribute("d", pathtext);
g_free(pathtext);
+ if (even_odd) {
+ path->setAttribute("clip-rule", "evenodd");
+ }
clip_path->appendChild(path);
Inkscape::GC::release(path);
// Append clipPath to defs and get id
// Font family
if (font->getFamily()) {
- const gchar *family = font->getFamily()->getCString();
sp_repr_css_set_property(_font_style, "font-family", font->getFamily()->getCString());
} else {
sp_repr_css_set_property(_font_style, "font-family", font_family);
}
IFTRACE(double *m = state->getTextMat());
TRACE(("tm: %f %f %f %f %f %f\n",m[0], m[1],m[2], m[3], m[4], m[5]));
- IFTRACE(m = _current_font->getFontMatrix());
- TRACE(("fm: %f %f %f %f %f %f\n",m[0], m[1],m[2], m[3], m[4], m[5]));
IFTRACE(m = state->getCTM());
TRACE(("ctm: %f %f %f %f %f %f\n",m[0], m[1],m[2], m[3], m[4], m[5]));
}