summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-01-18 20:58:23 +0000
committerThomas Holder <thomas@thomas-holder.de>2019-01-18 20:58:23 +0000
commit2de4d78077354eaee0b19956e0b5d2a6e3663719 (patch)
treebfa8e04564396e0e3c384696ed90ccd5dbdd03e5 /src/libnrtype
parentRemove crashes when using attributes XML dialog with Objects dialog open (II) (diff)
downloadinkscape-2de4d78077354eaee0b19956e0b5d2a6e3663719.tar.gz
inkscape-2de4d78077354eaee0b19956e0b5d2a6e3663719.zip
fix compilation with HAVE_CAIRO_PDF=0
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/Layout-TNG-Output.cpp10
-rw-r--r--src/libnrtype/Layout-TNG.h4
2 files changed, 0 insertions, 14 deletions
diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp
index 6ff52f2a7..2a7c835f3 100644
--- a/src/libnrtype/Layout-TNG-Output.cpp
+++ b/src/libnrtype/Layout-TNG-Output.cpp
@@ -29,14 +29,6 @@
#include <3rdparty/libuemf/symbol_convert.h>
-namespace Inkscape {
- namespace Extension {
- namespace Internal {
- class CairoRenderContext;
- }
- }
-}
-
using Inkscape::Extension::Internal::CairoRenderContext;
using Inkscape::Extension::Internal::CairoGlyphInfo;
@@ -424,7 +416,6 @@ std:: cout << "DEBUG Layout::print in while --- "
}
-#ifdef HAVE_CAIRO_PDF
void Layout::showGlyphs(CairoRenderContext *ctx) const
{
if (_input_stream.empty()) return;
@@ -519,7 +510,6 @@ void Layout::showGlyphs(CairoRenderContext *ctx) const
}
}
}
-#endif
#if DEBUG_TEXTLAYOUT_DUMPASTEXT
// these functions are for dumpAsText() only. No need to translate
diff --git a/src/libnrtype/Layout-TNG.h b/src/libnrtype/Layout-TNG.h
index e5317b501..c09fc27ca 100644
--- a/src/libnrtype/Layout-TNG.h
+++ b/src/libnrtype/Layout-TNG.h
@@ -28,7 +28,6 @@
#include <svg/svg-length.h>
#include "style-enums.h"
-#ifdef HAVE_CAIRO_PDF
namespace Inkscape {
namespace Extension {
namespace Internal {
@@ -38,7 +37,6 @@ namespace Inkscape {
}
using Inkscape::Extension::Internal::CairoRenderContext;
-#endif
class SPStyle;
class Shape;
@@ -403,12 +401,10 @@ public:
*/
void print(SPPrintContext *ctx, Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox, Geom::Affine const &ctm) const;
-#ifdef HAVE_CAIRO_PDF
/** Renders all the glyphs to the given Cairo rendering context.
\param ctx The Cairo rendering context to be used
*/
void showGlyphs(CairoRenderContext *ctx) const;
-#endif
/** Returns the font family of the indexed span */
Glib::ustring getFontFamily(unsigned span_index) const;