|
3 | 3 | "brief.md": "Defines mappings between UTF-8 codepoint sequences (characters) and their visual representations (pixmaps).\n\n## Use Cases\n\n- **Character-to-glyph mapping** - Associates text characters, including single utf8 codepoints, ligatures, and grapheme clusters, with their pixmap representation.\n", |
4 | 4 | "configurations": { |
5 | 5 | "brief": { |
6 | | - "constant_codepoint_count.md": "The exact codepoint length of each `codepoints` field in this table" |
| 6 | + "constant_code_point_count.md": "The exact code point length of each `code_points` field in this table" |
7 | 7 | }, |
8 | 8 | "condition": { |
9 | | - "constant_codepoint_count.md": "If `use_constant_codepoint_count` is enabled." |
| 9 | + "constant_code_point_count.md": "If `use_constant_code_point_count` is enabled." |
10 | 10 | }, |
11 | 11 | "flag": { |
12 | | - "use_constant_codepoint_count.md": "All characters in this table have the same number of codepoints." |
| 12 | + "use_constant_code_point_count.md": "All characters in this table have the same number of code points." |
13 | 13 | } |
14 | 14 | }, |
15 | 15 | "links": { |
16 | 16 | "brief": { |
17 | | - "pixmap_tables.md": "Vector of Pixmap Table indices this character table references." |
| 17 | + "pixmap_tables.md": "Length byte followed by that many Pixmap Table indices this character table may reference." |
18 | 18 | }, |
19 | 19 | "condition": { |
20 | 20 | "pixmap_tables.md": "If `link_pixmap_tables` is enabled." |
|
31 | 31 | }, |
32 | 32 | "details": { |
33 | 33 | "use_advance_x.md": "When disabled, the default advance is the pixmap's width. Letter spacing, if any, is added to the advance value.", |
34 | | - "use_pixmap_index.md": "When disabled, the pixmap index defaults to match the character record index (1:1 mapping).", |
| 34 | + "use_pixmap_index.md": "When disabled, the pixmap index defaults to match the character record index creating a one to one mapping.", |
35 | 35 | "use_pixmap_table_index.md": "When disabled, the renderer searches linked Pixmap Tables in order until finding a valid pixmap at the character's index. The first pixmap linked will have priority over the last." |
36 | 36 | } |
37 | 37 | }, |
38 | 38 | "records": { |
39 | 39 | "brief": { |
40 | 40 | "advance_x.md": "Number of pixels to advance horizontally after rendering this character.", |
41 | | - "codepoints.md": "Always present", |
42 | | - "pixmap_index.md": "If `use_pixmap_index` modifier is enabled.", |
43 | | - "pixmap_table_index.md": "If `use_pixmap_table_index` modifier is enabled." |
| 41 | + "code_points.md": "UTF-8 encoded code point sequence, null-terminated unless `constant_code_point_count` is set.", |
| 42 | + "pixmap_index.md": "Index of the pixmap within the referenced Pixmap Tables.", |
| 43 | + "pixmap_table_index.md": "Index of the specific Pixmap Table to use for this character." |
44 | 44 | }, |
45 | 45 | "condition": { |
46 | 46 | "advance_x.md": "If `use_advance_x` modifier is enabled.", |
47 | | - "codepoints.md": "UTF-8 encoded codepoint sequence (null-terminated unless `constant_codepoint_count` is set).", |
48 | | - "pixmap_index.md": "Index of the pixmap within the referenced Pixmap Table(s).", |
49 | | - "pixmap_table_index.md": "Index of the specific Pixmap Table to use for this character." |
| 47 | + "code_points.md": "Always present", |
| 48 | + "pixmap_index.md": "If `use_pixmap_index` modifier is enabled.", |
| 49 | + "pixmap_table_index.md": "If `use_pixmap_table_index` modifier is enabled." |
50 | 50 | } |
51 | 51 | } |
52 | 52 | }, |
53 | 53 | "color_table": { |
54 | | - "brief.md": "# color_table table\n\nWrite the documentation content for color_table table here.", |
| 54 | + "brief.md": "Stores RGBA color values that can be referenced by pixmap data.\n\n## Use Cases\n\n- **Pixmap palettes** - When linked to a Pixmap Table, provides the color palette for indexed pixel data.\n- **Color storage** - Can store color sets independently for other purposes.", |
55 | 55 | "configurations": { |
56 | 56 | "brief": { |
57 | | - "constant_alpha.md": "# constant_alpha\n\nWrite the documentation content for constant_alpha here." |
| 57 | + "constant_alpha.md": "The alpha channel value applied to all colors in this table." |
| 58 | + }, |
| 59 | + "condition": { |
| 60 | + "constant_alpha.md": "If `use_constant_alpha` is enabled." |
| 61 | + }, |
| 62 | + "flag": { |
| 63 | + "use_constant_alpha.md": "All colors in this table share the same alpha value." |
58 | 64 | } |
59 | 65 | }, |
60 | 66 | "modifiers": { |
61 | 67 | "brief": { |
62 | | - "use_color_type.md": "# use_color_type\n\nWrite the documentation content for use_color_type here." |
| 68 | + "use_color_type.md": "Each record includes a `color_type` field indicating the color mutability type." |
63 | 69 | }, |
64 | 70 | "details": { |
65 | | - "use_color_type.md": "# use_color_type details\n\nWrite the documentation content for use_color_type details here." |
| 71 | + "use_color_type.md": "When disabled, the default color type is dynamic. The rendering engine may change the RGBA color to support features such as, but not limited to; text color, and/or palette theming." |
66 | 72 | } |
67 | 73 | }, |
68 | 74 | "records": { |
69 | 75 | "brief": { |
70 | | - "alpha.md": "# alpha\n\nWrite the documentation content for alpha here.", |
71 | | - "blue.md": "# blue\n\nWrite the documentation content for blue here.", |
72 | | - "color_type.md": "# color_type\n\nWrite the documentation content for color_type here.", |
73 | | - "green.md": "# green\n\nWrite the documentation content for green here.", |
74 | | - "red.md": "# red\n\nWrite the documentation content for red here." |
| 76 | + "alpha.md": "Alpha channel value (0 = fully transparent, 255 = fully opaque).", |
| 77 | + "blue.md": "Blue channel value.", |
| 78 | + "color_type.md": "Color Type value (0 = Dynamic, 1 = Absolute).", |
| 79 | + "green.md": "Green channel value.", |
| 80 | + "red.md": "Red channel value." |
| 81 | + }, |
| 82 | + "condition": { |
| 83 | + "alpha.md": "If `constant_alpha` configuration is **not** set", |
| 84 | + "blue.md": "Always present", |
| 85 | + "color_type.md": "If `use_color_type` modifier is enabled.", |
| 86 | + "green.md": "Always present", |
| 87 | + "red.md": "Always present" |
75 | 88 | } |
76 | 89 | } |
77 | 90 | }, |
78 | 91 | "font_table": { |
79 | | - "brief.md": "# font_table table\n\nWrite the documentation content for font_table table here.", |
| 92 | + "brief.md": "Groups Character Tables into named fonts and carries the metadata to identify them.\n \n## Use Cases\n \n- **Sub-font grouping** - A single file can carry several related fonts, such as Regular, Bold, and Italic, each pointing at its own Character Tables.", |
80 | 93 | "links": { |
81 | 94 | "brief": { |
82 | | - "character_tables.md": "# character_tables\n\nWrite the documentation content for character_tables here." |
| 95 | + "character_tables.md": "Length byte followed by that many Character Table indices this font table may reference." |
| 96 | + }, |
| 97 | + "condition": { |
| 98 | + "character_tables.md": "If `link_character_tables` is enabled." |
| 99 | + }, |
| 100 | + "flag": { |
| 101 | + "link_character_tables.md": "This table links to one or more Character Tables." |
83 | 102 | } |
84 | 103 | }, |
85 | 104 | "records": { |
86 | 105 | "brief": { |
87 | | - "author.md": "# author\n\nWrite the documentation content for author here.", |
88 | | - "character_table_indexes.md": "# character_table_indexes\n\nWrite the documentation content for character_table_indexes here.", |
89 | | - "font_type.md": "# font_type\n\nWrite the documentation content for font_type here.", |
90 | | - "name.md": "# name\n\nWrite the documentation content for name here.", |
91 | | - "version.md": "# version\n\nWrite the documentation content for version here." |
| 106 | + "author.md": "Author, manufacturer, or credits for the font.", |
| 107 | + "character_table_indexes.md": "Length byte followed by that many Character Table indices this font may access and use.", |
| 108 | + "font_type.md": "Style of this font (0 = Regular, 1 = Bold, 2 = Italic).", |
| 109 | + "name.md": "Human-readable font name.", |
| 110 | + "version.md": "Revision number of this font," |
| 111 | + }, |
| 112 | + "condition": { |
| 113 | + "author.md": "Always present.", |
| 114 | + "character_table_indexes.md": "Always present.", |
| 115 | + "font_type.md": "Always present.", |
| 116 | + "name.md": "Always present.", |
| 117 | + "version.md": "Always present." |
92 | 118 | } |
93 | 119 | } |
94 | 120 | }, |
95 | 121 | "phrase": { |
96 | 122 | "reserved.md": "Reserved for future use." |
97 | 123 | }, |
98 | 124 | "pixmap_table": { |
99 | | - "brief.md": "# pixmap_table table\n\nWrite the documentation content for pixmap_table table here.", |
| 125 | + "brief.md": "Stores glyph data as collections of pixels within pixmaps, representing the visual appearance of a character.\n\n## Use Cases\n\n- **Glyph storage** - Contains the pixmap images for font characters\n", |
100 | 126 | "configurations": { |
101 | 127 | "brief": { |
102 | | - "constant_bits_per_pixel.md": "# constant_bits_per_pixel\n\nWrite the documentation content for constant_bits_per_pixel here.", |
103 | | - "constant_height.md": "# constant_height\n\nWrite the documentation content for constant_height here.", |
104 | | - "constant_width.md": "# constant_width\n\nWrite the documentation content for constant_width here." |
| 128 | + "constant_bits_per_pixel.md": "The bits per pixel shared by all pixmaps in this table (only 1-8 supported).", |
| 129 | + "constant_height.md": "The height in pixels shared by all pixmaps in this table.", |
| 130 | + "constant_width.md": "The width in pixels shared by all pixmaps in this table." |
| 131 | + }, |
| 132 | + "condition": { |
| 133 | + "constant_bits_per_pixel.md": "If `use_constant_bits_per_pixel` is enabled", |
| 134 | + "constant_height.md": "If `use_constant_height` is enabled.", |
| 135 | + "constant_width.md": "If `use_constant_width` is enabled." |
| 136 | + }, |
| 137 | + "flag": { |
| 138 | + "use_constant_bits_per_pixel.md": "All pixmaps in this table use the same number of bits to represent a pixel.", |
| 139 | + "use_constant_height.md": "All pixmaps in this table share the same height.", |
| 140 | + "use_constant_width.md": "All pixmaps in this table share the same width." |
105 | 141 | } |
106 | 142 | }, |
107 | 143 | "links": { |
108 | 144 | "brief": { |
109 | | - "color_tables.md": "# color_tables\n\nWrite the documentation content for color_tables here." |
| 145 | + "color_tables.md": "Length byte followed by that many Color Table indices supplying the palette that pixel values index into." |
| 146 | + }, |
| 147 | + "condition": { |
| 148 | + "color_tables.md": "If `link_color_tables` is enabled." |
| 149 | + }, |
| 150 | + "flag": { |
| 151 | + "link_color_tables.md": "This table links to one or more Color Tables for palette mapping" |
110 | 152 | } |
111 | 153 | }, |
112 | 154 | "records": { |
113 | 155 | "brief": { |
114 | | - "bits_per_pixel.md": "# bits_per_pixel\n\nWrite the documentation content for bits_per_pixel here.", |
115 | | - "data.md": "# data\n\nWrite the documentation content for data here.", |
116 | | - "height.md": "# height\n\nWrite the documentation content for height here.", |
117 | | - "width.md": "# width\n\nWrite the documentation content for width here." |
| 156 | + "bits_per_pixel.md": "Bits used to represent each pixel of this pixmap (only 1-8 supported).", |
| 157 | + "data.md": "Packed pixel data as a bit array", |
| 158 | + "height.md": "Height of this pixmap in pixels.", |
| 159 | + "width.md": "Width of this pixmap in pixels." |
| 160 | + }, |
| 161 | + "condition": { |
| 162 | + "bits_per_pixel.md": "If `use_constant_bits_per_pixel` is not enabled.", |
| 163 | + "data.md": "Always present.", |
| 164 | + "height.md": "If `use_constant_height` is not enabled.", |
| 165 | + "width.md": "If `use_constant_width` is not enabled." |
118 | 166 | } |
119 | 167 | } |
120 | 168 | } |
|
0 commit comments