Skip to content

Commit 35de75e

Browse files
authored
Merge pull request googlefonts#1695 from googlefonts/cv1
Base glyph list counts for COLR v1'ness
2 parents 7104fab + 1581a32 commit 35de75e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

write-fonts/src/tables/colr.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ use super::variations::{DeltaSetIndexMap, ItemVariationStore};
77
impl Colr {
88
fn compute_version(&self) -> u16 {
99
// Using v1-only fields?
10-
if self.layer_list.is_some()
10+
if self.base_glyph_list.is_some()
11+
|| self.layer_list.is_some()
1112
|| self.clip_list.is_some()
1213
|| self.var_index_map.is_some()
1314
|| self.item_variation_store.is_some()

0 commit comments

Comments
 (0)