]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_support.C
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_support.C
index da3250fd404e60a11aa07ea702aaedd2fbe1d422..f857d8e753c09c41c888ff3a1fb9bdad593b0e50 100644 (file)
@@ -480,14 +480,6 @@ void mathed_draw_deco(PainterInfo & pi, int x, int y, int w, int h,
 }
 
 
-// In the future maybe we use a better fonts renderer
-void drawStr(PainterInfo & pi, LyXFont const & font,
-       int x, int y, string const & str)
-{
-       pi.pain.text(x, y, str, font);
-}
-
-
 void drawStrRed(PainterInfo & pi, int x, int y, string const & str)
 {
        LyXFont f = pi.base.font;
@@ -504,12 +496,6 @@ void drawStrBlack(PainterInfo & pi, int x, int y, string const & str)
 }
 
 
-void drawChar(PainterInfo & pi, LyXFont const & font, int x, int y, char c)
-{
-       pi.pain.text(x, y, c, font);
-}
-
-
 void math_font_max_dim(LyXFont const & font, int & asc, int & des)
 {
        asc = font_metrics::maxAscent(font);
@@ -601,8 +587,6 @@ fontinfo fontinfos[] = {
        // LyX internal usage
        {"lyxtex",        inh_family, inh_series,
                          LyXFont::UP_SHAPE, LColor::latex},
-       {"lyxert",        LyXFont::TYPEWRITER_FAMILY, inh_series,
-                         LyXFont::UP_SHAPE, LColor::latex},
        {"lyxsymbol",     LyXFont::SYMBOL_FAMILY, inh_series,
                          inh_shape, LColor::math},
        {"lyxboldsymbol", LyXFont::SYMBOL_FAMILY, LyXFont::BOLD_SERIES,