|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Terminal.app and fontsHi everybody, et least I have the GNUstep environment working, all the core, extra libs, GWorkspace and SystemPreferences.
Well today I tred Terminal.app to complete my working tools. I got it from the GAP, is version 0.9.5. It works. But I tried to change the default Courier 12 forn. First I changed it from the Terminal.app preferences to Helvetica 9 and the app crashed. I tred to open it from a terminal and I got an error like Helvetica font of size can't be found , and then a segfault: So from this point I couldn't startt Terminal.app again. I tried to change the default GNUstep font from SystemPreferences.app, which is still to Courier 12, just change to Courier 10, and revert to 12 again, and then when trying to start Trminal I got this error: 2009-10-08 12:41:59.933 Terminal[22454] NSFont <NSFont: 0x1261450> Courier 12.000 0.000 0.000 12.000 0.000 0.000 N P 0 info <XGFontInfo: 0x1263f30> size 12 {x = 0; y = 0; width = 7; height = 8} 1 Segmentation fault 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. And talking about fonts, cam GNUstep use True Type fonts? and is possible to use Xft to get antialiased fonts? Thanks -- Un saludo Best Regards Pablo Giménez _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsOn Thu, Oct 08, 2009 at 05:46:12PM +0100, Pablo Giménez wrote:
[snip] > 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, Philippe -- Normaliser Unix c'est comme pasteuriser le Camembert, L.R _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsEl jue, 08-10-2009 a las 17:46 +0100, Pablo Giménez escribió:
> Hi everybody, et least I have the GNUstep environment working, all the > core, extra libs, GWorkspace and SystemPreferences. > Well today I tred Terminal.app to complete my working tools. > I got it from the GAP, is version 0.9.5. It works. > But I tried to change the default Courier 12 forn. First I changed it > from the Terminal.app preferences to Helvetica 9 and the app crashed. As I can see this is a bug on Font Panel. I can reproduce this problem on others apps. > > And talking about fonts, cam GNUstep use True Type fonts? and is > possible to use Xft to get antialiased fonts? > See this link http://www.gnustep.org/resources/documentation/User/Gui/LanguageSetup.html the section Fonts > Thanks > > -- > Un saludo > Best Regards > Pablo Giménez PD: Hola Pablo, sos bienvenido también en la lista en español, en http://www.gnustep.wordpress.com Saludos _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fonts2009/10/9 Germán Arias <german@...> El jue, 08-10-2009 a las 17:46 +0100, Pablo Giménez escribió: I will try this tomorrow. Seems that I have t change the backend to libart isn´t it? I am using cairo. So libart backend allow to use ttf fonts, what about the antialiasing????
-- Un saludo Best Regards Pablo Giménez _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsWell 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??? cheers! El 8 de octubre de 2009 20:01, Philippe Roussel <p.o.roussel@...> escribió: On Thu, Oct 08, 2009 at 05:46:12PM +0100, Pablo Giménez wrote: -- Un saludo Best Regards Pablo Giménez _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsI have just found another problem.
I have some shortcuts for the program screen which I use to manage my terminals. I use the functions keys, all the functions from F1 to F5 give me strange characters in the terminal instead of being trheated as function keys and pass them to the screen app. Any idea???? El 8 de octubre de 2009 20:01, Philippe Roussel <p.o.roussel@...> escribió: On Thu, Oct 08, 2009 at 05:46:12PM +0100, Pablo Giménez wrote: -- Un saludo Best Regards Pablo Giménez _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsEl vie, 09-10-2009 a las 00:57 +0100, Pablo Giménez escribió:
> > I will try this tomorrow. Seems that I have t change the backend to > libart isn´t it? > I am using cairo. > So libart backend allow to use ttf fonts, what about the > antialiasing???? > On SystemPreferences, on section Defaults, there is a variable call GSFontAntiAlias. _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsPablo 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 > 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??? 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 Cheers Fred _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsFred 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 >> 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??? >> > > 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. Riccardo _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsEl 9 de octubre de 2009 20:36, Fred Kiefer <fredkiefer@...> escribió: Pablo Giménez schrieb: Ok I have checked again the configure stage and seems that the configure script can't find the Xft and freetype includes, so probably the backend even using xlib is not able to use Xft and freetype. I got these errors using the next configure statement: ./configure --enable-server=x11 And this is the output: .... checking for X... libraries /usr/lib64, headers checking whether -R must be followed by a space... neither works checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for main in -lXext... yes checking for main in -lXt... yes checking for main in -lXmu... yes checking for X11 function prototypes... yes checking DPS/dpsclient.h usability... no checking DPS/dpsclient.h presence... no checking for DPS/dpsclient.h... no checking DPS/dpsNXargs.h usability... no checking DPS/dpsNXargs.h presence... no checking for DPS/dpsNXargs.h... no checking ft2build.h usability... no checking ft2build.h presence... no checking for ft2build.h... no checking for pkg-config... /tools/SITE/rnd/bin/Linux64/pkg-config checking for xft... checking for XftFontOpen in -lXft... yes checking X11/Xft/Xft.h usability... no checking X11/Xft/Xft.h presence... no checking for X11/Xft/Xft.h... no checking for glXMakeContextCurrent in -lGL... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking for GLX_RGBA_TYPE... yes checking for usleep... yes checking for X11/extensions/XShm.h... yes checking for shmctl... yes checking for XInternAtoms in -lX11... yes checking for main in -lgdi32... no checking for main in -lmsimg32... no checking for main in -lopengl32... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for libart2... none checking for cairo... checking for cairo-ft... checking for cairo-xlib... checking for cairo-win32... checking for cairo-glitz... checking for XRenderFindVisualFormat in -lXrender... yes checking Backend Server... x11 checking Backend Graphics... art configure: WARNING: can't find freetype, required for graphics=art configure: Switching to xlib checking Backend name... back configure: creating ./config.status config.status: creating back.make config.status: creating config.make config.status: creating config.h config.status: config.h is unchanged The thing is that I have checked and I have all the Xft includes in /usr/include/X11/Xft/ Also the freetype includes are here: /usr/include/freetype2/freetype/ How can I do to instruct the configure script to look for includes in these directories??? thx
-- Un saludo Best Regards Pablo Giménez _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsEl 10 de octubre de 2009 15:14, Pablo Giménez <pablogipi@...> escribió:
More info about this problem, I found this in the config.log: /usr/include/X11/Xft/Xft.h:42:10: error: #include expects "FILENAME" or <FILENAME> In file included from conftest.c:57: /usr/include/X11/Xft/Xft.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_XftFTlibrary' /usr/include/X11/Xft/Xft.h:96: error: expected specifier-qualifier-list before 'FT_UInt' /usr/include/X11/Xft/Xft.h:103: error: expected specifier-qualifier-list before 'FT_UInt' /usr/include/X11/Xft/Xft.h:200: error: expected ';', ',' or ')' before '*' token /usr/include/X11/Xft/Xft.h:305: error: expected ';', ',' or ')' before '*' token /usr/include/X11/Xft/Xft.h:364: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XftLockFace' /usr/include/X11/Xft/Xft.h:403: error: expected ';', ',' or ')' before '*' token /usr/include/X11/Xft/Xft.h:409: error: expected ';', ',' or ')' before '*' token /usr/include/X11/Xft/Xft.h:418: error: expected declaration specifiers or '...' before 'FT_UInt' /usr/include/X11/Xft/Xft.h:419: error: expected declaration specifiers or '...' before 'FT_UInt' /usr/include/X11/Xft/Xft.h:428: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XftCharIndex' /usr/include/X11/Xft/Xft.h:461: error: expected ';', ',' or ')' before '*' token Seems that this configure doesn't like my Xft.h, any way to solve this?????
-- Un saludo Best Regards Pablo Giménez _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
|
|
Re: Terminal.app and fontsPablo Giménez schrieb:
> More info about this problem, I found this in the config.log: > /usr/include/X11/Xft/Xft.h:42:10: error: #include expects "FILENAME" or > <FILENAME> [deleted stuff] > Seems that this configure doesn't like my Xft.h, any way to solve this????? I looked into my own Xft.h and I expect that the following lines are causing your problem: #include <ft2build.h> #include FT_FREETYPE_H Freetype 2 uses some include magic to sort out its own path. The important bit is that the file ft2build.h must be in he standard include path and have all the right settings in it. I bet that this is broken for you. Fred _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@... http://lists.gnu.org/mailman/listinfo/discuss-gnustep |
| Free embeddable forum powered by Nabble | Forum Help |