]> git.lyx.org Git - lyx.git/blobdiff - src/Font.h
Fix RTL inset painting.
[lyx.git] / src / Font.h
index 6b4aafa00fa61498d4b2ac975e9aff464765c6d2..18544f171682ab978831e6d48acd1cbc77eeb34a 100644 (file)
 #ifndef FONT_H
 #define FONT_H
 
+#ifdef TEX2LYX
+#include "tex2lyx/Font.h"
+#else
+
 #include "Color.h"
 #include "support/docstream.h"
 
@@ -309,7 +313,8 @@ public:
        int latexWriteEndChanges(odocstream &, BufferParams const & bparams,
                                 OutputParams const & runparams,
                                 Font const & base,
-                                Font const & next) const;
+                                Font const & next,
+                                bool const & closeLanguage = true) const;
 
 
        /// Build GUI description of font state
@@ -421,4 +426,5 @@ bool operator!=(Font const & font1, Font const & font2)
 
 } // namespace lyx
 
+#endif // TEX2LYX
 #endif