Fix Fonts Error in maya 2012 in Linux RHEL/CentOS

Posted: October 12, 2012 in Linux, Maya

hey guys!
That’s because maya cant find right fonts as you already know…
first you need to install font libs over synamptic, I installed xfonts-100dpi and xfonts-75dpi…
you can look in /usr/share/X11/fonts/ for new folders with fonts… if you have such font folders than you need to refresh/rehash font libs with xset….

this is how it goes on debian… im sure it something like that on fedora too…

xset +fp /usr/share/fonts/X11/100dpi/
xset +fp /usr/share/fonts/X11/75dpi/
xset fp rehash

  • When using the Linux platform, you may experience an error that indicates: unable to open postscript font file.
  • // Error: Unable to open postscript font file for Courier //
    // Error: Unable to open postscript font file for Courier //
  • To workaround this problem, install the NimbusMonL font by installing n022003I.pfb from /usr/share/fonts/default.
  • You can also modify the $MAYA_LOCATION/resources/MayaStrings string catalogue to change the default Times new Roman font. This is applicable to all of the Windows, Mac OS X and Linux platforms:Change the following:
    // String set: s_TdnTextCurvesStrings
    //
    s_TdnTextCurvesStrings.rTextCurvesDefaultFont = "Times-Roman"
    s_TdnTextCurvesStrings.rTextCurvesDefaultFontLong = "Times New Roman"
    s_TdnTextCurvesStrings.rTextCurvesDefaultFontWAttr = "Times-Roman|h-13|w400|c0"

    to something similar to the following:

    // String set: s_TdnTextCurvesStrings
    //
    s_TdnTextCurvesStrings.rTextCurvesDefaultFont = "Utopia-Bold"
    s_TdnTextCurvesStrings.rTextCurvesDefaultFontLong = "Utopia-Bold"
    s_TdnTextCurvesStrings.rTextCurvesDefaultFontWAttr = "Utopia-Bold"

restart maya and you wont have fonts problems anymore!

ERROR 02

Maya HUD display fonts are looking weird like that:-

maya_font_error

to fix that

[root@elitebook rajiv]# xset +fp /usr/share/X11/fonts/100dpi/
[root@elitebook rajiv]# xset +fp /usr/share/X11/fonts/75dpi/
[root@elitebook rajiv]# xset fp rehash

[root@elitebook rajiv]# yum install xorg-x11-fonts*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.aol.in
* elrepo: elrepo.org
* epel: buaya.klas.or.id
* extras: centos-hcm.viettelidc.com.vn
* remi: fr2.rpmfind.net
* remi-test: fr2.rpmfind.net
* rpmforge: apt.sw.be
* updates: centos.aol.in
Setting up Install Process
Package xorg-x11-fonts-misc-7.2-9.1.el6.noarch already installed and latest version
Package xorg-x11-fonts-100dpi-7.2-9.1.el6.noarch already installed and latest version
Package xorg-x11-fonts-ISO8859-1-75dpi-7.2-9.1.el6.noarch already installed and latest version
Package xorg-x11-fonts-ISO8859-1-100dpi-7.2-9.1.el6.noarch already installed and latest version
Package xorg-x11-fonts-Type1-7.2-9.1.el6.noarch already installed and latest version
Resolving Dependencies
–> Running transaction check
—> Package xorg-x11-fonts-75dpi.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-ISO8859-14-100dpi.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-ISO8859-14-75dpi.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-ISO8859-15-100dpi.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-ISO8859-15-75dpi.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-ISO8859-2-100dpi.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-ISO8859-2-75dpi.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-ISO8859-9-100dpi.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-ISO8859-9-75dpi.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-cyrillic.noarch 0:7.2-9.1.el6 will be installed
—> Package xorg-x11-fonts-ethiopic.noarch 0:7.2-9.1.el6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Installing:
xorg-x11-fonts-75dpi noarch 7.2-9.1.el6 HQVFX-PIPELINE 2.8 M
xorg-x11-fonts-ISO8859-14-100dpi noarch 7.2-9.1.el6 HQVFX-PIPELINE 1.0 M
xorg-x11-fonts-ISO8859-14-75dpi noarch 7.2-9.1.el6 HQVFX-PIPELINE 905 k
xorg-x11-fonts-ISO8859-15-100dpi noarch 7.2-9.1.el6 HQVFX-PIPELINE 1.1 M
xorg-x11-fonts-ISO8859-15-75dpi noarch 7.2-9.1.el6 HQVFX-PIPELINE 932 k
xorg-x11-fonts-ISO8859-2-100dpi noarch 7.2-9.1.el6 HQVFX-PIPELINE 1.0 M
xorg-x11-fonts-ISO8859-2-75dpi noarch 7.2-9.1.el6 HQVFX-PIPELINE 901 k
xorg-x11-fonts-ISO8859-9-100dpi noarch 7.2-9.1.el6 HQVFX-PIPELINE 1.1 M
xorg-x11-fonts-ISO8859-9-75dpi noarch 7.2-9.1.el6 HQVFX-PIPELINE 930 k
xorg-x11-fonts-cyrillic noarch 7.2-9.1.el6 HQVFX-PIPELINE 395 k
xorg-x11-fonts-ethiopic noarch 7.2-9.1.el6 HQVFX-PIPELINE 150 k

