Bug 509128 - Some SVG files are cropped by 1 pixel at import
Summary: Some SVG files are cropped by 1 pixel at import
Status: REPORTED
Alias: None
Product: glaxnimate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Mattia Basaglia
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2025-09-04 22:51 UTC by Valentin Zagura
Modified: 2025-12-21 10:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Zagura 2025-09-04 22:51:16 UTC
SUMMARY
Some svg files are displayed cropped by 1 pixel after import (probably it truncates the computed canvas size instead of rounding to the upper value). This makes it hard to correct because updating the width and height of he imported object doesn't update it in the composition.

STEPS TO REPRODUCE
1. Create a circle with 10.5px diameter in inkscape
2. Export it to svg
3. import in Glaxnimate

OBSERVED RESULT
Circle is cut on the edge

EXPECTED RESULT
Full circle



ADDITIONAL INFORMATION
Tested on 0.6.70-git-4ef331d