[MPEG-OTSPEC] Rules for cubic bits in glyf flags include undefined behaviour for some configurations

Bob Hallissy bob_hallissy at sil.org
Wed Oct 4 01:05:08 CEST 2023



On 9/23/2023 1:02 PM, Laurence Penney wrote:
> All the off-curve points between two on-curve points (with wrap-around) must either
> have the CUBIC flag clear, or have the CUBIC flag set.

I find the above ambiguous -- my first reaction was "well the CUBIC flag 
is binary so of course they will all have the CUBIC flag either set or 
clear. duh."   I realized later what (I think) was trying to be said is 
that they must all /agree/, i.e., all set or all clear.

Also the statement is ambiguous about whether it applies to arbitrary 
pairs of on-curve points or not.

Could this be worded more clearly, maybe:

Consecutive off-curve points between two on-curve points (with wrap-around) must have the same CUBIC flag value.

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.aau.at/pipermail/mpeg-otspec/attachments/20231003/611b2570/attachment.html>


More information about the mpeg-otspec mailing list