X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLength.cpp;h=a47052b506757b53083842dd7c33c7b1ad4a4bd2;hb=e54ae72e5fac6f750c3f7972c74bb42b57f3a049;hp=c9d6be2a4e32843e35f17714792c8f303fc304f6;hpb=8c622e4ff04765c786cbe9ccc9824f4429aee4e7;p=lyx.git diff --git a/src/Length.cpp b/src/Length.cpp index c9d6be2a4e..a47052b506 100644 --- a/src/Length.cpp +++ b/src/Length.cpp @@ -153,7 +153,7 @@ int Length::inPixels(int text_width, int em_width_base) const ? em_width_base : 10*(dpi/72.27)*zoom; // A different estimate for em_width is - // theFontMetrics(LyXFont(LyXFont::ALL_SANE)).width('M') + // theFontMetrics(Font(Font::ALL_SANE)).width('M') // but this estimate might not be more accurate as the screen font // is different then the latex font.