git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5464 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-10-21 19:58:41 +00:00
parent ce708d095c
commit d851d1d1ca
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-10-21 Lars Gullik Bjønnes <larsbj@gullik.net>
* xfont_loader.C (doLoad): typo
2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com> 2002-10-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
* FormVCLog.C (update): modify, use ostringstream * FormVCLog.C (update): modify, use ostringstream

View File

@ -284,7 +284,7 @@ XFontStruct * xfont_loader::doLoad(LyXFont::FONT_FAMILY family,
getFontinfo(family, series, shape); getFontinfo(family, series, shape);
// FIXME! CHECK! Should we use 72.0 or 72.27? (Lgb) // FIXME! CHECK! Should we use 72.0 or 72.27? (Lgb)
int fsize = int((lyxrc.font_sizes[size] * lyxrc.dpi * int fsize = int((lyxrc.font_sizes[size] * lyxrc.dpi *
(lyxrc.zoom/100.0)) / 72..27 + 0.5); (lyxrc.zoom/100.0)) / 72.27 + 0.5);
string font = fontinfo[family][series][shape]->getFontname(fsize); string font = fontinfo[family][series][shape]->getFontname(fsize);