]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/FontMetrics.h
DocBook: properly escape PI in InsetMarginal.
[lyx.git] / src / frontends / FontMetrics.h
index a35a26b481dfa4ded2072ade65a0e41c927f5b78..d1fae1c94eabef139523da2d6736997ead99bb5f 100644 (file)
@@ -60,8 +60,6 @@ public:
        virtual int maxAscent() const = 0;
        /// return the maximum descent of the font
        virtual int maxDescent() const = 0;
-       /// return the default leading of the font (often 0)
-       virtual int leading() const = 0;
        /// return default dimension of the font.
        /// \warning \c width is set to zero.
        virtual Dimension const defaultDimension() const = 0;
@@ -97,7 +95,7 @@ public:
         * direction of the string is forced, and the returned value
         * is from the left edge of the word, not from the start of the string.
         * \param rtl is true for right-to-left layout
-        * \param ws is the amount of extra inter-word space applied text justication.
+        * \param ws is the amount of extra inter-word space applied text justification.
         */
        virtual int pos2x(docstring const & s, int pos, bool rtl, double ws) const = 0;
        /**
@@ -106,7 +104,7 @@ public:
         * is from the left edge of the word, not from the start of the string.
         * the offset x is updated to match the closest position in the string.
         * \param rtl is true for right-to-left layout
-        * \param ws is the amount of extra inter-word space applied text justication.
+        * \param ws is the amount of extra inter-word space applied text justification.
         */
        virtual int x2pos(docstring const & s, int & x, bool rtl, double ws) const = 0;
        /**