The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
.
google unix.com



UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
GNU Emacs Help led3234 UNIX and Linux Applications 5 05-21-2008 07:47 PM
Help on EMACS VENC22 UNIX for Dummies Questions & Answers 4 07-14-2005 02:14 AM
Can't run emacs, pico.. aryajur UNIX for Dummies Questions & Answers 8 01-31-2005 05:45 AM
ftp in Emacs saurya_s UNIX for Advanced & Expert Users 1 02-04-2004 11:48 AM
window 2000 professional not pinging my window 98 system. kayode Windows & DOS: Issues & Discussions 10 11-13-2003 03:12 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 4.00 average. Display Modes
  #1 (permalink)  
Old 09-23-2008
Bandit390 Bandit390 is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 19
Emacs GUI window, help.

I'm using xming and enabled x11 tunneling. But when I try to use emacs to get the GUI window. I do get the window, but no fonts, can't click on buttons like file, edit....and when I type anything I just get the black rectangles.

I get error msg in terminal....

"Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct

Any suggestions?



P.S. Im using vista Ultimate 64
  #2 (permalink)  
Old 09-24-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
Your .Xresources or similar is specifying a font for Emacs which doesn't exist on your system. You can switch to another font with the menu you get when you click the left mouse button while holding down the shift key; or try to run it with something like emacs -fn 6x10 for starters (that's fairly small but still legible IMHO). Once you can see what you are doing, you might want to find the place where you customize fonts ("faces" in Emacs parlance) to change it for good to something legible; or edit your .Xresources to specify a suitable font.

You can try xfontsel to see samples of available fonts but it's a bit of a dinosaur-era in terms of user interface. Each of the labels at the top is actually a menu where you can narrow down your choices. Pick a slant of r (that's roman / straight) and a wght of medium or light to exclude italic and bold fonts, and a suitable rgstry (ascii if you're comfortable with stone-age text without any international accents, iso8859 for some Western accents, iso10646 for full Unicode) and perhaps google a bit or read the manual page.

Last edited by era; 09-24-2008 at 04:34 AM.. Reason: Brief xfontsel tutorial
  #3 (permalink)  
Old 09-24-2008
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline Forum Advisor  
Disorganised User
  
 

Join Date: Nov 2007
Location: New Zealand
Posts: 922
Just to add a bit to era's excellent distillation of how X11 font work (which I've now bookmarked for when I try and explain it to people thanks!) - the version of xming I use has a really small set of fonts by default, your's might well have the same problem.

There's good news though, you can add additional fonts to xming (like, say, courier-medium and helvetica-medium )
If you already have those fonts available in windows, you can either tell xming where to find these by editing the font-dirs file.
If they are not on your machine at all, you can either install them into windows, or into xming itself.
There's loads of information on xming fonts here:
Xming - PC X Server - Fonts
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0