projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f2ad75
)
[hdmx] Adjust to hb_iota() behavior change
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 9 May 2019 19:14:36 +0000
(12:14 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 9 May 2019 19:14:36 +0000
(12:14 -0700)
Use hb_range() instead.
src/hb-ot-hdmx-table.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-hdmx-table.hh
b/src/hb-ot-hdmx-table.hh
index
35d27f7
..
dc36d0a
100644
(file)
--- a/
src/hb-ot-hdmx-table.hh
+++ b/
src/hb-ot-hdmx-table.hh
@@
-125,14
+125,14
@@
struct hdmx
if (unlikely (!hdmx_prime)) return_trace (false);
auto it =
- + hb_
iota
((unsigned) numRecords)
+ + hb_
range
((unsigned) numRecords)
| hb_map ([&] (unsigned _)
{
const DeviceRecord *device_record =
&StructAtOffset<DeviceRecord> (&firstDeviceRecord,
_ * sizeDeviceRecord);
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 ([=] (hb_codepoint_t _)
{