]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/dummy_impl.cpp
support for Georgian
[lyx.git] / src / tex2lyx / dummy_impl.cpp
index 6fb1a84b7611a68e0b91dc8613e54a06b90c579c..9e9c3107292c563fc7286b4d3d2db4f9dc1aa10b 100644 (file)
@@ -121,6 +121,22 @@ string alignmentToCSS(LyXAlignment)
        return string();
 }
 
+//
+// Dummy FontMetrics (needed by Length)
+//
+
+
+class FontMetrics {
+       int em() const { return 0; };
+};
+
+class FontInfo;
+
+FontMetrics const & theFontMetrics(FontInfo const &) {
+       static FontMetrics dummy;
+       return dummy;
+}
+
 //
 // Keep the linker happy on Windows
 //