[HarfBuzz] bug in `hb_ot_layout_lookup_collect_lookups'
Behdad Esfahbod
behdad at behdad.org
Mon Apr 14 00:26:49 PDT 2014
On 14-04-14 12:20 AM, Werner LEMBERG wrote:
>
> Behdad,
>
>
> I guess I've found a bug in `hb_ot_layout_lookup_collect_glyphs'. In
> FreeType's `src/autofit/hbshim.c', I'm calling it like this:
>
> hb_ot_layout_collect_lookups( face,
> HB_OT_TAG_GSUB,
> script_tags,
> NULL,
> coverage_tags,
> gsub_lookups );
>
> Testing it with `lohit_hi.ttf' (version 2.4.1), it returns the
> following lookup indices for the `deva' script:
>
> 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
> 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
> 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
> 72 73 74 80 83
>
> However, there are more GSUB lookups, referenced via chained context
> lookups, AFAICS. Example: lookup 76, which gets referenced in
> lookup 4.
>
> I presume that this is not intentional behaviour.
It *is* intentional behavior. What's your exact use case?
behdad
>
> Werner
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
--
behdad
http://behdad.org/
More information about the HarfBuzz
mailing list