[Top][All Lists]

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

Re: Terminal.app and fonts

From: Pablo Giménez
Subject: Re: Terminal.app and fonts
Date: Fri, 9 Oct 2009 10:32:41 +0100

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 this:
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 available.
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 available.
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???

El 8 de octubre de 2009 20:01, Philippe Roussel <address@hidden> escribió:
On Thu, Oct 08, 2009 at 05:46:12PM +0100, Pablo Giménez wrote:


> Also using the defaults command I have tried to look for the key NSFontm,
> which seems to exists only for the NSGlobalDomain domain, there is no font
> key for the Terminal.
> So is there any way I can reset the fonts for the Terminal.app so I can use
> it again. Why the Terminal.app is crashing when I set the font for example
> to Helvetica.

Hi Pablo.

Try 'defaults read Terminal | grep Font'. It gives me

Terminal TerminalFontSize 11
Terminal TerminalFont 'Bitstream Vera Sans Mono'
Terminal BoldTerminalFont 'Bitstream Vera Sans Mono-Bold'
Terminal BoldTerminalFontSize 11

You can then use 'defaults write Terminal TerminalFont yourfont' or
simply 'defaults delete Terminal TerminalFont'.

Hope this helps,
Normaliser Unix c'est comme pasteuriser le Camembert, L.R

Un saludo
Best Regards
Pablo Giménez

reply via email to

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