yes, the rpm i've pointed to will do all of that for you.
The spec file is on the sourceforge site (same link), but the spec file no longer contains the core X and Xft commands. Those are in a shell script that comes in the rpm. You'll find the shell script in the tarball at https://sourceforge.net/projects/mscorefonts2/files/sources/msttcore-fonts-i....
here's the spec
https://sourceforge.net/projects/mscorefonts2/files/specs/msttcore-fonts-ins....
you'll find both of these actually in the source rpm,
https://sourceforge.net/projects/mscorefonts2/files/rpms/msttcore-fonts-inst...
Let me know if you have any problems.
It worked great. Thanks a lot! For some reason I didn't figure yet 'comic sans' became the default for the old X core system (i.e. when no font is selected; it used to be some fairly generic font that I don't remember).
Just to clarify if anyone is wondering, it doesn't make any difference for modern apps. Installing fonts nowadays is a simple as dropping them in the font path as Matthew said. It's only for apps that use the legacy system.
manifestoe, I had some X problems (that I don't know if it was related with the font path file or not; can't say because I had other misconfigurations) and had to do a clean up on the X configs. While examining the issue I found out the way fonts add themselves to the X core system. They link their directories to /etc/X11/fontpath.d I did this to the ms fonts (after disabling 09-msttcore-fontpath.conf) and it works properly. So I suggest that you use this method in your script: instead of creating that fontpath file, simply ln -s /usr/share/fonts/msttcore to /etc/X11/fontpath.d/
See in my system: $ ll /etc/X11/fontpath.d/ total 0 lrwxrwxrwx. 1 root root 36 Jun 1 09:52 default-ghostscript -> /usr/share/fonts/default/ghostscript lrwxrwxrwx. 1 root root 30 Jun 1 09:51 fonts-default -> /usr/share/fonts/default/Type1 lrwxrwxrwx 1 root root 26 Oct 9 17:04 msttcore -> /usr/share/fonts/msttcore/ lrwxrwxrwx. 1 root root 25 May 25 12:37 terminus:unscaled -> /usr/share/fonts/terminus lrwxrwxrwx 1 root root 27 Oct 5 09:16 xorg-x11-fonts-100dpi:unscaled:pri=30 -> /usr/share/X11/fonts/100dpi lrwxrwxrwx. 1 root root 26 Sep 21 08:27 xorg-x11-fonts-75dpi:unscaled:pri=20 -> /usr/share/X11/fonts/75dpi lrwxrwxrwx. 1 root root 25 Jun 28 18:38 xorg-x11-fonts-misc:unscaled:pri=10 -> /usr/share/X11/fonts/misc
Thanks, I'll look in to it.
xset q will tell you your fontpath for X core.
/etc/X11/fontpath.d is the catalog directory. It has symlinks for a subset of /usr/share/fonts.
adding fontpath Files to the X11 xorg.conf should be equivalent.
the xset +fp commands are supposed to do the same thing for the running system.
adding to the xorg.conf is pretty reliable. on the other hand, adding a symlink to the rpm should be robust too.
Is anybody else having trouble with the 09 file added to /etc/X11/xorg.conf.d?
-rob janes
-- View this message in context: http://fedora.12.n6.nabble.com/installing-Microsoft-fonts-chkfontpath-not-fo... Sent from the Fedora List mailing list archive at Nabble.com.