LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2012, 12:31 PM   #1
hbaromega
LQ Newbie
 
Registered: Jan 2011
Posts: 10

Rep: Reputation: 0
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.

Last edited by hbaromega; 05-09-2012 at 06:08 AM.
 
Old 05-09-2012, 05:02 AM   #2
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
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.
 
Old 05-09-2012, 06:07 AM   #3
hbaromega
LQ Newbie
 
Registered: Jan 2011
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Slackyman View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Repeating Error message in /var/log/message lucktsm Linux - Security 2 10-27-2006 08:29 AM
Grace allelopath SUSE / openSUSE 2 02-21-2005 04:04 AM
How to Change Fonts in Evolution message RobMagee100 Linux - Newbie 0 12-30-2004 03:13 AM
Grace noshellswill Linux - Software 0 10-26-2003 07:33 PM
Error: /etc/fonts/fonts.conf file? BearClaw Slackware 2 09-10-2003 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration