* 6x13 font not working in windows emacs 21.3
@ 2003-04-02 13:44 Casper Gripenberg
2003-04-02 18:48 ` Jason Rumney
0 siblings, 1 reply; 7+ messages in thread
From: Casper Gripenberg @ 2003-04-02 13:44 UTC (permalink / raw)
Hi,
I have installed the 6x13 font from my Exceed
distribution into the windows font directory.
I'm running Windows 2000.
I can see the 6x13 font in the font dialog in
emacs, but when I select it emacs just simply
reverts back to the default courier font. This
problem is not present in emacs 20.x. I've
tried emacs 21.2 and 21.3, but it does not work
in either one. What's the deal?
I also tried converting fonts from a Unix XFS using
fstobdf, and then doing the bdf trick as per
instructions in the NT Emacs FAQ. This produced
a nice emacs crash in 21.2, and in 21.3 does kind
of semi-work, but the font looks weird, and there
are scrolling problems.
In any case it seems like something broke from
20.x -> 21.x(?) I put the font here:
http://zoidberg.homeip.net/schtuff/6x13.fon
Casper
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 6x13 font not working in windows emacs 21.3
2003-04-02 13:44 6x13 font not working in windows emacs 21.3 Casper Gripenberg
@ 2003-04-02 18:48 ` Jason Rumney
2003-04-03 7:59 ` Torsten Müller
0 siblings, 1 reply; 7+ messages in thread
From: Jason Rumney @ 2003-04-02 18:48 UTC (permalink / raw)
Casper Gripenberg <casper_cg@hotmail.com> writes:
> I can see the 6x13 font in the font dialog in
> emacs, but when I select it emacs just simply
> reverts back to the default courier font.
> In any case it seems like something broke from
> 20.x -> 21.x(?) I put the font here:
It seems like that, but it is not that something broke, just that
something changed. The font-dialog on MS-Windows used to create a
fontset automatically, to make it easier to use non-Latin-1 fonts.
But Emacs 21 can now DTRT for those fonts directly, so it no longer
needs to do that for most cases. But for fonts in non-standard
encodings, it is still necessary to create the fontset.
Something like
(setq my-fontset (create-fontset-from-ascii-font "*-6x13-*"))
(set-frame-font my-fontset)
should be a good starting point.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 6x13 font not working in windows emacs 21.3
2003-04-02 18:48 ` Jason Rumney
@ 2003-04-03 7:59 ` Torsten Müller
2003-04-08 12:22 ` Casper Gripenberg
2003-04-08 23:29 ` Jason Rumney
0 siblings, 2 replies; 7+ messages in thread
From: Torsten Müller @ 2003-04-03 7:59 UTC (permalink / raw)
If I display the fonts on my EmacsNT 21.2.1 I can see the following
lines among many others:
-raster-6x13-normal-r-normal-normal-13-97-96-96-c-60-*-#44
-raster-6x13B-normal-r-normal-normal-13-97-96-96-c-60-*-#44
-raster-7x13-normal-r-normal-normal-13-97-96-96-c-70-*-#44
-raster-7x13B-normal-r-normal-normal-13-97-96-96-c-70-*-#44
-raster-7x13euro-normal-r-normal-normal-13-97-96-96-c-70-*-#44
-raster-7x13euroB-normal-r-normal-normal-13-97-96-96-c-70-*-#44
-raster-7x14-normal-r-normal-normal-14-105-96-96-c-70-*-#44
-raster-7x14B-normal-r-normal-normal-14-105-96-96-c-70-*-#44
-raster-8x13-normal-r-normal-normal-13-97-96-96-c-80-*-#44
-raster-8x13B-normal-r-normal-normal-13-97-96-96-c-80-*-#44
-raster-9x15-normal-r-normal-normal-15-112-96-96-c-90-*-#44
-raster-9x15B-normal-r-normal-normal-15-112-96-96-c-90-*-#44
I did install these font files on my Windows XP and they work well
with other applications. But if I want to use any of them in Emacs
nothing happens. The font remains Courier. I tried the following
things:
- M-x set-frame-font
- with any of the strings above
- with 6x13
- command line option -fn
- with 6x13 (as in Linux!)
- font selection dialog (S-down-mouse-1)
- 6x13 Standard 10
- customizing the default face
- font family: raster-6x13, raster 6x13, 6x13
(what is right???)
- with or without height, weight, ...
What else could I try?
What is the meaning of these mysterious #44? Only these 12 fonts have
such a number.
T.M.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 6x13 font not working in windows emacs 21.3
2003-04-03 7:59 ` Torsten Müller
@ 2003-04-08 12:22 ` Casper Gripenberg
2003-04-09 4:44 ` Torsten Müller
2003-04-08 23:29 ` Jason Rumney
1 sibling, 1 reply; 7+ messages in thread
From: Casper Gripenberg @ 2003-04-08 12:22 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
In article <uwuic6mff.fsf@gmx.net>, Torsten Müller <Urlicht@gmx.net> wrote:
>If I display the fonts on my EmacsNT 21.2.1 I can see the following
>lines among many others:
>
> -raster-6x13-normal-r-normal-normal-13-97-96-96-c-60-*-#44
> -raster-6x13B-normal-r-normal-normal-13-97-96-96-c-60-*-#44
> [...]
>
>What else could I try?
>
>What is the meaning of these mysterious #44? Only these 12 fonts have
>such a number.
There are the same fonts I have. The same numbers, and they
do not work. I didn't try the other trick mentioned earlier
by Jason, because someone mailed me a 6x13 font that works.
Here:
http://zoidberg.homeip.net/schtuff/emacs6x13.zip
Casper
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 6x13 font not working in windows emacs 21.3
2003-04-03 7:59 ` Torsten Müller
2003-04-08 12:22 ` Casper Gripenberg
@ 2003-04-08 23:29 ` Jason Rumney
1 sibling, 0 replies; 7+ messages in thread
From: Jason Rumney @ 2003-04-08 23:29 UTC (permalink / raw)
Homunkulus@gmx.net (Torsten Müller) writes:
> -raster-9x15B-normal-r-normal-normal-15-112-96-96-c-90-*-#44
>
> What is the meaning of these mysterious #44?
It means that the font identifies its encoding as number 44, which is
not one of the documented Windows encodings, so the best Emacs can do
is report it as such.
> Only these 12 fonts have such a number.
Yes, most fonts will have something like iso8859-1 in place of the
*-#44, since they identify themselves as a standard Windows encoding
that Emacs knows about.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 6x13 font not working in windows emacs 21.3
2003-04-08 12:22 ` Casper Gripenberg
@ 2003-04-09 4:44 ` Torsten Müller
2003-04-09 7:11 ` Jason Rumney
0 siblings, 1 reply; 7+ messages in thread
From: Torsten Müller @ 2003-04-09 4:44 UTC (permalink / raw)
Casper Gripenberg <casper_cg@hotmail.com> schrieb:
> There are the same fonts I have. The same numbers, and they do not
> work. I didn't try the other trick mentioned earlier by Jason,
> because someone mailed me a 6x13 font that works.
>
> Here:
> http://zoidberg.homeip.net/schtuff/emacs6x13.zip
This works for the first approach and looks very nice. Thanks a lot.
But two questions are still remaining:
1. Does anybody have Windows (non #44) fonts in other sizes,
especially 7x13 and 7x14?
I did set 6x13 as font family in my basic Default face. So it is used
everywhere. But since I did this I can't see bold text really bold.
This happens for instance in Gnus. Now I could set the font family in
my Bold face to 6x13b. This works in most but not in all cases,
because Gnus seems to use own faces. So my question is:
2. Do I really have to change the font family of every known bold face
to 6x13b? Why do I not have to do this if I use Courier New or any
other font?
T.M.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 6x13 font not working in windows emacs 21.3
2003-04-09 4:44 ` Torsten Müller
@ 2003-04-09 7:11 ` Jason Rumney
0 siblings, 0 replies; 7+ messages in thread
From: Jason Rumney @ 2003-04-09 7:11 UTC (permalink / raw)
Homunkulus@gmx.net (Torsten Müller) writes:
> I did set 6x13 as font family in my basic Default face. So it is used
> everywhere. But since I did this I can't see bold text really bold.
> This happens for instance in Gnus. Now I could set the font family in
> my Bold face to 6x13b. This works in most but not in all cases,
> because Gnus seems to use own faces. So my question is:
>
> 2. Do I really have to change the font family of every known bold face
> to 6x13b? Why do I not have to do this if I use Courier New or any
> other font?
Because Courier New bold is still called Courier New. 6x13b bold has
a different font name than 6x13.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-04-09 7:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-02 13:44 6x13 font not working in windows emacs 21.3 Casper Gripenberg
2003-04-02 18:48 ` Jason Rumney
2003-04-03 7:59 ` Torsten Müller
2003-04-08 12:22 ` Casper Gripenberg
2003-04-09 4:44 ` Torsten Müller
2003-04-09 7:11 ` Jason Rumney
2003-04-08 23:29 ` Jason Rumney
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.