* [gentoo-user] "6x13" font for gnome-terminal
@ 2005-07-22 22:24 Allan Gottlieb
2005-07-25 4:19 ` A. Khattri
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Allan Gottlieb @ 2005-07-22 22:24 UTC (permalink / raw
To: gentoo-user
All my screens are 1600x1200 pixels.
Several are reasonably large (~20 inch) lcds and I use what emacs
calls a 6x13 font. Its real name is
-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
This permits 3 side by side windows (frames in emacs) of 81 columns.
I have tried every fixed-width frame I found in the list given for
gnome-terminal and cannot find one this size.
Is there some way I can tell gnome-terminal to use
-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
or, even better, tell gnome to make this font available on the menus?
thanks,
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] "6x13" font for gnome-terminal
2005-07-22 22:24 [gentoo-user] "6x13" font for gnome-terminal Allan Gottlieb
@ 2005-07-25 4:19 ` A. Khattri
2005-07-26 8:46 ` Oscar Carlsson
2005-08-16 20:35 ` [gentoo-user] " James Cloos
2 siblings, 0 replies; 7+ messages in thread
From: A. Khattri @ 2005-07-25 4:19 UTC (permalink / raw
To: gentoo-user
On Fri, 22 Jul 2005, Allan Gottlieb wrote:
> All my screens are 1600x1200 pixels.
>
> Several are reasonably large (~20 inch) lcds and I use what emacs
> calls a 6x13 font. Its real name is
> -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
>
> This permits 3 side by side windows (frames in emacs) of 81 columns.
>
> I have tried every fixed-width frame I found in the list given for
> gnome-terminal and cannot find one this size.
>
> Is there some way I can tell gnome-terminal to use
> -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
> or, even better, tell gnome to make this font available on the menus?
Maybe you can set that in your ~/.Xdefaults file?
--
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] "6x13" font for gnome-terminal
2005-07-22 22:24 [gentoo-user] "6x13" font for gnome-terminal Allan Gottlieb
2005-07-25 4:19 ` A. Khattri
@ 2005-07-26 8:46 ` Oscar Carlsson
2005-07-26 10:37 ` Holly Bostick
2005-08-16 20:35 ` [gentoo-user] " James Cloos
2 siblings, 1 reply; 7+ messages in thread
From: Oscar Carlsson @ 2005-07-26 8:46 UTC (permalink / raw
To: gentoo-user
I think gnome-terminal only can handle xft-fonts (and that's probably a
feature)...
Have you considered trying some older (and not so user friendly) terminal?
rxvt, xterm, urxvt and aterm are all pretty nice, memory efficent and fast,
and you can do everything in them that you could in gnome-terminal (well,
almost) :-)
Oscar
Saturday 23 July 2005 00.24 skrev Allan Gottlieb:
> All my screens are 1600x1200 pixels.
>
> Several are reasonably large (~20 inch) lcds and I use what emacs
> calls a 6x13 font. Its real name is
> -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
>
> This permits 3 side by side windows (frames in emacs) of 81 columns.
>
> I have tried every fixed-width frame I found in the list given for
> gnome-terminal and cannot find one this size.
>
> Is there some way I can tell gnome-terminal to use
> -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
> or, even better, tell gnome to make this font available on the menus?
>
> thanks,
> allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] "6x13" font for gnome-terminal
2005-07-26 8:46 ` Oscar Carlsson
@ 2005-07-26 10:37 ` Holly Bostick
2005-07-27 4:02 ` Allan Gottlieb
0 siblings, 1 reply; 7+ messages in thread
From: Holly Bostick @ 2005-07-26 10:37 UTC (permalink / raw
To: gentoo-user
Oscar Carlsson schreef:
> Saturday 23 July 2005 00.24 skrev Allan Gottlieb:
>
>>All my screens are 1600x1200 pixels.
>>
>>Several are reasonably large (~20 inch) lcds and I use what emacs
>>calls a 6x13 font. Its real name is
>>-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
>>
>>This permits 3 side by side windows (frames in emacs) of 81 columns.
>>
>>I have tried every fixed-width frame I found in the list given for
>>gnome-terminal and cannot find one this size.
>>
>>Is there some way I can tell gnome-terminal to use
>>-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
>>or, even better, tell gnome to make this font available on the menus?
>>
> I think gnome-terminal only can handle xft-fonts (and that's probably a
> feature)...
> Have you considered trying some older (and not so user friendly) terminal?
> rxvt, xterm, urxvt and aterm are all pretty nice, memory efficent and fast,
> and you can do everything in them that you could in gnome-terminal (well,
> almost) :-)
I think Oscar is right (about gnome-terminal only supporting XFT fonts).
For another suggestion for an alternate, you might consider
multi-gnome-terminal (emerge multi-gnome-terminal)
which is "based" on gnome-terminal, and has many more features (like
session saving and history saving per terminal tab), despite being
GTK-based rather than GTK2-based.
I've just checked, and it does definitely accept font specifications in
the form of -*-fixed-medium-r-normal--14-*-*-*-*-*-*-*,*-r-* , so it
might be more like what you're looking for. It's not quite perfect, but
it's pretty close.
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] "6x13" font for gnome-terminal
2005-07-26 10:37 ` Holly Bostick
@ 2005-07-27 4:02 ` Allan Gottlieb
0 siblings, 0 replies; 7+ messages in thread
From: Allan Gottlieb @ 2005-07-27 4:02 UTC (permalink / raw
To: gentoo-user
At Tue, 26 Jul 2005 12:37:10 +0200 Holly Bostick <motub@planet.nl> wrote:
> Oscar Carlsson schreef:
>> Saturday 23 July 2005 00.24 skrev Allan Gottlieb:
>>
>>>All my screens are 1600x1200 pixels.
>>>
>>>Several are reasonably large (~20 inch) lcds and I use what emacs
>>>calls a 6x13 font. Its real name is
>>>-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
>>>
>>>This permits 3 side by side windows (frames in emacs) of 81 columns.
>>>
>>>I have tried every fixed-width frame I found in the list given for
>>>gnome-terminal and cannot find one this size.
>>>
>>>Is there some way I can tell gnome-terminal to use
>>>-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
>>>or, even better, tell gnome to make this font available on the menus?
>>>
>> I think gnome-terminal only can handle xft-fonts (and that's probably a
>> feature)...
>> Have you considered trying some older (and not so user friendly) terminal?
>> rxvt, xterm, urxvt and aterm are all pretty nice, memory efficent and fast,
>> and you can do everything in them that you could in gnome-terminal (well,
>> almost) :-)
>
> I think Oscar is right (about gnome-terminal only supporting XFT fonts).
>
> For another suggestion for an alternate, you might consider
>
> multi-gnome-terminal (emerge multi-gnome-terminal)
>
> which is "based" on gnome-terminal, and has many more features (like
> session saving and history saving per terminal tab), despite being
> GTK-based rather than GTK2-based.
>
> I've just checked, and it does definitely accept font specifications in
> the form of -*-fixed-medium-r-normal--14-*-*-*-*-*-*-*,*-r-* , so it
> might be more like what you're looking for. It's not quite perfect, but
> it's pretty close.
Thank you all for these suggestions.
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: "6x13" font for gnome-terminal
2005-07-22 22:24 [gentoo-user] "6x13" font for gnome-terminal Allan Gottlieb
2005-07-25 4:19 ` A. Khattri
2005-07-26 8:46 ` Oscar Carlsson
@ 2005-08-16 20:35 ` James Cloos
2005-08-21 2:49 ` Allan Gottlieb
2 siblings, 1 reply; 7+ messages in thread
From: James Cloos @ 2005-08-16 20:35 UTC (permalink / raw
To: gentoo-user; +Cc: Allan Gottlieb
>>>>> "Allan" == Allan Gottlieb <gottlieb@nyu.edu> writes:
Allan> ... I use what [the] 6x13 [bdf] font.
Allan> Its [xlfd] name is
Allan> -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
Allan> Is there some way I can tell gnome-terminal to use
Allan> -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
Yes, xft supports bitmap fonts and this one should be in the list.
It can be a bit of work to get the right fontconfig name for a given
xlfd name, so the best thing to do is to find the fonts.dir file that
matches the xlfd to a filename, and find that same filename in the
fonts.cache-1 file in that directory.
The font you want is in /usr/share/fonts/misc/6x13-ISO8859-1.pcf.gz
and that matches this line in /usr/share/fonts/misc/fonts-cache-1:
,----
| "6x13-ISO8859-1.pcf.gz" 0 "Fixed-12:style=SemiCondensed:slant=0:
| weight=100:width=87:pixelsize=13:spacing=110:foundry=Misc:
| antialias=False:index=0:outline=False:scalable=False:dpi=75:
| charset= |>^1!|>^1!|>^1!P0oWQ |>^1!|>^1!|>^1!:
| lang=aa|...long-list...|zu:
| fontversion=0:fontformat=PCF"
`----
I've manually broken that to fit in 80 cols, and elided the full list
of the lang attribute.
This means that the string from Fixed to PCF is the full fontconfig
name. In practice you can leave out a lot of that. This should let
you view the font:
:; xfd -fa 'Fixed-12:style=semicondensed:pixelsize=13:foundry=misc'
the equivalent invocation for that font as a server-side font is:
:; xfd -fn -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
To get gnome-terminal to use that font you may need to manually edit
the gconf file. I'd first make a named profile in gnome-terminal's
edit current profile dialog (from the right-click menu), and then
look for that profile's name in:
~/.gconf/apps/gnome-terminal/profiles/
The default profile is named Default, and its gconf file is:
~/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml
In that file, look for:
<entry name="font"
and put the fontconfig name in the <stringvalue> container w/in that
entry.
There is also an x_font entry that appears to take an xlfd, so I'd
change that, too.
Depending on your dpi setting, you might even get lucky by using g-t's
dialog to choose Fixed, style=semicondensed and one of the offered
point sizes. On my 133dpi screen -- with X actually using that dpi --
I was unable to get the dialog to match 6x13.
As an alternative, you can try Vera Mono or DevaVu Mono; they have
about the same aspect ratio as the bdf fixed fonts and look as good
if you have freetype installed w/o bindist in USE. Ie, when using
the bycode interpreter, the hinting leaves the stems sharp and adds
just a hint of smoothing to the curves and diagonals. It looks
especially sweet on an LCD w/ fontconfig setup w/ rgba.
-JimC
--
James H. Cloos, Jr. <cloos@jhcloos.com> <http://jhcloos.com>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: "6x13" font for gnome-terminal
2005-08-16 20:35 ` [gentoo-user] " James Cloos
@ 2005-08-21 2:49 ` Allan Gottlieb
0 siblings, 0 replies; 7+ messages in thread
From: Allan Gottlieb @ 2005-08-21 2:49 UTC (permalink / raw
To: gentoo-user
At Tue, 16 Aug 2005 16:35:07 -0400 James Cloos <cloos@jhcloos.com> wrote:
>>>>>> "Allan" == Allan Gottlieb <gottlieb@nyu.edu> writes:
>
> Allan> ... I use what [the] 6x13 [bdf] font.
> Allan> Its [xlfd] name is
> Allan> -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
>
> Allan> Is there some way I can tell gnome-terminal to use
> Allan> -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
>
> Yes, xft supports bitmap fonts and this one should be in the list.
>
> It can be a bit of work to get the right fontconfig name for a given
> xlfd name, so the best thing to do is to find the fonts.dir file that
> matches the xlfd to a filename, and find that same filename in the
> fonts.cache-1 file in that directory.
... [ very useful information snipped ]]
Thanks very much for the information,
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-08-21 2:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-22 22:24 [gentoo-user] "6x13" font for gnome-terminal Allan Gottlieb
2005-07-25 4:19 ` A. Khattri
2005-07-26 8:46 ` Oscar Carlsson
2005-07-26 10:37 ` Holly Bostick
2005-07-27 4:02 ` Allan Gottlieb
2005-08-16 20:35 ` [gentoo-user] " James Cloos
2005-08-21 2:49 ` Allan Gottlieb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox