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
This commit is contained in:
Dekel Tsur 2002-01-26 18:32:03 +00:00
parent 10dd228f54
commit 7bc61e2195
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
* FontLoader.C (getFontinfo): Change the latex font names in order
to match the names of type1inst.
2002-01-21 Lars Gullik Bjřnnes <larsbj@birdstep.com>
* WorkArea.C (WorkArea): initialize the scrollbar bounds.

View File

@ -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: