#include <memory>
+#include <config_features.h>
+
namespace
{
public:
CPPUNIT_TEST_SUITE(Test);
CPPUNIT_TEST(testWorking);
+#if HAVE_MORE_FONTS
CPPUNIT_TEST(TestDrawString);
CPPUNIT_TEST(TestDrawStringTransparent);
+#endif
CPPUNIT_TEST(TestDrawLine);
CPPUNIT_TEST_SUITE_END();
};
checkRectPrimitive(aSequenceRect);
}
+#if HAVE_MORE_FONTS
void Test::TestDrawString()
{
// This unit checks for a correct import of an EMF+ file with only one DrawString Record
assertXPath(pDocument, "/primitive2D/metafile/transform/mask/transform/unifiedtransparence/textsimpleportion", "fontcolor", "#0000ff");
assertXPath(pDocument, "/primitive2D/metafile/transform/mask/transform/unifiedtransparence/textsimpleportion", "familyname", "ARIAL");
}
+#endif
void Test::TestDrawLine()
{