On 11.08.14 Behdad Esfahbod ([email protected]) wrote: Hi Behdad,
> That certainly isn't working as intended. I tested the cache locally (not in
> the context of XeTeX) and it works fine.
>
At least I can reproduce the growing loops Norbert has seen, after
applying the debug patch.
> Can you dig into hb_shape_plan_matches() and see why it's never matching?
>
The function is:
static hb_bool_t
hb_shape_plan_matches (const hb_shape_plan_t *shape_plan,
const hb_shape_plan_proposal_t *proposal)
{
return hb_segment_properties_equal (&shape_plan->props, &proposal->props) &&
hb_shape_plan_user_features_match (shape_plan, proposal) &&
((shape_plan->default_shaper_list && proposal->shaper_list == NULL) ||
(shape_plan->shaper_func == proposal->shaper_func));
}
Could you send me instructions where to put the printf DEBUG
statements? Maybe I can help.
Hilmar
--
sigmentation fault
signature.asc
Description: Digital signature

