Bug 31298

Summary: Please update libspiro to 20221101
Product: Mageia Reporter: Joe Da Silva <digital>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/fontforge/libspiro/
Whiteboard:
Source RPM: libspiro-20221101-1.mga9.src.rpm CVE:
Status comment:
Attachments: libspiro.spec.diff

Description Joe Da Silva 2022-12-18 22:51:18 CET
Description of problem:
Discovered an if-then that should have been removed before version 20190731
https://github.com/fontforge/libspiro/blob/master/ChangeLog

This is mainly for the benefit of graphics, like GIMP, IPE (FontForge not affected). major distros like Fedora and Debian have already bumped-up.
https://repology.org/project/libspiro/versions


Version-Release number of selected component (if applicable):
currently at 20200505. Asking to please update to 20221101


How reproducible:
Correct scaling factor should be absolute values of X or Y
Incorrect if-then decision chooses the larger dimension for scaling, therefore if ABS(-xdistance) is larger than +ydistance, ydistance is chosen for scaling because it is positive, vs -ve xdistance which should have been used.

The differences in results could on average not be visibly noticed for roundish/squarish objects, due to applied scaling and rounding but might be noticed with elongated objects, like say maybe an elongated type bar if no rounding applied.
In summary - it's a bugfix.
Comment 1 Joe Da Silva 2022-12-18 22:53:43 CET
Created attachment 13587 [details]
libspiro.spec.diff

minimum updates needed for https://github.com/fontforge/libspiro/releases/tag/20221101
Comment 2 Lewis Smith 2022-12-19 21:22:27 CET
Modified Mon Dec 19 16:05:57 2022 UTC (4 hours, 15 minutes ago) by daviddavid
- new version: 20221101 (mga#31298)

Thanks David!

Resolution: (none) => FIXED
Status: NEW => RESOLVED
Source RPM: libspiro.rpm => libspiro-20221101-1.mga9.src.rpm