#include <QFontMetrics>
#include <QHash>
-
namespace lyx {
namespace frontend {
mutable QHash<char_type, int> width_cache_;
struct AscendDescend {
- short int ascent;
- short int descent;
+ int ascent;
+ int descent;
};
/// Cache of char ascends and descends
mutable QHash<char_type, AscendDescend> metrics_cache_;