General :: No Fonts Match '9x15' When Starting Emacs?
Apr 7, 2010I get the message
No fonts match '9x15'
when trying to run emacs and a linux box. I messed something up a while back, but I do not know how to fix this issue.
I get the message
No fonts match '9x15'
when trying to run emacs and a linux box. I messed something up a while back, but I do not know how to fix this issue.
I successfully installed Natty on my PC and everything works great. Or nearly! If I connect to a server via ssh and try to open an emacs window on the server: no fonts are visualized (only empty boxes) and I get the following warnings:
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
- running emacs with the "no window" option -nw works fine (but I don't like working with emacs in the terminal window).
[Code]...
After upgrading to CentOS 5.3, emacs is unable to locate its default font. (I've been able to supply emacs with a command-line or config-file link to a different installed font, but that's a workaround, not a solution.) I'm not sure if this is a packaging error, an error in our repository configuration, or something else. Below I've inserted some info that seems relevant. I'd be happy to post other information as requested. I've also attached a probably unnecessary screenshot of emacs displaying little blocks instead of characters at the very bottom of this post. Here's the command-line error thrown by emacs on startup:
[Code]...
whether one of emacs's needed fonts has been moved from one package to another in the latest upgrade. Or (most likely) it's something else I haven't thought of.
In CentOS 5.4 (Final), emacs is displaying characters as little boxes. see attached screen shot. I searched the Web and found others have this same problem with emacs in CentOS 5.4 but have not found any solution. I installed emacs in a base CentOS Amazon EC2 instance as follows:
yum -y groupinstall "GNOME Desktop Environment"
yum -y install emacs
yum -y groupinstall emacs
This issue does not arise for me in Amazon EC2 instances running Red Hat, Fedora, or Ubuntu when I install emacs as I did here. I am not X font savvy
So before natty, firefox 4 interface fonts matched the rest of my apps, but now they are huge! See the screen-shot to see what I mean. Anyone know how to get them to match again?
I think some of the browser fonts changed as well, but I know I can change them in the options menu.
I reduced my system font sizes from default 10 down to 8, but I want to also reduce the height of the Main Menu correspondingly. I've searched the forums and Google, but can't find a method for doing this. See the screenshots - both menu heights are exactly the same, but if I reduce the font size, I'd like the menu to shrink too.
View 3 Replies View RelatedI am running the 32 bit version of Fedora 14. I have a provided program (not part of the Linux system) that notes "Cannot open font 9x15" and then crashes when it tries to do graphics. I have checked by using -fn in xterm and there is no 9x15 font. This agrees with xlsfonts. How do I get the 9x15 font installed on this system.
View 4 Replies View RelatedI was using the following code in my .emacs file to start emacs maximized:
Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
[Code]...
I have the following query:
Code:
$sql="SELECT table1.datetime, table1.user_id, table2.ip, FROM table1,table2 WHERE id='$id' AND (table1.id = table2.id AND table1.datetime = table2.datetime)";
In table2 the datetime fields are about 1 to 2 seconds off due to the source of the data, which I cannot change.
Is it possible via a query match table1.datetime & table2.datetime by HH:MM (ie. to the minute instead of to the second)?
I just finished installing a bunch of truetype fonts. After installing them, firefox is displaying "bradybunch" font when I search google.
The font settings are all serif and sans serif in both the system fonts settings and firefox settings.
I am using ubuntu 9.10.
Any idea why this could be happening?
I would like to use the Adobe Garamond Pro in my text doccument in open office writer. I got a text document where from a friend where it is used so I know that it can. But when I want to edit I cant find it in the fonts dropdown menu.
View 2 Replies View RelatedI have a folder with over 1500 fonts, I would like to move them to my /usr/share/fonts folder so that they can be used. Some are from Windows, some are just random extras. I've installed the msttcorefonts, but there are quite a few missing that make some wen pages look different.
How can I go about putting the fonts from my folder, into the appropriate /usr/share/fonts folder to be used? And how can I move them all? I can't drag and drop them, and mv FONT_NAME /usr/share/fonts for all of them will take a month or two. Is there a way to elevate my self to be able to just drag and drop them all? And which folder would they need to go into for them to be used in Chrome and Firefox?
I have just installed openSUSE 11.2 X86_64 on my laptop, I then used KDE to install lots of type 1 fonts for my printer. These get loaded to /usr/local/share/fonts/...These installed fonts are visible to KDE (KWRITE) and GIMP so I assume that the installation was O.K. When I start openOFFICE writer I do not see these fonts. The font selection appears to be the fonts located under /usr/share/fonts. I have not tried other ooo3 components. I assume that they are not going to see the fonts either.
I have searched google and it appears that /usr/local/share/fonts is the correct location for non-packaged fonts. Has anybody any idea what is wrong? I think I could move all the fonts to /usr/share/fonts and ooo3 would work but this seems to break the installation directory structure. I have considered symlinks but I don't like the idea of defining a font twice to Linux and creating the syslinks is more work than reinstalling the fonts if they are lost
I tried Google search and reading man page options for emacs but couldn't find... If I run emacs in GUI, it starts GUI for emacs. I want to run it in CLI in rxvt. How do I do it?
View 1 Replies View Related$ echo -e "AsometAhingA
somethingA
ASomethiAng"
AsometAhingA[code]....
I know that sed "s/A//" deletes the first match in every line.But i want to delete only the first match in a txt. like: sed -i "MAGIC" file.txt
Say I had a string like so
Let's say I only wanted to grab TAC and BDX the ones in the 2nd, 4th, and 6th spot.
Will grab the lines from the rest of the file assuming these are the only lines with capital letters at the very beginning of each line.
Will delete the first 'T'. What I want to do is learn how to just pick the even characters, T(T)A(A)C(C) & B(B)D(D)X(X).
Is there something like the {1} which can pick just the even or odd character matches?
I am currently interested in switching from vim to emacs.One of the more compelling reasons for this is the smooth integration with a unix environment. The most experienced emacs users I have seen have a bash prompt at the bottom of their window, with stdout going to a buffer right above it. They then interact with the output of programs such as grep in interesting ways.I am on Ubuntu 10.04 and the default emacs environment does not seem to do much for me in the way of integration. For example, in the M-x shell mode, output from basic commands like ls produce lots of strange characters and hitting the up arrow does not go to previous commands.
View 4 Replies View RelatedI am doing some project work and for that using the server at college with ssh connection. Every time I try to open emacs on the terminal after connecting, it opens emacs in the terminal itself i.e. not its own window. On my laptop on which ubuntu is installed, emacs always opens up in its own window an thats how I am used to it. There are several problems when it opens in the terminal like when I try to use commands such as M-V, actually terminal's view menu opens up, its very frustrating. Also I am pretty sure that the college server runs on red hat and has X installed on it. So what do I need to do to get my emacs window back.
View 4 Replies View RelatedI was reading how you could browse the net with Emacs but then it was stated that it was done with another application like Firefox so this would imply that Emacs is an interpreter would it not? What is Emacs capable of? Is it an interpreter that runs a text editor?
View 11 Replies View RelatedI'm using emacs to write documents in latex. But, I would like to set the spell checker to use english or portuguese language. I've installed the ispell package for english and for portuguese. Now, I would like to set the emacs to use the english or the portuguese language. I can I do that?
View 2 Replies View RelatedThe facilities offered by any text editor to look for a string are highly superior to those offered by search engines such as that of Google or the one used by LQ>Search. To only speak of the most one elementary that comes to my mind, you can reach 'john smith' by searching with the string 'hn smi' in any decente editor, but I know of no search engine that offers this feature.
On the other hand, I have always heard of the power of Vim and Emacs. For instance, they say there is no thing Emacs cannot do. Lets advocate to the job of adding Google searches the ability to find 'john smith' by using 'hn smi' as the matching pattern. Or to add regular expression capabilities. Could I use Vim/Emacs to solve this problem?
A little light into the meaning of my words: It would be Vim/Emacs the one in charge of making the Internet connection, connecting to Google and send appropriate commands go Google. Then, to look for my string, I would be directly using Vim/Emacs which, upon receiving my commands, would send the appropriate ones to Google and return control to me.
I want to copy 100 rows from the openoffice calc file to a txt file opened in emacs at console mode, and I can't do it correctly.
I've open an openoffice cal file, and I select all rows and do copy. I've a txt file opened in emacs console. When I do paste, it will only be pasted 25 rows, and not all.
I don't know what the problem is. I ssh on to a linux machine and
setenv DISPLAY mylocalhostname:0
emacs temp.temp
Emacs: Cannot connect to X server mylocalhostname:0.
Check the DISPLAY environment variable or use `-d'.
Also use the 'xhost' program to verify that it is set to permit connections from your machine.
If i type '{' and hit Enter emacs will automatically put '}'. How can i do this?
View 3 Replies View RelatedHow to enable autoindent in Emacs?
View 6 Replies View RelatedI want to enable line numbering in emacs - as is vi, which we use exclusively at work (my boss removed emacs from all the machines in the department.)
In vi you just use :set nu - the is a site that explains that this is possible [URL]
It describes a linenum.el - and I can see the program, but don't understand how to install it.
Is it possible to get vim insert mode in Emacs?
View 2 Replies View RelatedI am using sed to process an ascii tcpdump file whereby each packet is processed into a line with the same number of columns and useful information is pulled out like the time, packet type, length, and also IP addresses, payload type and port numbers where appropriate. The time is already changed to seconds, followed by the protocol over ethernet, such as IP, IP6, ARP etc. and I can change anything it detects as IP, IP6 and ARP into some other string, pulling out necessary information depending on the protocol and payload.The beginning part of the search for IP starts with the sed search /([0-9][0-9]*.[0-9][0-9]*)[ ]IP[ ,] ... /, where time is in seconds and ellipses means more stuff, and likewise for IP6 and ARP.But how do I process the lines that are NOT IP, IP6 or ARP? (Specifically NOT /IP[ ,]/, /IP6[ ,]/ or /ARP[ ,]/.) So that I can format them into a string with the same number of columns.
View 2 Replies View RelatedI have recently installed ubuntu 10.04 on my five year old desktop. Unfortunately, the official linux driver for my ATI X1600 card doesn't seem to support this ubuntu. There's an open source driver running now, but 3D applications run much slower than originally under windows. (which I can't seem to install on my sata raid harddisk anymore)
It's even so slow that I can't use those 3D applications anymore. I came to the conclusion that my computer is just too old for such a modern system as ubuntu 10.04. So I started looking for another version of linux. I tried the Linux Distribution Chooser, it pointed me at OpenSUSE 11.2. But I don't know, this program still looks kind of new. Too new for my computer.
I think that my computer needs an older version of linux, so that all the hardware will work properly. So I'd like to know if there's an older version of ubuntu/linux that still supports my hardware.
My computer was assembled from the following parts:
- DVDI LiteOn 16x/48x IDE bulk
- RAM 512 MB DDR/400 PC3200 ValueSelect
- HDDI 200GB 7200 Maxtor 6B200M0 8MB/SATA
- MB MSI k8T Neo2-F Athlon 64/939/DDR
- CPU AMD Athlon 64 3200+ 2.0Ghz/so939 BOX
- X GRA Sapphire R9600XT TV/DVI 256MB L-re
Does anyone know any distributions that fit this hardware? Some older versions of ubuntu perhaps? Something that allows me to install drivers that make 3D applications run a t normal speed? If someone knows about a Distribution Chooser that takes hardware into account, I'd also like to know.
#!/bin/csh -f
source /xxxx/
set $spicedir = `sim_${1%.*}`
printf "Output folder is %s
" $spicedir
toolcommand -i $1 -o $spicedir
(-o output directory, -i =input)
I got spicedir: Undefined variable in my xterm
How could I match a file name without extension in csh