]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathSupport.h
tex2lyx/text.cpp: fix typos
[lyx.git] / src / mathed / MathSupport.h
index 8bda8ac80aa463517d5809c84b6d5c7ed6650559..968be725ef305ae101d8e100c0c5774004faef10 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 #ifndef MATH_SUPPORT_H
 #define MATH_SUPPORT_H
 
-#include "mathparser_flags.h"
+#include "MathParser_flags.h"
 #include "support/strfwd.h"
 #include <vector>
 
 namespace lyx {
 
+class MetricsInfo;
 class PainterInfo;
 class FontInfo;
 class Dimension;
@@ -40,6 +41,8 @@ void mathed_string_dim(FontInfo const & font,
 
 int mathed_string_width(FontInfo const &, docstring const & s);
 
+void metricsStrRedBlack(MetricsInfo & mi, Dimension & dim, docstring const & s);
+
 void drawStrRed(PainterInfo & pi, int x, int y, docstring const & s);
 void drawStrBlack(PainterInfo & pi, int x, int y, docstring const & s);
 
@@ -49,6 +52,10 @@ void augmentFont(FontInfo & f, docstring const & cmd);
 
 bool isFontName(docstring const & name);
 
+bool isMathFont(docstring const & name);
+
+bool isTextFont(docstring const & name);
+
 // converts single cell to string
 docstring asString(MathData const & ar);
 // converts single inset to string