bugThe FreeType Project - Bugs: bug #51127, FT_Get_Var_Design_Coordinates...

 
 

bug #51127: FT_Get_Var_Design_Coordinates returns 0

Submitted by:  Adrian Johnson <ajohnson>
Submitted on:  Sat 27 May 2017 09:52:23 AM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.8.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 27 May 2017 02:07:29 PM UTC, comment #2:

FT_Get_Var_Design_Coordinates is now working as expected. Thank you.

Adrian Johnson <ajohnson>
Sat 27 May 2017 01:51:47 PM UTC, comment #1:

Should be fixed now in git. Please test!

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 27 May 2017 09:52:23 AM UTC, original submission:

Testing with this font:

https://github.com/adobe-fonts/adobe-variable-font-prototype/releases/tag/1.002

If FT_Get_Var_Design_Coordinates is called without previously calling FT_Set_Var_Design_Coordinates, it always returns 0 for each coordinate. If I then call FT_Set_Var_Design_Coordinates with the coordinates returned by FT_Get_Var_Design_Coordinates (ie all zeros), the font changes to a narrower font. So clearly the coordinates returned by FT_Get_Var_Design_Coordinates are not correct.

If I first call FT_Set_Var_Design_Coordinates with some coordinates I obtained from FT_Get_MM_Var then call FT_Get_Var_Design_Coordinates, the correct (previously set) coordinates are returned.

Adrian Johnson <ajohnson>

 

(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)
  • -unavailable- added by ajohnson (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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 27 May 2017 01:51:47 PM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.8.1

    Back to the top


    Powered by Savane 3.1-cleanup1