mirror of https://github.com/stelzo/typst.git
Derive debug for `FontBook` (#2173)
This commit is contained in:
parent
8b465222b2
commit
e55348dbc0
|
|
@ -8,7 +8,7 @@ use unicode_segmentation::UnicodeSegmentation;
|
|||
use super::{Font, FontStretch, FontStyle, FontVariant, FontWeight};
|
||||
|
||||
/// Metadata about a collection of fonts.
|
||||
#[derive(Default, Clone, Hash)]
|
||||
#[derive(Debug, Default, Clone, Hash)]
|
||||
pub struct FontBook {
|
||||
/// Maps from lowercased family names to font indices.
|
||||
families: BTreeMap<String, Vec<usize>>,
|
||||
|
|
|
|||
Loading…
Reference in New Issue