bugThe FreeType Project - Bugs: bug #45260, wrong value passing to FT_MulDiv()

 
 

bug #45260: wrong value passing to FT_MulDiv()

Submitted by:  Ashish Azad <ashishazad>
Submitted on:  Fri 05 Jun 2015 01:11:51 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.6.0

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 06 Jun 2015 03:46:37 AM UTC, comment #1:

Applied to git, thanks!

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Fri 05 Jun 2015 01:11:51 PM UTC, original submission:

while converting from metrics to outline units in pfr_get_kerning() wrong value is passed to FT_MulDiv().

/* convert from metrics to outline units when necessary */
if ( phys->outline_resolution != phys->metrics_resolution )
{
if ( avector->x != 0 )
avector->x = FT_MulDiv( avector->x, phys->outline_resolution,
phys->metrics_resolution );

if ( avector->y != 0 )
avector->y = FT_MulDiv( avector->x, phys->outline_resolution,
phys->metrics_resolution );
}

Ashish Azad <ashishazad>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34163:  freetype.patch added by ashishazad (499B - application/octet-stream - patch attached for the solution)

 

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 ashishazad (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 06 Jun 2015 03:46:37 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.0
    Fri 05 Jun 2015 01:14:04 PM UTCashishazadAttached File-=>Added freetype.patch, #34163

    Back to the top


    Powered by Savane 3.1-cleanup1