Showing
1 changed file
with
1 additions
and
1 deletions
@@ -164,7 +164,7 @@ class PdfTtfFont extends PdfFont { | @@ -164,7 +164,7 @@ class PdfTtfFont extends PdfFont { | ||
164 | } | 164 | } |
165 | 165 | ||
166 | final Runes runes = s.runes; | 166 | final Runes runes = s.runes; |
167 | - final List<int> bytes = List<int>(); | 167 | + final List<int> bytes = <int>[]; |
168 | runes.forEach(bytes.add); | 168 | runes.forEach(bytes.add); |
169 | 169 | ||
170 | final Iterable<PdfFontMetrics> metrics = bytes.map(glyphMetrics); | 170 | final Iterable<PdfFontMetrics> metrics = bytes.map(glyphMetrics); |
-
Please register or login to post a comment