]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/GuiFontMetrics.h
No need (any longer?) to create a new view for lyxfiles-open
[lyx.git] / src / frontends / qt / GuiFontMetrics.h
index 0187c5c85ff762488ea312685211aec6baa5f59d..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: remove wen Qt4 suport goes away
-       bool needs_naked_ = false;
-
        /// Cache of char widths
        mutable QHash<char_type, int> width_cache_;
        /// Cache of string widths