1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
// GENERATED CODE DO NOT MODIFY! // Any manual changes to this file will be overwritten! //! JIS_X0201 glyph subset. //! //! | Type | Screenshot | //! |------|------------| //! | `FONT_6X13` |  | //! | `FONT_7X14` |  | //! | `FONT_8X13` |  | //! | `FONT_9X15` |  | //! | `FONT_9X18` |  | //! | `FONT_10X20` |  | /// 6x13 pixel monospace font. pub const FONT_6X13: crate::mono_font::MonoFont = crate::mono_font::MonoFont { image: crate::image::ImageRaw::new_binary( include_bytes!("../../../fonts/raw/jis_x0201/font_6x13.raw"), 96, ), glyph_mapping: &crate::mono_font::mapping::JIS_X0201, character_size: crate::geometry::Size::new(6, 13), character_spacing: 0, baseline: 10, underline: crate::mono_font::DecorationDimensions::new(10 + 2, 1), strikethrough: crate::mono_font::DecorationDimensions::new(13 / 2, 1), }; /// 7x14 pixel monospace font. pub const FONT_7X14: crate::mono_font::MonoFont = crate::mono_font::MonoFont { image: crate::image::ImageRaw::new_binary( include_bytes!("../../../fonts/raw/jis_x0201/font_7x14.raw"), 112, ), glyph_mapping: &crate::mono_font::mapping::JIS_X0201, character_size: crate::geometry::Size::new(7, 14), character_spacing: 0, baseline: 11, underline: crate::mono_font::DecorationDimensions::new(11 + 2, 1), strikethrough: crate::mono_font::DecorationDimensions::new(14 / 2, 1), }; /// 8x13 pixel monospace font. pub const FONT_8X13: crate::mono_font::MonoFont = crate::mono_font::MonoFont { image: crate::image::ImageRaw::new_binary( include_bytes!("../../../fonts/raw/jis_x0201/font_8x13.raw"), 128, ), glyph_mapping: &crate::mono_font::mapping::JIS_X0201, character_size: crate::geometry::Size::new(8, 13), character_spacing: 0, baseline: 10, underline: crate::mono_font::DecorationDimensions::new(10 + 2, 1), strikethrough: crate::mono_font::DecorationDimensions::new(13 / 2, 1), }; /// 9x15 pixel monospace font. pub const FONT_9X15: crate::mono_font::MonoFont = crate::mono_font::MonoFont { image: crate::image::ImageRaw::new_binary( include_bytes!("../../../fonts/raw/jis_x0201/font_9x15.raw"), 144, ), glyph_mapping: &crate::mono_font::mapping::JIS_X0201, character_size: crate::geometry::Size::new(9, 15), character_spacing: 0, baseline: 11, underline: crate::mono_font::DecorationDimensions::new(11 + 2, 1), strikethrough: crate::mono_font::DecorationDimensions::new(15 / 2, 1), }; /// 9x18 pixel monospace font. pub const FONT_9X18: crate::mono_font::MonoFont = crate::mono_font::MonoFont { image: crate::image::ImageRaw::new_binary( include_bytes!("../../../fonts/raw/jis_x0201/font_9x18.raw"), 144, ), glyph_mapping: &crate::mono_font::mapping::JIS_X0201, character_size: crate::geometry::Size::new(9, 18), character_spacing: 0, baseline: 13, underline: crate::mono_font::DecorationDimensions::new(13 + 2, 1), strikethrough: crate::mono_font::DecorationDimensions::new(18 / 2, 1), }; /// 10x20 pixel monospace font. pub const FONT_10X20: crate::mono_font::MonoFont = crate::mono_font::MonoFont { image: crate::image::ImageRaw::new_binary( include_bytes!("../../../fonts/raw/jis_x0201/font_10x20.raw"), 160, ), glyph_mapping: &crate::mono_font::mapping::JIS_X0201, character_size: crate::geometry::Size::new(10, 20), character_spacing: 0, baseline: 15, underline: crate::mono_font::DecorationDimensions::new(15 + 2, 1), strikethrough: crate::mono_font::DecorationDimensions::new(20 / 2, 1), };