bugGNUstep - Bugs: bug #19499, available fonts and their sizes...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19499: available fonts and their sizes (xlib?)

Submitted by:  Riccardo Mottola <rmottola>
Submitted on:  Tue 03 Apr 2007 10:45:27 AM UTC  
 
Category: BackendSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 03 Apr 2007 11:03:20 AM UTC, comment #1:

I checked with xfontsel and on netbsd I have 8, 10, 12, 14, 18 and 24 as available sizes. I get errors with fontWIthName also on valid sizes though.
A check in Ink.app's font panel shows that I can choose any fonts but th preview will display only something which appears as a size 10 for small fonts and a size 12 for all others.

I think that in the font panel only available size should be shown (or somehow differentiated) and if a not available font size is requested a "jagged" font should be displayed.

Riccardo Mottola <rmottola>
Project Member
Tue 03 Apr 2007 10:45:27 AM UTC, original submission:

I don't know if this problem is specific to Xlib, but it might appear only there because other backends are probably using continuously scalable fonts only.

Everything started because on my linux computer this fails:

[fonts addObject:[NSFont fontWithName:@"Helvetica" size:16.0]];
(code taken form simplewebkit)

in Ink.app I am able to specify in the font panel helvetica of size 16 and no problem occours, although the displayed font is actually the same as size 14!

now I am on another computer (netbsd) and I have the same problem. What I did check is that Ink fails to display correctly most sizes. Using xfontsel, I notice that only a couple of sizes are available for Helvetica in syle Roman. Shouldn't then those sizes not appear in the font panel dialog? and how should fontWithName behave?

I will check on my linux box if the incriminated sizes are available there or not.

Riccardo Mottola <rmottola>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rmottola (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 16 Jan 2010 12:00:12 PM UTCrmottolaOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1