bugThe FreeType Project - Bugs: bug #28120, FT_New_Face not returning error if...

 
 

bug #28120: FT_New_Face not returning error if face index out of range

Submitted by:  None
Submitted on:  Sun 29 Nov 2009 09:22:54 AM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 06 Dec 2009 10:55:04 PM UTC, comment #1:

This is neither a bug in the terminus font nor in the library.

The terminus font comes either in BDF or PCF format which
always represent a single font. FreeType simply ignores the
font index if it is meaningless for the given font format.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sun 29 Nov 2009 09:22:54 AM UTC, original submission:

I noticed that FT_New_Face returns success (0) when the face index is out of range in terminus font, http://www.is-vn.bg/hamster/.
Perhaps this is a bug in terminus font but maybe it is easily corrected in freetype since the num_faces is reported as 1.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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 wl (Posted a comment)
  •  

    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):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Dec 2009 10:55:04 PM UTCwlOpen/ClosedOpen=>Closed
      Assigned toNone=>wl
      StatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1