comparison mupdf-source/thirdparty/harfbuzz/src/OT/glyf/loca.hh @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 #ifndef OT_GLYF_LOCA_HH
2 #define OT_GLYF_LOCA_HH
3
4
5 #include "../../hb-open-type.hh"
6
7
8 namespace OT {
9
10
11 /*
12 * loca -- Index to Location
13 * https://docs.microsoft.com/en-us/typography/opentype/spec/loca
14 */
15 #define HB_OT_TAG_loca HB_TAG('l','o','c','a')
16
17 struct loca
18 {
19 friend struct glyf;
20 friend struct glyf_accelerator_t;
21
22 static constexpr hb_tag_t tableTag = HB_OT_TAG_loca;
23
24 bool sanitize (hb_sanitize_context_t *c HB_UNUSED) const
25 {
26 TRACE_SANITIZE (this);
27 return_trace (true);
28 }
29
30 protected:
31 UnsizedArrayOf<HBUINT8>
32 dataZ; /* Location data. */
33 public:
34 DEFINE_SIZE_MIN (0); /* In reality, this is UNBOUNDED() type; but since we always
35 * check the size externally, allow Null() object of it by
36 * defining it _MIN instead. */
37 };
38
39
40 } /* namespace OT */
41
42
43 #endif /* OT_GLYF_LOCA_HH */