[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminal.app and fonts

From: Riccardo Mottola
Subject: Re: Terminal.app and fonts
Date: Sat, 10 Oct 2009 00:44:44 +0200
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv: Gecko/20090906 SeaMonkey/1.1.18

Fred Kiefer wrote:
Pablo Giménez schrieb:
Well I found the problem.
It not was in the type or size of the font, although there is a bug in the
font panel.
But the reason because the terminal wasn't working is because the charatcer
encoding, i set it to utf8 (unicode) and this cause the terminal to crash,
another bug maybe????
Now my problem is that I can use only the courier, I think size 9,  any time
I change to another font I got an error like I can't find the font, like
2009-10-09 10:27:24.552 Terminal[16829] XGFont: selected font: Helvetica at
9.000000 (-*-helvetica-medium-r-normal--9-*-*-*-p-*-iso8859-1) is not
2009-10-09 10:27:24.553 Terminal[16829] The font specified for NSFont,
Helvetica, can't be found.
2009-10-09 10:27:24.553 Terminal[16829] XGFont: selected font: Helvetica at
9.000000 (-*-helvetica-medium-r-normal--9-*-*-*-p-*-iso8859-1) is not
2009-10-09 10:27:24.640 Terminal[16829] NSFont <NSFont: 0x120c7e0> Helvetica
12.000 0.000 0.000 12.000 0.000 0.000 N P 0 info <XGFontInfo: 0x1214810>
size 12 {x = 1; y = 0; width = 7; height = 9} 1

As you can see the NSFont is set to Helvetica and size to 12, but XGFont is
still trying to look for  size 9, which doesn't exists in my system.
Can this be realted with the backend, I am using Cairo, would be better to
use libart???

Most definitely your aren't using cairo, you are using the old xlib
backend as can be seen from the class XGFontInfo or by the other
messages you are getting. Even this backend is capable of providing anti
aliased fonts, when asked to. Use:
defaults write NSGlobalDomain GSFontAntiAlias YES

Or use SystemPreferences, Defaults Panel, GSFontAntiAlias and set it to YES.

If you don't want to use the console, as this irritates some users.

In fact Terminal works fine with xlib, but the font needs to be complete. I often set it to the same Terminal font I use in xterm.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]