diff --git a/src/sp-glyph-kerning.h b/src/sp-glyph-kerning.h
index 806ec0986731fc67a281340acdf93e32ba13ab09..ce9b4bb15e9638df58bb8d3911af66392ab80df8 100644 (file)
--- a/src/sp-glyph-kerning.h
+++ b/src/sp-glyph-kerning.h
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef ENABLE_SVG_FONTS
#ifndef __SP_GLYPH_KERNING_H__
#define __SP_GLYPH_KERNING_H__
* SVG <hkern> and <vkern> elements implementation
*
* Authors:
- * Felipe C. da S. Sanches <felipe.sanches@gmail.com>
+ * Felipe C. da S. Sanches <juca@members.fsf.org>
*
* Copyright (C) 2008 Felipe C. da S. Sanches
*
*/
#include "sp-object.h"
+#include "unicoderange.h"
#define SP_TYPE_HKERN (sp_glyph_kerning_h_get_type ())
#define SP_HKERN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_HKERN, SPHkern))
#define SP_IS_VKERN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_VKERN))
#define SP_IS_VKERN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_VKERN))
+class GlyphNames{
+public:
+GlyphNames(const gchar* value);
+~GlyphNames();
+bool contains(const char* name);
+private:
+gchar* names;
+};
+
struct SPGlyphKerning : public SPObject {
- char* u1;
- char* g1;
- char* u2;
- char* g2;
+ UnicodeRange* u1;
+ GlyphNames* g1;
+ UnicodeRange* u2;
+ GlyphNames* g2;
double k;
};