El 10 de octubre de 2009 15:14, Pablo Giménez <[email protected]>escribió:

>
> El 9 de octubre de 2009 20:36, Fred Kiefer <[email protected]> escribió:
>
> 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
>>
> 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/
>
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?????


> How can I do to instruct the configure script to look for includes in these
> directories???
> thx
>
>
>
>> Cheers
>> Fred
>>
>
>
>
> --
> Un saludo
> Best Regards
> Pablo Giménez
>



-- 
Un saludo
Best Regards
Pablo Giménez
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to