bugGNUstep - Bugs: bug #21625, Big default font with...

 
 

bug #21625: Big default font with GNUstep-startup-0.19.0

Submitted by:  Maurizio Tomasi <zio_tom78>
Submitted on:  Wed 21 Nov 2007 01:31:34 PM UTC  
 
Category:  Backend Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  Fred Kiefer <FredKiefer>
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Tue 29 Jan 2008 04:12:38 PM UTC, comment #6: 

Fred, you are right. I recompiled and installed gnustep-back 0.13.1 with three different backends (xlib, art and cairo) and tried to run Gorm with each of them.

The "big font" problem appears only with Xlib. The art and cairo backends use two fonts that fit perfectly in my desktop. I think I'll stick to the cairo backend from now on.

Is there something that I can do to help you in fixing the xlib backend? I am not sure I have understood your comment about FC_SIZE and FC_PIXEL_SIZE...

Maurizio Tomasi <zio_tom78>
Fri 25 Jan 2008 06:02:04 PM UTC, comment #5: 

No, this patch cannot be in there. The reason you don't see the problem now is most likely that you are using the art backend not xlib. Or that you have AA switched off.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Fri 25 Jan 2008 09:29:26 AM UTC, comment #4: 

Yesterday I downloaded gnustep-startup-0.19.2 and removed my ~/GNUstep directory in order to start a new configuration from scratch. The "big font problem" has disappeared, but I am not sure that 0.19.2 incorporated Fred's changes.

Maurizio Tomasi <zio_tom78>
Thu 24 Jan 2008 06:51:55 PM UTC, comment #3: 

I could confirm this bug on my own system with GSFontAntiAlias set to YES. So this happens in the GSXftFontInfo class. Here again are two different branches, one for Fontconfig and one with out that library. I had the problem in the first case.
I was able to fix the behaviour by switching from FC_SIZE to FC_PIXEL_SIZE. Now the font appears in about the same size as for the other backends.
It may be that some old version of FC will now show to small fonts. If that happens we need to add some more checks on the library version.

Actually GNUstep should do all its drawing in point space, but as this isn't true for the rest of GNUstep, it should be ok to use pixel space here.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Mon 07 Jan 2008 12:09:33 AM UTC, comment #2: 

I have this bug on freebsd which runs Xorg.

On my laptop, which has Xorg and isup to date too since it uses gentoo, this problem doesn't appear. There I tried art too and it is fine as xlib.

So both X servers are pretty recent, one has it the other not. I don't set anything special in the xorg conf file, not to my knowledge at least.

Riccardo Mottola <rmottola>
Project Member
Mon 31 Dec 2007 01:39:13 PM UTC, comment #1: 

As this bug report came in the second time now, I should finally comment on it here:

About half a year ago after an update of my X version I had this problem myself. It only happens with the xlib backend and I am rather sure that we did not change anything there ourselves. Most likely X11, or some drivers, now corrects a problem they had before with point size and pixel size. If I remember correctly, there was a relation of 1.2 between these two, probably depending on the dpi of themonitor. It should be fairly easy to change the relevant font classes in GNUstep to use the now correct size. But a very likely result will be that fonts will be too small on older systems.

We should first determine, which font systems for the xlib backend are affected (there are three of them) and then analyse on which specific systems this now fails. Perhaps it is possible to come ip with some runtime fixup that works correctly in all cases.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Wed 21 Nov 2007 01:31:34 PM UTC, original submission:  

I have made a fresh install of GNUstep-startup-0.19.0 on my laptop running Ubuntu Linux 7.10 (gutsy) with WindowMaker 0.92.0. After having compiled and installed everything with the InstallGNUstep script, I tried to compile some other GNUstep applications, and found that the default font size for menus and dialogs is really large.

- The first image shows a comparison of the menu for Terminal.app with the Gnome Terminal running in background. The "right" size IMHO should be the one used by Gnome.

- The second image shows the Gorm Preferences window. The font size is so large that the text of the "Remove" button has been clipped. (This however could be due to Gorm and not to GNUstep itself.)

I have tried to discover the size of the system font, but the following command did not provide any answer:

$ defaults read NSGlobalDomain NSFontSize
defaults read: couldn't read default

$ defaults write NSGlobalDomain NSFontSize 10

Still, it would have been nice for GNUstep to detect the "right" font size itself.

Maurizio Tomasi <zio_tom78>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #14452:  gorm.png added by zio_tom78 (2KiB - image/png)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by rmottola (Posted a comment)
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by zio_tom78 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-02-26 FredKiefer StatusReady For Test => Fixed
        Open/ClosedIn Test => Closed
    2008-01-24 FredKiefer Assigned toNone => FredKiefer
        Open/ClosedOpen => In Test
    2008-01-24 FredKiefer StatusConfirmed => Ready For Test
    2007-12-31 FredKiefer CategoryGui/AppKit => Backend
        StatusNone => Confirmed
    2007-12-31 FredKiefer Dependencies- => bugs #21912 is dependent
    2007-11-21 zio_tom78 Attached File- => Added gnustep-big-fonts.png, #14451
        Attached File- => Added gorm.png, #14452

    Back to the top


    Powered by Savane 3.7