]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/GuiFontMetrics.h
Fix readability
[lyx.git] / src / frontends / qt / GuiFontMetrics.h
index ff2f0a33b8cafbe9bb6a8a1dfedcc74969f4a024..5f73172c0d246f16c4c5b2a6ae7994fbca337800 100644 (file)
@@ -116,13 +116,12 @@ private:
        /// Metrics on the font
        QFontMetrics metrics_;
 
+       /// Height of character "x"
+       int xheight_;
+
        /// Slope of italic font
        double slope_;
 
-       /// If true, avoid extra annotation in string for QTextLayout
-       // FIXME KILLQT4: remove when Qt4 suport goes away
-       bool needs_naked_ = false;
-
        /// Cache of char widths
        mutable QHash<char_type, int> width_cache_;
        /// Cache of string widths