[hdmx] Adjust to hb_iota() behavior change
Use hb_range() instead.
This commit is contained in:
parent
4f2ad75a83
commit
00195a22ce
|
@ -125,14 +125,14 @@ struct hdmx
|
||||||
if (unlikely (!hdmx_prime)) return_trace (false);
|
if (unlikely (!hdmx_prime)) return_trace (false);
|
||||||
|
|
||||||
auto it =
|
auto it =
|
||||||
+ hb_iota ((unsigned) numRecords)
|
+ hb_range ((unsigned) numRecords)
|
||||||
| hb_map ([&] (unsigned _)
|
| hb_map ([&] (unsigned _)
|
||||||
{
|
{
|
||||||
const DeviceRecord *device_record =
|
const DeviceRecord *device_record =
|
||||||
&StructAtOffset<DeviceRecord> (&firstDeviceRecord,
|
&StructAtOffset<DeviceRecord> (&firstDeviceRecord,
|
||||||
_ * sizeDeviceRecord);
|
_ * sizeDeviceRecord);
|
||||||
auto row =
|
auto row =
|
||||||
+ hb_iota (c->plan->num_output_glyphs ())
|
+ hb_range (c->plan->num_output_glyphs ())
|
||||||
| hb_map (c->plan->reverse_glyph_map)
|
| hb_map (c->plan->reverse_glyph_map)
|
||||||
| hb_map ([=] (hb_codepoint_t _)
|
| hb_map ([=] (hb_codepoint_t _)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue