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
hbrower linux-dev
2023-12-02 17:38:58 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
David PHAM-VAN
2023-12-03 07:02:01 -0500
Commit
1a129e1723cefb6a9d4516860b458ab5c0a44400
1a129e17
1 parent
1031e2ef
lookup index of glyph for space character
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
pdf/lib/src/pdf/font/ttf_writer.dart
pdf/lib/src/pdf/font/ttf_writer.dart
View file @
1a129e1
...
...
@@ -74,7 +74,7 @@ class TtfWriter {
for
(
final
char
in
chars
)
{
if
(
char
==
32
)
{
final
glyph
=
TtfGlyphInfo
(
32
,
Uint8List
(
0
),
const
<
int
>[]);
final
glyph
=
TtfGlyphInfo
(
ttf
.
charToGlyphIndexMap
[
char
]!
,
Uint8List
(
0
),
const
<
int
>[]);
glyphsMap
[
glyph
.
index
]
=
glyph
;
charMap
[
char
]
=
glyph
.
index
;
continue
;
...
...
Please
register
or
login
to post a comment