]> git.lyx.org Git - features.git/commitdiff
Change the latex font names in order to match the names of type1inst.
authorDekel Tsur <dekelts@tau.ac.il>
Sat, 26 Jan 2002 18:32:03 +0000 (18:32 +0000)
committerDekel Tsur <dekelts@tau.ac.il>
Sat, 26 Jan 2002 18:32:03 +0000 (18:32 +0000)
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
src/FontLoader.C

index 68896b862323badc95486f99d0dc589c9fb78d6d..734f2525601c86357ce70ca94f361bf809a7195d 100644 (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.
index 38d20f7775d1292fd7c741853bc7e6f700a93e11..96645375b77800714583368f2dcd0b90b0b696df 100644 (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: