Personal computing discussed

Moderators: SecretSquirrel, notfred

 
ttrr000ock
Gerbil In Training
Topic Author
Posts: 2
Joined: Thu Aug 07, 2014 1:47 am

how to make server of 14.04 recognize desktop env

Thu Aug 07, 2014 2:07 am

Dear ubuntu linux c++ programer/expert:

I tried to copy/test first graph c++ on big c++ , first edition, but I got error:

Unable to initialize font: -adobe-courier-bold-r-normal-*-14-*-*-*-*-*-

on first edition of big c++, page 92, point.cpp
on my ubuntu linux 13.10(server edition) upgrade to 14.04
gcc 4.8.2

but, it work at my laptop installed 10.04(desktop edition) and keep updated it from 2010, so it apparent not software/program of c++ have problem, but ubuntu/linux 14.04
(server edition) have problem.

plz help, thanks a lot in advance, Eric
 
just brew it!
Gold subscriber
Administrator
Posts: 44620
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: how to make server of 14.04 recognize desktop env

Thu Aug 07, 2014 6:33 am

If you never installed a desktop environment, the fonts probably aren't there. You need to figure out which package contains the font you're looking for, and install it. Alternatively (if you've got the disk space) you could just install one of the desktop environments.
The years just pass like trains. I wave, but they don't slow down.
-- Steven Wilson
 
cheesyking
Minister of Gerbil Affairs
Posts: 2546
Joined: Sun Jan 25, 2004 7:52 am
Location: That London (or so I'm told)
Contact:

Re: how to make server of 14.04 recognize desktop env

Thu Aug 07, 2014 8:29 am

On the machine where you have the font installed, find the file for that font (probably in a sub directory of /usr/share/fonts ) and use dpkg -S filename to find the package it belongs to.
Fernando!
Your mother ate my dog!
 
ttrr000ock
Gerbil In Training
Topic Author
Posts: 2
Joined: Thu Aug 07, 2014 1:47 am

Re: how to make server of 14.04 recognize desktop env

Fri Aug 08, 2014 9:39 pm

thanks both reply.
in my /usr/share/fonts/X11/encodings/
I found 3 file related to adobe

adobe-dingbats.enc.gz
adobe-standard.enc.gz
adobe-symbol.enc.gz

------

I also do
dpkg -S adobe-standard
---(I get)---
xfonts-encodings: /usr/share/fonts/X11/encodings/adobe-standard.enc.gz

then I tried
apt-get install adobe-standard
or
apt-get install adobe
(unable to locate package)

both not work, so please help again, thanks a lot in advance, eric
 
SecretSquirrel
Minister of Gerbil Affairs
Posts: 2159
Joined: Tue Jan 01, 2002 7:00 pm
Location: The Colony, TX (Dallas suburb)
Contact:

Re: how to make server of 14.04 recognize desktop env

Sat Aug 09, 2014 7:29 am

Who is online

Users browsing this forum: No registered users and 4 guests