[OpenType] Typo in CFF2 specification?

Ken Lunde lunde at adobe.com
Thu Apr 11 19:22:23 CEST 2019


Behdad,

To clarify, would that mean that the valid GID range for Table 12 FDSelect Format 3 and Table 13 Range3 Record Format is 0 through 65535 (and not 0 through 65534)? Given that there is a sentinel CID, I would think that the usable GID range would be 0 through 65534 (65,535 glyphs), not 0 through 65535 (65,536 glyphs). To quote from the "Table 13 Range3 Record Format" section:

"A sentinel GID follows the last range element and serves to delimit the last range in the array. The sentinel GID is set equal to the number of glyphs in the font. That is, its value is 1 greater than the last GID in the font."

Regards...

-- Ken

> On Apr 11, 2019, at 10:08 AM, Behdad Esfahbod via OpenType <opentype-listmaster at indx.co.uk> wrote:
> 
> Message from OpenType list:
> 
> 
>> ****** Attachments to this email message have been removed ******
> 
> I think only the second instance in this quote is wrong:
> 
> *Note:* While FDSelect format 4 allows for more than 65536 glyphs, other
> parts of the OpenType format, such as the numGlyphs field of the 'maxp'
> table, are still constrained to 65536 glyphs.
> 
> 
> 
> On Thu, Apr 11, 2019 at 12:37 PM Ken Lunde via OpenType <
> opentype-listmaster at indx.co.uk> wrote:
> 
>> Message from OpenType list:
>> 
>> 
>> All,
>> 
>> Can someone double check to make sure that all instances of "65536" in the
>> CFF2 specification are correct? See:
>> 
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Ftypography%2Fopentype%2Fspec%2Fcff2&data=02%7C01%7CLunde%40adobe.com%7C2565f8ba25964978940f08d6bea0f6b5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636905995905347520&sdata=gmTML4sP%2B7C8dOtC6zcb%2FI9vTovfYusnC8%2BVqsYV3JM%3D&reserved=0
>> 
>> Given that the valid GID range for CFF is 0 through 65534 (65,535 glyphs),
>> my understanding is that "65536" should instead be "65535," unless CFF2 was
>> architected in a way that allows 65,536 glyphs.
>> 
>> Regards...
>> 
>> -- Ken
>> 
>> 
>> 
>> 
>> List archive: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.indx.co.uk%2Fbiglistarchive%2F&data=02%7C01%7CLunde%40adobe.com%7C2565f8ba25964978940f08d6bea0f6b5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636905995905347520&sdata=gnb%2BEKvfzj%2FN1uvgeChFR5pmtz%2BZ%2FbQhpz9twUFIgKo%3D&reserved=0
>> List settings: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.indx.co.uk%2Fbiglistarchive%2F%3Fmode%3Dusersettings&data=02%7C01%7CLunde%40adobe.com%7C2565f8ba25964978940f08d6bea0f6b5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636905995905347520&sdata=dbMqHRzJuC5%2FaYI729DiD1sbIgLI9qpp%2FaovDOR%2BheI%3D&reserved=0
>> 
>> subscribe: opentype-subscribe at indx.co.uk
>> unsubscribe: opentype-unsubscribe at indx.co.uk
>> messages: opentype-list at indx.co.uk
>> 
>> 
>> 
> 
> -- 
> behdad
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbehdad.org%2F&data=02%7C01%7CLunde%40adobe.com%7C2565f8ba25964978940f08d6bea0f6b5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636905995905347520&sdata=IhL9p%2FueyaSl45gs1aRJaL59YFaZKbg2KCBPyKqnq%2FI%3D&reserved=0
> 
> 
> 
>> ****** Attachments to this email message have been removed ******
> 
> 
> 
> List archive: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.indx.co.uk%2Fbiglistarchive%2F&data=02%7C01%7CLunde%40adobe.com%7C2565f8ba25964978940f08d6bea0f6b5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636905995905347520&sdata=gnb%2BEKvfzj%2FN1uvgeChFR5pmtz%2BZ%2FbQhpz9twUFIgKo%3D&reserved=0
> List settings: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.indx.co.uk%2Fbiglistarchive%2F%3Fmode%3Dusersettings&data=02%7C01%7CLunde%40adobe.com%7C2565f8ba25964978940f08d6bea0f6b5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636905995905347520&sdata=dbMqHRzJuC5%2FaYI729DiD1sbIgLI9qpp%2FaovDOR%2BheI%3D&reserved=0
> 
> subscribe: opentype-subscribe at indx.co.uk
> unsubscribe: opentype-unsubscribe at indx.co.uk
> messages: opentype-list at indx.co.uk
> 
> 



More information about the mpeg-otspec mailing list