summaryrefslogtreecommitdiffstats
path: root/thirdparty/harfbuzz/src/hb-aat-layout-kerx-table.hh
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-11-04 10:01:30 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-11-08 13:26:21 +0200
commitda8aedfc171843388a1743b107dea5a98a6ab6eb (patch)
tree091bdb0a1e407dc6a0028da9fd3a435424ed3d92 /thirdparty/harfbuzz/src/hb-aat-layout-kerx-table.hh
parentce634e03d5bbfe7f92b6285a79e8c0ce29649642 (diff)
downloadredot-engine-da8aedfc171843388a1743b107dea5a98a6ab6eb.tar.gz
HarfBuzz: Update to version 3.1.1
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-aat-layout-kerx-table.hh')
-rw-r--r--thirdparty/harfbuzz/src/hb-aat-layout-kerx-table.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/thirdparty/harfbuzz/src/hb-aat-layout-kerx-table.hh b/thirdparty/harfbuzz/src/hb-aat-layout-kerx-table.hh
index d0eacf0e61..0354b47d5a 100644
--- a/thirdparty/harfbuzz/src/hb-aat-layout-kerx-table.hh
+++ b/thirdparty/harfbuzz/src/hb-aat-layout-kerx-table.hh
@@ -82,8 +82,8 @@ struct KernPair
}
protected:
- HBGlyphID left;
- HBGlyphID right;
+ HBGlyphID16 left;
+ HBGlyphID16 right;
FWORD value;
public:
DEFINE_SIZE_STATIC (6);
@@ -775,11 +775,11 @@ struct KerxSubTable
unsigned int subtable_type = get_type ();
TRACE_DISPATCH (this, subtable_type);
switch (subtable_type) {
- case 0: return_trace (c->dispatch (u.format0, hb_forward<Ts> (ds)...));
- case 1: return_trace (c->dispatch (u.format1, hb_forward<Ts> (ds)...));
- case 2: return_trace (c->dispatch (u.format2, hb_forward<Ts> (ds)...));
- case 4: return_trace (c->dispatch (u.format4, hb_forward<Ts> (ds)...));
- case 6: return_trace (c->dispatch (u.format6, hb_forward<Ts> (ds)...));
+ case 0: return_trace (c->dispatch (u.format0, std::forward<Ts> (ds)...));
+ case 1: return_trace (c->dispatch (u.format1, std::forward<Ts> (ds)...));
+ case 2: return_trace (c->dispatch (u.format2, std::forward<Ts> (ds)...));
+ case 4: return_trace (c->dispatch (u.format4, std::forward<Ts> (ds)...));
+ case 6: return_trace (c->dispatch (u.format6, std::forward<Ts> (ds)...));
default: return_trace (c->default_return_value ());
}
}