Transaction Summary
============================================================================================================================================================================
Install 11 Package(s)

Total download size: 11 M
Installed size: 11 M
Is this ok [y/N]: y
Downloading Packages:
—————————————————————————————————————————————————————————-
Total 38 MB/s | 11 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : xorg-x11-fonts-ISO8859-2-75dpi-7.2-9.1.el6.noarch 1/11
Installing : xorg-x11-fonts-ISO8859-2-100dpi-7.2-9.1.el6.noarch 2/11
Installing : xorg-x11-fonts-ISO8859-14-100dpi-7.2-9.1.el6.noarch 3/11
Installing : xorg-x11-fonts-75dpi-7.2-9.1.el6.noarch 4/11
Installing : xorg-x11-fonts-ISO8859-15-75dpi-7.2-9.1.el6.noarch 5/11
Installing : xorg-x11-fonts-ethiopic-7.2-9.1.el6.noarch 6/11
Installing : xorg-x11-fonts-ISO8859-9-100dpi-7.2-9.1.el6.noarch 7/11
Installing : xorg-x11-fonts-ISO8859-14-75dpi-7.2-9.1.el6.noarch 8/11
Installing : xorg-x11-fonts-ISO8859-9-75dpi-7.2-9.1.el6.noarch 9/11
Installing : xorg-x11-fonts-cyrillic-7.2-9.1.el6.noarch 10/11
Installing : xorg-x11-fonts-ISO8859-15-100dpi-7.2-9.1.el6.noarch 11/11
Verifying : xorg-x11-fonts-ISO8859-15-100dpi-7.2-9.1.el6.noarch 1/11
Verifying : xorg-x11-fonts-cyrillic-7.2-9.1.el6.noarch 2/11
Verifying : xorg-x11-fonts-ISO8859-9-75dpi-7.2-9.1.el6.noarch 3/11
Verifying : xorg-x11-fonts-ISO8859-14-75dpi-7.2-9.1.el6.noarch 4/11
Verifying : xorg-x11-fonts-ISO8859-9-100dpi-7.2-9.1.el6.noarch 5/11
Verifying : xorg-x11-fonts-ethiopic-7.2-9.1.el6.noarch 6/11
Verifying : xorg-x11-fonts-ISO8859-15-75dpi-7.2-9.1.el6.noarch 7/11
Verifying : xorg-x11-fonts-75dpi-7.2-9.1.el6.noarch 8/11
Verifying : xorg-x11-fonts-ISO8859-14-100dpi-7.2-9.1.el6.noarch 9/11
Verifying : xorg-x11-fonts-ISO8859-2-100dpi-7.2-9.1.el6.noarch 10/11
Verifying : xorg-x11-fonts-ISO8859-2-75dpi-7.2-9.1.el6.noarch 11/11

Installed:
xorg-x11-fonts-75dpi.noarch 0:7.2-9.1.el6 xorg-x11-fonts-ISO8859-14-100dpi.noarch 0:7.2-9.1.el6 xorg-x11-fonts-ISO8859-14-75dpi.noarch 0:7.2-9.1.el6
xorg-x11-fonts-ISO8859-15-100dpi.noarch 0:7.2-9.1.el6 xorg-x11-fonts-ISO8859-15-75dpi.noarch 0:7.2-9.1.el6 xorg-x11-fonts-ISO8859-2-100dpi.noarch 0:7.2-9.1.el6
xorg-x11-fonts-ISO8859-2-75dpi.noarch 0:7.2-9.1.el6 xorg-x11-fonts-ISO8859-9-100dpi.noarch 0:7.2-9.1.el6 xorg-x11-fonts-ISO8859-9-75dpi.noarch 0:7.2-9.1.el6
xorg-x11-fonts-cyrillic.noarch 0:7.2-9.1.el6 xorg-x11-fonts-ethiopic.noarch 0:7.2-9.1.el6

Complete!
[root@elitebook rajiv]# xset fp rehash

maya_font_error_fix

hope this helps….

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s