]> git.lyx.org Git - lyx.git/blobdiff - src/MetricsInfo.h
Limit the nopassthurchars case in beamer to URL
[lyx.git] / src / MetricsInfo.h
index 09c5b6331b466849650ea029f9958ef079cfce17..6f1d404822f2fca5d268a9fa7c388d3422e17d3f 100644 (file)
@@ -47,6 +47,8 @@ public:
        BufferView * bv;
        /// current font
        FontInfo font;
+       /// font of the containing inset
+       FontInfo outer_font;
        /// name of current font - mathed specific
        std::string fontname;
        /// This is the width available in pixels
@@ -56,6 +58,8 @@ public:
 
        /// Temporarily change a full font.
        Changer changeFontSet(std::string const & name);
+       /// Temporarily change font size in text mode, only record it in math mode.
+       Changer changeFontSize(std::string const & fontsize, bool mathmode);
        /// Temporarily change the font to math if needed.
        Changer changeEnsureMath(Inset::mode_type mode = Inset::MATH_MODE);
        // Temporarily change to the style suitable for use in fractions