From 7bc61e21955c861cd80a23d1b388df6827d1f30a Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Sat, 26 Jan 2002 18:32:03 +0000 Subject: [PATCH] Change the latex font names in order to match the names of type1inst. Anyone who used these fonts, should recreate the fonts.dir (you can use the lib/create_fonts_dir script) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3439 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 +++++ src/FontLoader.C | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 68896b8623..734f252560 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-01-26 Dekel Tsur + + * FontLoader.C (getFontinfo): Change the latex font names in order + to match the names of type1inst. + 2002-01-21 Lars Gullik Bjønnes * WorkArea.C (WorkArea): initialize the scrollbar bounds. diff --git a/src/FontLoader.C b/src/FontLoader.C index 38d20f7775..96645375b7 100644 --- a/src/FontLoader.C +++ b/src/FontLoader.C @@ -113,37 +113,37 @@ void FontLoader::getFontinfo(LyXFont::FONT_FAMILY family, case LyXFont::CMR_FAMILY: fontinfo[family][series][shape] = - new FontInfo("-*-cmr-medium-*-*-*-*-*-*-*-*-*-*-*"); + new FontInfo("-*-cmr10-medium-*-*-*-*-*-*-*-*-*-*-*"); return; case LyXFont::CMSY_FAMILY: fontinfo[family][series][shape] = - new FontInfo("-*-cmsy-*-*-*-*-*-*-*-*-*-*-*-*"); + new FontInfo("-*-cmsy10-*-*-*-*-*-*-*-*-*-*-*-*"); return; case LyXFont::CMM_FAMILY: fontinfo[family][series][shape] = - new FontInfo("-*-cmmi-medium-*-*-*-*-*-*-*-*-*-*-*"); + new FontInfo("-*-cmmi10-medium-*-*-*-*-*-*-*-*-*-*-*"); return; case LyXFont::CMEX_FAMILY: fontinfo[family][series][shape] = - new FontInfo("-*-cmex-*-*-*-*-*-*-*-*-*-*-*-*"); + new FontInfo("-*-cmex10-*-*-*-*-*-*-*-*-*-*-*-*"); return; case LyXFont::MSA_FAMILY: fontinfo[family][series][shape] = - new FontInfo("-*-msam-*-*-*-*-*-*-*-*-*-*-*-*"); + new FontInfo("-*-msam10-*-*-*-*-*-*-*-*-*-*-*-*"); return; case LyXFont::MSB_FAMILY: fontinfo[family][series][shape] = - new FontInfo("-*-msbm-*-*-*-*-*-*-*-*-*-*-*-*"); + new FontInfo("-*-msbm10-*-*-*-*-*-*-*-*-*-*-*-*"); return; case LyXFont::EUFRAK_FAMILY: fontinfo[family][series][shape] = - new FontInfo("-*-eufrak-medium-*-*-*-*-*-*-*-*-*-*-*"); + new FontInfo("-*-eufm10-medium-*-*-*-*-*-*-*-*-*-*-*"); return; default: