David PHAM-VAN

Fix Nunito font parsing

# Changelog
## 3.4.1
- Fix Nunito font parsing
## 3.4.0
- Fix Text.softWrap behavior
... ...
... ... @@ -36,10 +36,7 @@ class PdfFontMetrics {
}) : ascent = ascent ?? bottom,
descent = descent ?? top,
advanceWidth = advanceWidth ?? right - left,
leftBearing = leftBearing ?? left,
assert(left <= right),
assert(top <= bottom),
assert((descent ?? top) <= (ascent ?? bottom));
leftBearing = leftBearing ?? left;
/// Add another metric
factory PdfFontMetrics.append(
... ...
... ... @@ -358,7 +358,6 @@ class TtfParser {
if (flag & REPEAT != 0) {
var repeatCount = bytes.getUint8(offset++);
assert(repeatCount > 0);
i += repeatCount;
while (repeatCount-- > 0) {
flags.add(flag);
... ...
... ... @@ -4,7 +4,7 @@ description: A pdf producer for Dart. It can create pdf files for both web or fl
homepage: https://github.com/DavBfr/dart_pdf/tree/master/pdf
repository: https://github.com/DavBfr/dart_pdf
issue_tracker: https://github.com/DavBfr/dart_pdf/issues
version: 3.4.0
version: 3.4.1
environment:
sdk: ">=2.12.0 <3.0.0"
... ...