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

Group
 
 

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

Submitter:  Riccardo Mottola <rmottola>
Submitted:  Tue 03 Apr 2007 10:45:27 AM UTC
   
 
Category:  Backend Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-16 rmottola Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code