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-06-17 13:01:03 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0297922ea637f6a60253d0e0b015751552fdc23b
0297922e
1 parent
21be6b56
Fix Compressed Cross-Reference ID
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
pdf/CHANGELOG.md
pdf/lib/src/pdf/xref.dart
printing/CHANGELOG.md
pdf/CHANGELOG.md
View file @
0297922
# Changelog
## 3.8.2
-
Fix Compressed Cross-Reference ID
-
Fix exif orientation
[
deepak786
]
## 3.8.1
-
Fix large PDF generation on web with compressed xref
...
...
pdf/lib/src/pdf/xref.dart
View file @
0297922
...
...
@@ -152,14 +152,15 @@ class PdfXrefTable extends PdfDataType {
/// Output a compressed cross-reference table
void
outputCompressed
(
PdfObject
object
,
PdfStream
s
,
PdfDict
params
)
{
// Write this object too
final
id
=
offsets
.
last
.
id
+
1
;
final
offset
=
s
.
offset
;
offsets
.
add
(
PdfXref
(
id
,
offset
));
// Sort all references
offsets
.
sort
((
a
,
b
)
=>
a
.
id
.
compareTo
(
b
.
id
));
// Write this object too
final
id
=
offsets
.
last
.
id
+
1
;
offsets
.
add
(
PdfXref
(
id
,
offset
));
params
[
'/Type'
]
=
const
PdfName
(
'/XRef'
);
params
[
'/Size'
]
=
PdfNum
(
id
+
1
);
...
...
printing/CHANGELOG.md
View file @
0297922
# Changelog
# 5.9.2
-
Added mounted check for setState in printing>preview>raster
[
Julius Alibrown
]
# 5.9.1
-
iOS: Set cutLength to be currentSize.height
[
Liam Downey
]
...
...
Please
register
or
login
to post a comment