diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2008-05-25 15:35:28 +0000 |
|---|---|---|
| committer | JucaBlues <JucaBlues@users.sourceforge.net> | 2008-05-25 15:35:28 +0000 |
| commit | c14ff7c7b9e4f564920cb37e89b2944aa9156f9a (patch) | |
| tree | 6cb0343c91d16b2dd93593c7b0a1a5459e076e9c /src/sp-object-repr.cpp | |
| parent | Fix some compile warnings (diff) | |
| download | inkscape-c14ff7c7b9e4f564920cb37e89b2944aa9156f9a.tar.gz inkscape-c14ff7c7b9e4f564920cb37e89b2944aa9156f9a.zip | |
* add rule in configure.ac so that only who has cairo > 1.6.4 (currently cairo git master branch) will compile SVGFonts (experimental) support.
* First code for SVGFonts rendering. Renders in a separate window because we still dont have pango integration.
(bzr r5753)
Diffstat (limited to 'src/sp-object-repr.cpp')
| -rw-r--r-- | src/sp-object-repr.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/sp-object-repr.cpp b/src/sp-object-repr.cpp index 6ed2f9ada..7eb91d281 100644 --- a/src/sp-object-repr.cpp +++ b/src/sp-object-repr.cpp @@ -43,11 +43,16 @@ #include "sp-flowdiv.h" #include "sp-flowregion.h" #include "sp-flowtext.h" -#include "sp-font.h" -#include "sp-font-face.h" -#include "sp-glyph.h" -#include "sp-missing-glyph.h" -#include "sp-glyph-kerning.h" +#include "config.h" + +#ifdef ENABLE_SVG_FONTS + #include "sp-font.h" + #include "sp-font-face.h" + #include "sp-glyph.h" + #include "sp-missing-glyph.h" + #include "sp-glyph-kerning.h" +#endif + #include "sp-style-elem.h" #include "sp-switch.h" #include "color-profile-fns.h" @@ -144,12 +149,14 @@ populate_dtables() { "svg:flowRegionExclude", SP_TYPE_FLOWREGIONEXCLUDE }, { "svg:flowRoot", SP_TYPE_FLOWTEXT }, { "svg:flowSpan", SP_TYPE_FLOWTSPAN }, +#ifdef ENABLE_SVG_FONTS { "svg:font", SP_TYPE_FONT }, { "svg:font-face", SP_TYPE_FONTFACE }, { "svg:glyph", SP_TYPE_GLYPH }, { "svg:missing-glyph", SP_TYPE_MISSING_GLYPH }, { "svg:hkern", SP_TYPE_HKERN }, { "svg:vkern", SP_TYPE_VKERN }, +#endif { "svg:g", SP_TYPE_GROUP }, { "svg:feBlend", SP_TYPE_FEBLEND }, { "svg:feColorMatrix", SP_TYPE_FECOLORMATRIX }, |
