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-12 07:41:06 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a4c12ec3f855c46a49691724eb77722722c5f171
a4c12ec3
1 parent
9bb44932
Fix Html to Pdf paper size on iOS
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
printing/CHANGELOG.md
printing/ios/Classes/SwiftPrintingPlugin.swift
printing/CHANGELOG.md
View file @
a4c12ec
...
...
@@ -3,6 +3,7 @@
## 2.1.4
-
Update example to show saved documents on iOS Files app
-
Fix Html to Pdf paper size on iOS
## 2.1.3
...
...
printing/ios/Classes/SwiftPrintingPlugin.swift
View file @
a4c12ec
...
...
@@ -166,7 +166,7 @@ public class SwiftPrintingPlugin: NSObject, FlutterPlugin, UIPrintInteractionCon
// create pdf context and draw each page
let
pdfData
=
NSMutableData
()
UIGraphicsBeginPDFContextToData
(
pdfData
,
.
zero
,
nil
)
UIGraphicsBeginPDFContextToData
(
pdfData
,
rect
,
nil
)
for
i
in
0
..<
renderer
.
numberOfPages
{
UIGraphicsBeginPDFPage
()
...
...
Please
register
or
login
to post a comment