ttf_view/tables/cmap/format8.rs
1use crate::types::uint32;
2
3#[repr(C)]
4#[non_exhaustive]
5pub struct Format8 {
6 pub is32: [u8; 8192],
7 pub num_groups: uint32,
8 groups: [SequentialMapGroup; 0],
9}
10
11#[repr(C)]
12pub struct SequentialMapGroup {
13 pub start_char_code: uint32,
14 pub end_char_code: uint32,
15 pub start_glyph_id: uint32,
16}
17
18impl super::CmapSubtableTrait for Format8 {
19 const FORMAT: u16 = 8;
20}
21
22// TODO: 'cmap' subtable format 8