#969 fixed rendering of SVG with viewbox offset
This commit is contained in:
parent
9e806bc5ee
commit
e9b86f9d77
2 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
## <a id="v1.10.8"></a>[v1.10.8] - 2024-04-01
|
||||
|
||||
### Fixed
|
||||
|
||||
- rendering of SVG with viewbox offset
|
||||
|
||||
### Added
|
||||
|
||||
- Collection: support for Fairphone burst pattern
|
||||
|
|
|
@ -82,6 +82,7 @@ class SvgRegionFetcher internal constructor(
|
|||
(regionRect.right + bleedX) / xf,
|
||||
(regionRect.bottom + bleedY) / yf,
|
||||
)
|
||||
effectiveRect.offset(viewBox.left, viewBox.top)
|
||||
|
||||
val renderOptions = RenderOptions()
|
||||
renderOptions.viewBox(effectiveRect.left, effectiveRect.top, effectiveRect.width(), effectiveRect.height())
|
||||
|
|
Loading…
Reference in a new issue