Bug 31298 - Please update libspiro to 20221101
Summary: Please update libspiro to 20221101
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: https://github.com/fontforge/libspiro/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-18 22:51 CET by Joe Da Silva
Modified: 2022-12-19 21:22 CET (History)
0 users

See Also:
Source RPM: libspiro-20221101-1.mga9.src.rpm
CVE:
Status comment:


Attachments
libspiro.spec.diff (180 bytes, text/plain)
2022-12-18 22:53 CET, Joe Da Silva
Details

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


Note You need to log in before you can comment on or make changes to this bug.