Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
DavBfr committed Dec 3, 2023
1 parent 1a129e1 commit 98882ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pdf/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.10.7

- Fix empty lines text gap
- Fix lookup index of glyph for space character [Hendrik-Brower]

## 3.10.6

Expand Down
3 changes: 2 additions & 1 deletion pdf/lib/src/pdf/font/ttf_writer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ class TtfWriter {

for (final char in chars) {
if (char == 32) {
final glyph = TtfGlyphInfo(ttf.charToGlyphIndexMap[char]!, Uint8List(0), const <int>[]);
final glyph = TtfGlyphInfo(
ttf.charToGlyphIndexMap[char]!, Uint8List(0), const <int>[]);
glyphsMap[glyph.index] = glyph;
charMap[char] = glyph.index;
continue;
Expand Down

0 comments on commit 98882ff

Please sign in to comment.