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-06-15 09:51:09 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2107792792c47b02271ac3f84fc988ab8d5d5447
21077927
1 parent
049f50b7
Fix TtfFont.fontName
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
pdf/lib/widgets/font.dart
pdf/lib/widgets/font.dart
View file @
2107792
...
...
@@ -149,6 +149,16 @@ class TtfFont extends Font {
}
@override
String
get
fontName
{
if
(
_pdfFont
!=
null
)
{
return
_pdfFont
.
fontName
;
}
final
TtfParser
font
=
TtfParser
(
data
);
return
font
.
fontName
;
}
@override
String
toString
()
{
final
TtfParser
font
=
TtfParser
(
data
);
return
'<TrueType Font "
${font.fontName}
">'
;
...
...
Please
register
or
login
to post a comment