|
gpforge
An advanced bitmap font editor
|
A glyph decomposition. More...
#include <compose.h>
Data Fields | |
| uint32_t | code |
| A unicode code point of the accented letter. | |
| uint32_t | base_code |
| The letter this is an accented form of, e.g. 'i' for 'í'. | |
| uint32_t | draw_base |
| What a new one is drawn from. | |
| uint32_t | mark |
| The combining mark unicode decomposes the letter into. | |
| uint32_t | accent |
| The spacing accent, the one that gets typed. | |
| enum gpf_accent_place | place |
| Where the accent is placed in the glyph rectangle. | |
| uint32_t gpf_decomposition::accent |
The spacing accent, the one that gets typed.
Drawn to fill an advance and wider than the one inside a letter, it is the second fallback.
Definition at line 67 of file compose.h.
Referenced by gpf_accent_ink(), gpf_accent_offset(), gpf_compose(), and gpf_decompose_by_accent().
| uint32_t gpf_decomposition::draw_base |
What a new one is drawn from.
The same letter except for an accent above an i or a j: those are drawn on the dotless letter, or the dot would sit under the accent.
Definition at line 51 of file compose.h.
Referenced by gpf_draw_base().
| uint32_t gpf_decomposition::mark |
The combining mark unicode decomposes the letter into.
Two accents, because a font can carry two, and neither is where the accent usually comes from — gpf_accent_ink() takes that off a letter that has it. A bitmap font rarely draws the combining mark; it is the first fallback.
Definition at line 60 of file compose.h.
Referenced by gpf_accent_ink(), and gpf_decompose_by_accent().