]> git.lyx.org Git - features.git/blobdiff - src/lyxlength.C
This commit is a big rework of the FontLoader/FontMetrics interaction. Only Qt4 for...
[features.git] / src / lyxlength.C
index 70a8aaad4204d20c66f3ec7a7b6330bc8c2fc357..f08d9191a4cc494c57e9f4c5364f83fe6daa39d3 100644 (file)
@@ -136,7 +136,7 @@ int LyXLength::inPixels(int text_width, int em_width_base) const
                ? em_width_base
                : 10*(dpi/72.27)*zoom;
        // A different estimate for em_width is
-       // font_metrics::width('M', LyXFont(LyXFont::ALL_SANE))
+       // theApp->fontLoader().metrics(LyXFont(LyXFont::ALL_SANE)).width('M')
        // but this estimate might not be more accurate as the screen font
        // is different then the latex font.