Skip to main content

ttf_view/tables/cmap/
format13.rs

1use crate::types::uint32;
2
3#[repr(C)]
4#[non_exhaustive]
5pub struct Format13 {
6    pub num_groups: uint32,
7    groups: [ConstantMapGroup; 0],
8}
9
10#[repr(C)]
11pub struct ConstantMapGroup {
12    pub start_char_code: uint32,
13    pub end_char_code: uint32,
14    pub glyph_id: uint32,
15}
16
17impl super::CmapSubtableTrait for Format13 {
18    const FORMAT: u16 = 13;
19}
20
21// TODO: 'cmap' subtable format 13