bug-gnustep
[Top][All Lists]
Advanced

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

Re: Fonts (2) -> problems with GSFontAntiAlias 'YES'


From: Pascal Bourguignon
Subject: Re: Fonts (2) -> problems with GSFontAntiAlias 'YES'
Date: Fri, 18 Jan 2002 12:09:47 +0100 (CET)

> Pascal Bourguignon wrote:
> 
> > When  I open the  Font Panel,  I get  a list  with about  60 different
> > fonts.  However,  in  the Preview  they  all  look  the same  but  the
> > following:
> 
> I reverted the xgps backend to find fonts by pixel size. Please let me 
> know if anything improves.

Yes and  no. I updated from CVS  12 yours ago (after  your email), and
tested  it now.  Here are  the results.  (See attached  window content
dumps).


I've found what  produced the bad results I got :  I had the following
default set: NSGlobalDomain GSFontAntiAlias 'YES'



When removing it, everything works as expected, I can change the fonts
and size  with the  corresponding defaults and  I don't get  any black
rectangle.





When I have NSGlobalDomain GSFontAntiAlias 'YES' set, then:


1/

It  seems  that  for most  windows,  the  display  of the  text  halts
halfway.  

For  the  menu,  I've seen  once  when  updating  slowly that  it  had
transitorily  the  state  of  black  rectangles,  then  the  text  was
overwritten. 

For the  other windows, when  resizing the window, sometimes  the text
would appear  and sometimes it  would disappear, but this  state stays
untile the window is resized again.

Notably, for the open panel,  whatever navigation is done don't change
the state black rectangle or  text. Moving the window off-screen, then
back on-scren does  not change anything. The same  occurs for the Font
panel. When  I don't get  the black rectangles, it  previews correctly
the fonts.

The text in pop-up menus appears correctly.

It's probably the same bug than  that that don't display pictures in a
window when not running with a runloop. Note that in that case, moving
the window off-screen then on-screen would at least show the picture.



2/ 

The  sizes are  correct.  The  NSFontSize default  is  not taken  into
account, but the other NS*FontSize are.



3/

The same font  is used everywhere (seems to be Times)  but in the menu
title.





Thanks for the font size correction.
-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------

Attachment: alias-menu.jpeg
Description: JPEG image

Attachment: alias-open.jpeg
Description: JPEG image

Attachment: alias-panel.jpeg
Description: JPEG image


reply via email to

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