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
2019-09-03 15:40:47 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cf14079d1e272fac1b7ab6c5298b236a1565854f
cf14079d
1 parent
6715a3fa
Fix Ascii85 encoding
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
pdf/CHANGELOG.md
pdf/lib/src/ascii85.dart
pdf/pubspec.yaml
pdf/CHANGELOG.md
View file @
cf14079
# Changelog
## 1.3.19
-
Fix Ascii85 encoding
## 1.3.18
-
Implement InlineSpan and WidgetSpan
...
...
pdf/lib/src/ascii85.dart
View file @
cf14079
...
...
@@ -68,16 +68,14 @@ class Ascii85Encoder extends Converter<List<int>, List<int>> {
v
~/=
85
;
}
// If input was short, discard the low destination bytes.
int
m
=
5
;
if
(
input
.
length
-
s
<
4
)
{
m
-=
4
-
(
input
.
length
-
s
);
// If input was short, discard the low destination bytes.
b
+=
input
.
length
-
s
+
1
;
break
;
}
else
{
s
+=
4
;
}
b
+=
m
;
s
+=
4
;
b
+=
5
;
}
buffer
[
b
]
=
0x7e
;
...
...
pdf/pubspec.yaml
View file @
cf14079
...
...
@@ -4,7 +4,7 @@ description: A pdf producer for Dart. It can create pdf files for both web or fl
homepage
:
https://github.com/DavBfr/dart_pdf/tree/master/pdf
repository
:
https://github.com/DavBfr/dart_pdf
issue_tracker
:
https://github.com/DavBfr/dart_pdf/issues
version
:
1.3.1
8
version
:
1.3.1
9
environment
:
sdk
:
"
>=2.1.0
<3.0.0"
...
...
Please
register
or
login
to post a comment