Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2022-09-30 10:57:06 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a0566ca362ff0e3dd25916016ef91e64479bffcf
a0566ca3
1 parent
85496cad
Fix SVG stroke-dasharray parsing
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
pdf/CHANGELOG.md
pdf/lib/src/svg/brush.dart
pdf/CHANGELOG.md
View file @
a0566ca
...
...
@@ -3,6 +3,7 @@
## 3.8.4
-
Improve Multi-Page layout
-
Fix SVG stroke-dasharray parsing
## 3.8.3
...
...
pdf/lib/src/svg/brush.dart
View file @
a0566ca
...
...
@@ -83,7 +83,9 @@ class SvgBrush {
?
null
:
(
strokeDashArray
==
'none'
?
[]
:
SvgParser
.
splitDoubles
(
strokeDashArray
).
toList
()),
:
SvgParser
.
splitNumeric
(
strokeDashArray
,
parent
)
.
map
((
e
)
=>
e
.
value
)
.
toList
()),
strokeDashOffset:
SvgParser
.
getNumeric
(
element
,
'stroke-dashoffset'
,
parent
)?.
sizeValue
,
fontSize:
SvgParser
.
getNumeric
(
element
,
'font-size'
,
parent
),
...
...
Please
register
or
login
to post a comment