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
2018-09-02 19:36:54 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bd5063f26f7cd754490630ca0dc73dcffad26707
bd5063f2
1 parent
6d66e308
Fix TTF font name lookup
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletions
pdf/CHANGELOG.md
pdf/lib/src/ttf_parser.dart
pdf/pubspec.yaml
pdf/CHANGELOG.md
View file @
bd5063f
# 1.0.6
*
Fix TTF font name lookup
# 1.0.5
*
Remove dependency to dart:io
*
Add Contributing
...
...
pdf/lib/src/ttf_parser.dart
View file @
bd5063f
...
...
@@ -88,8 +88,10 @@ class TTFParser {
if
(
platformID
==
1
&&
nameID
==
6
)
{
_fontName
=
utf8
.
decode
(
bytes
.
buffer
.
asUint8List
(
basePosition
+
stringOffset
+
offset
,
length
));
return
;
}
}
_fontName
=
hashCode
.
toString
();
}
void
_parseHmtx
()
{
...
...
pdf/pubspec.yaml
View file @
bd5063f
...
...
@@ -2,7 +2,7 @@ name: pdf
author
:
David PHAM-VAN <dev.nfet.net@gmail.com>
description
:
A pdf producer for Dart. It can create pdf files for both web or flutter.
homepage
:
https://github.com/DavBfr/dart_pdf/tree/master/pdf
version
:
1.0.
5
version
:
1.0.
6
environment
:
sdk
:
"
>=1.8.0
<3.0.0"
...
...
Please
register
or
login
to post a comment