]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFont.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathFont.h
index eec65728b40921ea8066717ce36adc9aedcea529..a55c1f77b16ca7910ef503ea18c45e2529d62ee0 100644 (file)
@@ -32,7 +32,7 @@ public:
        /// are we in math mode, text mode, or unsure?
        mode_type currentMode() const;
        ///
-       std::string name() const;
+       docstring name() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -44,10 +44,12 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
+       ///
+       int kerning(BufferView const * bv) const { return cell(0).kerning(bv); }
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };