On Tue, Feb 05, 2002 at 05:17:56PM +0000, Angus Leeming wrote:
> Me neither. I haven't been able to since this happened (below). I assume that 
> things aren't working because I haven't made the equivalent changes in 
> font.dir

Hm.  So what's the right thing now?

It works again, if I revert Dekel's changes (patch applied)

Andre'

-- 
André Pönitz .............................................. [EMAIL PROTECTED]
Index: FontLoader.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/FontLoader.C,v
retrieving revision 1.37
diff -u -p -r1.37 FontLoader.C
--- FontLoader.C        2002/01/26 18:32:03     1.37
+++ FontLoader.C        2002/02/05 17:36:53
@@ -111,39 +111,50 @@ void FontLoader::getFontinfo(LyXFont::FO
                                new 
FontInfo("-*-symbol-*-*-*-*-*-*-*-*-*-*-adobe-fontspecific");
                        return;
 
+#ifdef WITH_WARNINGS
+#warning Dekel, have a look here again!
+#endif
+               //  it does not work on my machine anymore if the '10' is added
                case LyXFont::CMR_FAMILY:
                        fontinfo[family][series][shape] =
-                               new FontInfo("-*-cmr10-medium-*-*-*-*-*-*-*-*-*-*-*");
+                               //new 
+FontInfo("-*-cmr10-medium-*-*-*-*-*-*-*-*-*-*-*");
+                               new FontInfo("-*-cmr-medium-*-*-*-*-*-*-*-*-*-*-*");
                        return;
 
                case LyXFont::CMSY_FAMILY:
                        fontinfo[family][series][shape] =
-                               new FontInfo("-*-cmsy10-*-*-*-*-*-*-*-*-*-*-*-*");
+                               //new FontInfo("-*-cmsy10-*-*-*-*-*-*-*-*-*-*-*-*");
+                               new FontInfo("-*-cmsy-*-*-*-*-*-*-*-*-*-*-*-*");
                        return;
 
                case LyXFont::CMM_FAMILY:
                        fontinfo[family][series][shape] =
-                               new FontInfo("-*-cmmi10-medium-*-*-*-*-*-*-*-*-*-*-*");
+                               //new 
+FontInfo("-*-cmmi10-medium-*-*-*-*-*-*-*-*-*-*-*");
+                               new FontInfo("-*-cmmi-medium-*-*-*-*-*-*-*-*-*-*-*");
                        return;
 
                case LyXFont::CMEX_FAMILY:
                        fontinfo[family][series][shape] =
-                               new FontInfo("-*-cmex10-*-*-*-*-*-*-*-*-*-*-*-*");
+                               //new FontInfo("-*-cmex10-*-*-*-*-*-*-*-*-*-*-*-*");
+                               new FontInfo("-*-cmex-*-*-*-*-*-*-*-*-*-*-*-*");
                        return;
 
                case LyXFont::MSA_FAMILY:
                        fontinfo[family][series][shape] =
-                               new FontInfo("-*-msam10-*-*-*-*-*-*-*-*-*-*-*-*");
+                               //new FontInfo("-*-msam10-*-*-*-*-*-*-*-*-*-*-*-*");
+                               new FontInfo("-*-msam-*-*-*-*-*-*-*-*-*-*-*-*");
                        return;
 
                case LyXFont::MSB_FAMILY:
                        fontinfo[family][series][shape] = 
-                               new FontInfo("-*-msbm10-*-*-*-*-*-*-*-*-*-*-*-*");
+                               //new FontInfo("-*-msbm10-*-*-*-*-*-*-*-*-*-*-*-*");
+                               new FontInfo("-*-msbm-*-*-*-*-*-*-*-*-*-*-*-*");
                        return;
 
                case LyXFont::EUFRAK_FAMILY:
                        fontinfo[family][series][shape] = 
-                               new FontInfo("-*-eufm10-medium-*-*-*-*-*-*-*-*-*-*-*");
+                               //new 
+FontInfo("-*-eufm10-medium-*-*-*-*-*-*-*-*-*-*-*");
+                               new FontInfo("-*-eufm-medium-*-*-*-*-*-*-*-*-*-*-*");
                        return;
 
                default:

Reply via email to