LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error message regarding fonts in grace (https://www.linuxquestions.org/questions/linux-software-2/error-message-regarding-fonts-in-grace-943919/)

hbaromega 05-08-2012 01:31 PM

Error message regarding fonts in grace
 
I have just installed grace in ubuntu 12.04. Whenever I open xmgrace, I find the following error message:

Warning: Cannot convert string "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*" to type FontStruct


How can I get rid of this?


Thanks.

Slackyman 05-09-2012 06:02 AM

It's a bug.
If you read the posts you can see:
"As of xorg_1:7.6+7ubuntu1, the xfonts-100dpi and xfonts-75dpi packages
were dropped from "Depends" to "Suggests",[1] and therefore they do
not appear in a standard Ubuntu installation"
Try installing xfonts-100dpi and xfonts-75dpi packages.

hbaromega 05-09-2012 07:07 AM

Quote:

Originally Posted by Slackyman (Post 4674100)
It's a bug.
If you read the posts you can see:
"As of xorg_1:7.6+7ubuntu1, the xfonts-100dpi and xfonts-75dpi packages
were dropped from "Depends" to "Suggests",[1] and therefore they do
not appear in a standard Ubuntu installation"
Try installing xfonts-100dpi and xfonts-75dpi packages.


Thanks. Actually just now I have solved the issue by doing a complicated internet search.
You are right. We need to install the above-mentioned fonts.

Let me mention the steps that I have taken. Actually I installed xfs and xfstt and that removed the error
message that I was seeing while opening xmgrace. But the same error message was still being shown while opening
xdvi (may be it occurs in some other applications too, I haven't checked all).

1. apt-get install xfs xfstt (Problem in grace resolved)

2. apt-get install t1-xfree86-nonfree ttf-xfree86-nonfree ttf-xfree86-nonfree-syriac xfonts-75dpi xfonts-100dpi

(May be we just need to install xfonts-75dpi and xfonts-100dpi only)

3. Then set the path:

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


(The path may vary in other configurations. Should use locate to see where 75/100dpi's are)

So I think, the problem is solved. If someone encounters similar error, please let me know. :)


All times are GMT -5. The time now is 08:45 PM.