Coverage Report

Created: 2026-11-11 07:51

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/fontations/write-fonts/src/tables/base.rs
Line
Count
Source
1
//! The [BASE](https://learn.microsoft.com/en-us/typography/opentype/spec/base) table
2
3
use super::layout::DeviceOrVariationIndex;
4
use super::variations::ItemVariationStore;
5
6
include!("../../generated/generated_base.rs");
7
8
impl Base {
9
0
    fn compute_version(&self) -> MajorMinor {
10
0
        if self.item_var_store.is_some() {
11
0
            MajorMinor::VERSION_1_1
12
        } else {
13
0
            MajorMinor::VERSION_1_0
14
        }
15
0
    }
16
}