summaryrefslogtreecommitdiff
path: root/src/font.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-09-26 12:24:24 +0200
committerLaurenz <laurmaedje@gmail.com>2021-09-26 12:24:24 +0200
commita493b9533a894b23fd33b307495919faee1c4a14 (patch)
tree8f0a5ec91a7236376af3b2267680a22adb924e57 /src/font.rs
parent72eb243e269fc74c9e59341e384ec3667c7848bf (diff)
More useful `Debug` impls
Diffstat (limited to 'src/font.rs')
-rw-r--r--src/font.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/font.rs b/src/font.rs
index 41bf9a81..7113026b 100644
--- a/src/font.rs
+++ b/src/font.rs
@@ -360,7 +360,6 @@ impl FaceInfo {
data: &'a [u8],
) -> impl Iterator<Item = FaceInfo> + 'a {
let count = ttf_parser::fonts_in_collection(data).unwrap_or(1);
-
(0 .. count).filter_map(move |index| {
let face = ttf_parser::Face::from_slice(data, index).ok()?;
let mut family = find_name(face.names(), name_id::TYPOGRAPHIC_FAMILY)