src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hhea-table.hh
changeset 50826 f5b95be8b6e2
parent 50352 25db2c8f3cf8
child 54232 7c11a7cc7c1d
equal deleted inserted replaced
50825:aa0a35b071fb 50826:f5b95be8b6e2
    27 #ifndef HB_OT_HHEA_TABLE_HH
    27 #ifndef HB_OT_HHEA_TABLE_HH
    28 #define HB_OT_HHEA_TABLE_HH
    28 #define HB_OT_HHEA_TABLE_HH
    29 
    29 
    30 #include "hb-open-type-private.hh"
    30 #include "hb-open-type-private.hh"
    31 
    31 
       
    32 /*
       
    33  * hhea -- Horizontal Header
       
    34  * https://docs.microsoft.com/en-us/typography/opentype/spec/hhea
       
    35  * vhea -- Vertical Header
       
    36  * https://docs.microsoft.com/en-us/typography/opentype/spec/vhea
       
    37  */
       
    38 #define HB_OT_TAG_hhea HB_TAG('h','h','e','a')
       
    39 #define HB_OT_TAG_vhea HB_TAG('v','h','e','a')
       
    40 
    32 
    41 
    33 namespace OT {
    42 namespace OT {
    34 
    43 
    35 
       
    36 /*
       
    37  * hhea -- The Horizontal Header Table
       
    38  * vhea -- The Vertical Header Table
       
    39  */
       
    40 
       
    41 #define HB_OT_TAG_hhea HB_TAG('h','h','e','a')
       
    42 #define HB_OT_TAG_vhea HB_TAG('v','h','e','a')
       
    43 
    44 
    44 template <typename T>
    45 template <typename T>
    45 struct _hea
    46 struct _hea
    46 {
    47 {
    47   inline bool sanitize (hb_sanitize_context_t *c) const
    48   inline bool sanitize (hb_sanitize_context_t *c) const