- From: Levantovsky, Vladimir <Vladimir.Levantovsky@monotype.com>
- Date: Fri, 27 Mar 2015 19:31:49 +0000
- To: Khaled Hosny <khaledhosny@eglug.org>, WebFonts WG <public-webfonts-wg@w3.org>
Hi Khaled, You mentioned two completely separate cases, and I believe both are sufficiently covered in the spec. 1) you have an empty glyph (numberOfContours = 0): in this case, the glyphStream will have nothing in it for this particular glyph; 2) you have a simple glyph (numberOfContours > 0): in this case the size of the instructions that need to be read from the instructionStream will be defined by the instructionLength read from the glyphStream. I think the spec is sufficiently clear on this, is it not the case? Thank you, Vlad -----Original Message----- From: Khaled Hosny [mailto:khaledhosny@eglug.org] Sent: Friday, March 27, 2015 3:02 PM To: WebFonts WG Subject: Re: Question about instructionLength of simple glyphs On Fri, Mar 27, 2015 at 08:48:05PM +0200, Khaled Hosny wrote: > Hi all, > > The “Decoding of Simple Glyphs” suggests that instructionLength is > always set for any glyph, but the reference implementation seems to > write/read it only if numberOfContours is > 0. Reading again, I think this can be inferred from the paragraph preceding this section, but I still think an explicit note is needed. Regards, Khaled
Received on Friday, 27 March 2015 19:32:18 UTC