Antialiasing on Solaris

2005-12-09 Thread Andreas Höschler

Hello,

We draw cirlces with the following code in a drawRect: method.

   [[NSColor redColor] set];
   [[NSBezierPath 
bezierPathWithOvalInRect:NSMakeRect(point.x - 4 , point.y - 4 , 9, 9)] 
fill];
   [[NSBezierPath 
bezierPathWithOvalInRect:NSMakeRect(point.x - 6 , point.y - 6 , 13, 
13)] stroke];


This works on both MacOSX and GNUstep. On MacOSX I get a very pretty 
circle, on GNustep it rather looks like fly-crud. I suppose 
antialiasing is not switched on. How can I check that or make sure it 
gets activated? I am on Solaris 10 and have built back with one of the 
following configure statements (don't remember which).


./configure --enable-graphics=art --with-name=art
./configure --enable-graphics=xlib --with-name=xlib
./configure

How should I configure back to get antialiasing on Solaris? Moreover 
the titles of windows in Window Maker look rather ugly (not 
antialiased). Can this be improved anyhow?


Thanks a lot!

Regards,

  Andreas
 




___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: Unicode characters in window title

2005-12-09 Thread Pablo Di Noto

Hi,

I am doing setTitle: on a window with a string containing unicode 
characters (ä,ö,ü). I only see the title up to the non-ascii character, 
the rest is truncated. Should this work or does GNUstep not support 
unicode strings in window titles yet? I encounter this problem on 
Solaris 10 with Window Maker 0.9.


I reported something very similar as a Gorm bug on savanah (See 
http://savannah.gnu.org/bugs/?func=detailitemitem_id=15029 )


Perhaps this is a GUI but and there is a combination of Windowmanager 
(WindowMaker in my case) or Xorg release that makes it happen.


Care to reopen this bug as AppKit, with more info on your setup?

Regards,
///Pablo


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: Unicode characters in window title

2005-12-09 Thread Sašo Kiselkov
Quoting Andreas Höschler [EMAIL PROTECTED]:

 Dear all,

 I am doing setTitle: on a window with a string containing unicode
 characters (ä,ö,ü). I only see the title up to the non-ascii character,
 the rest is truncated. Should this work or does GNUstep not support
 unicode strings in window titles yet? I encounter this problem on
 Solaris 10 with Window Maker 0.9.

 Thanks a lot!

 Regards,

Andreas


Me too, WindowMaker 0.92.0 on Debian testing.

--
Saso



___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: Unicode characters in window title

2005-12-09 Thread Adam Fedor
On 2005-12-09 11:03:06 -0700 Pablo Di Noto [EMAIL PROTECTED] wrote:

 Hi,
 
 I am doing setTitle: on a window with a string containing unicode 
 characters (ä,ö,ü). I only see the title up to the non-ascii character, the 
 rest is truncated. Should this work or does GNUstep not support unicode 
 strings in window titles yet? I encounter this problem on Solaris 10 with 
 Window Maker 0.9.
 
 I reported something very similar as a Gorm bug on savanah (See 
 http://savannah.gnu.org/bugs/?func=detailitemitem_id=15029 )
 

Currently, window titles get converted to ascii (lossyCString) before being 
set. WM can certainly handle unicode now (it couldn't back in the day when I 
wrote that). See

back/Source/x11/XGWindowServer.m(-titlewindow::)

Should be easy enough to fix, if some one wants to do it ;-)



___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep