7#include "../geometry/geometry.hpp"
8#include "../telemetry/telemetry.hpp"
9#include "../utility/utility.hpp"
10#include "../parser/parser.hpp"
14hi_export_module(hikogui.font.otype_coverage);
19 big_int16_buf_t coverage_format;
20 big_int16_buf_t glyph_count;
24 big_int16_buf_t coverage_format;
25 big_int16_buf_t range_count;
29 big_int16_buf_t start_glyph_id;
30 big_int16_buf_t end_glyph_id;
31 big_int16_buf_t start_coverage_index;
41 if (*
header1->coverage_format == 1) {
45 return *item < *value;
54 }
else if (*
header1->coverage_format == 2) {
61 return *item.end_glyph_id < *value;
65 return *
it->start_coverage_index + *glyph_id - *
it->start_glyph_id;
DOXYGEN BUG.
Definition algorithm_misc.hpp:20
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:378
Definition otype_coverage.hpp:18
Definition otype_coverage.hpp:23
Definition otype_coverage.hpp:28
Definition tagged_id.hpp:26