pub mod gdef;
pub mod gpos;
pub mod gsub;
pub mod layout;
pub static CMAP12_FONT1: &[u8] = include_bytes!("../test_data/ttf/cmap12_font1.ttf");
pub static CMAP14_FONT1: &[u8] = include_bytes!("../test_data/ttf/cmap14_font1.ttf");
pub static CMAP4_SYMBOL_PUA: &[u8] = include_bytes!("../test_data/ttf/cmap4_symbol_pua.ttf");
pub static COLR_GRADIENT_RECT: &[u8] =
include_bytes!("../test_data/ttf/linear_gradient_rect_colr_1.ttf");
pub static VAZIRMATN_VAR: &[u8] = include_bytes!("../test_data/ttf/vazirmatn_var_trimmed.ttf");
pub static NAMES_ONLY: &[u8] = include_bytes!("../test_data/ttf/names_only.ttf");
pub static VAZIRMATN_VAR_GLYPHS: &str =
include_str!("../test_data/extracted/vazirmatn_var_trimmed-glyphs.txt");
pub static SIMPLE_GLYF: &[u8] = include_bytes!("../test_data/ttf/simple_glyf.ttf");
pub static NOTO_SERIF_DISPLAY_TRIMMED: &[u8] =
include_bytes!("../test_data/ttf/noto_serif_display_trimmed.ttf");
pub static NOTO_SERIF_DISPLAY_TRIMMED_GLYPHS: &str =
include_str!("../test_data/extracted/noto_serif_display_trimmed-glyphs.txt");
pub static CANTARELL_VF_TRIMMED: &[u8] =
include_bytes!("../test_data/ttf/cantarell_vf_trimmed.ttf");
pub static CANTARELL_VF_TRIMMED_GLYPHS: &str =
include_str!("../test_data/extracted/cantarell_vf_trimmed-glyphs.txt");
pub static CHARSTRING_PATH_OPS: &[u8] = include_bytes!("../test_data/ttf/charstring_path_ops.ttf");
pub static EMBEDDED_BITMAPS: &[u8] = include_bytes!("../test_data/ttf/embedded_bitmaps.ttf");
pub static HVAR_WITH_TRUNCATED_ADVANCE_INDEX_MAP: &[u8] =
include_bytes!("../test_data/ttf/hvar_with_truncated_adv_index_map.ttf");
pub static COLRV0V1: &[u8] = include_bytes!("../test_data/ttf/test_glyphs-glyf_colr_1.ttf");
pub static COLRV0V1_VARIABLE: &[u8] =
include_bytes!("../test_data/ttf/test_glyphs-glyf_colr_1_variable.ttf");
pub mod closure {
pub static SIMPLE: &[u8] = include_bytes!("../test_data/ttf/simple_closure.ttf");
pub static SIMPLE_GLYPHS: &str = include_str!("../test_data/fea/simple_closure_glyphs.txt");
pub static RECURSIVE: &[u8] = include_bytes!("../test_data/ttf/recursive_closure.ttf");
pub static RECURSIVE_GLYPHS: &str =
include_str!("../test_data/fea/recursive_closure_glyphs.txt");
pub static CONTEXTUAL: &[u8] = include_bytes!("../test_data/ttf/context_closure.ttf");
pub static CONTEXTUAL_GLYPHS: &str =
include_str!("../test_data/fea/context_closure_glyphs.txt");
pub static RECURSIVE_CONTEXTUAL: &[u8] =
include_bytes!("../test_data/ttf/recursive_context_closure.ttf");
pub static RECURSIVE_CONTEXTUAL_GLYPHS: &str =
include_str!("../test_data/fea/recursive_context_closure_glyphs.txt");
pub static VARIATIONS_CLOSURE: &[u8] =
include_bytes!("../test_data/ttf/variations_closure.ttf");
pub static VARIATIONS_GLYPHS: &str =
include_str!("../test_data/fea/variations_closure_glyphs.txt");
}
pub mod post {
#[rustfmt::skip]
pub static SIMPLE: &[u8] = &[
0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xb5, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
0x00, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x04, 0x00, 0x06,
0x00, 0x07,
0x00, 0x08,
0x01, 0x02, 0x01, 0x03, 0x01, 0x04, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x02, 0x68, 0x69, 0x4, 0x68, 0x6f, 0x6c, 0x61, ];
}
pub mod cff2 {
pub static EXAMPLE: &[u8] = &[
0x02, 0x00, 0x05, 0x00, 0x07, 0xCF, 0x0C, 0x24, 0xC3, 0x11, 0x9B, 0x18, 0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