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
2020-01-04 12:46:48 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
78232de1f962ea04c7e950d0f737417a35863071
78232de1
1 parent
ea868602
Update fonts warning url
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
pdf/CHANGELOG.md
pdf/lib/src/font.dart
pdf/lib/src/type1_font.dart
pdf/CHANGELOG.md
View file @
78232de
...
...
@@ -3,6 +3,7 @@
## 1.4.1
-
Update dependency to barcode ^1.5.0
-
Update type1 font warning url
## 1.4.0
...
...
pdf/lib/src/font.dart
View file @
78232de
...
...
@@ -146,7 +146,7 @@ abstract class PdfFont extends PdfObject {
Can not decode the string to Latin1.
This font does not support Unicode characters.
If you want to use strings other than Latin strings, use a TrueType (TTF) font instead.
See https://github.com/DavBfr/dart_pdf/
issues/76
See https://github.com/DavBfr/dart_pdf/
wiki/Fonts-Management
---------------------------------------------'''
);
rethrow
;
}
...
...
@@ -174,6 +174,7 @@ See https://github.com/DavBfr/dart_pdf/issues/76
Can not decode the string to Latin1.
This font does not support Unicode characters.
If you want to use strings other than Latin strings, use a TrueType (TTF) font instead.
See https://github.com/DavBfr/dart_pdf/wiki/Fonts-Management
---------------------------------------------'''
);
rethrow
;
}
...
...
pdf/lib/src/type1_font.dart
View file @
78232de
...
...
@@ -22,7 +22,7 @@ class PdfType1Font extends PdfFont {
this
.
descent
,
this
.
widths
)
:
assert
(()
{
print
(
'
$fontName
has no Unicode support see https://github.com/DavBfr/dart_pdf/
issues/76
'
);
'
$fontName
has no Unicode support see https://github.com/DavBfr/dart_pdf/
wiki/Fonts-Management
'
);
return
true
;
}()),
super
.
_create
(
pdfDocument
,
subtype:
'/Type1'
);
...
...
Please
register
or
login
to post a comment