Re: Some questions about OT-SVG glyph metrics and bounding boxes

You are correct.  However, I think the Animation section of that doc (https://docs.microsoft.com/en-us/typography/opentype/spec/svg#animations) says it best:
 Some implementations may support use of animations—either SVG animation or CSS animation. 
 Note that support for animation is optional and is not recommended in fonts intended for wide distribution.

And also points out that even in the case of animation, you can't animate outside the bounds of the glyph
 Note that glyph advance widths and advance heights are defined in the 'hmtx' and 'vmtx' tables, and cannot be animated. 
 A glyph’s bounding box may change during animation, but should remain within the glyph advance width/height and the font’s default line metrics to avoid collision with other text elements.


Leonard

On 7/31/19, 12:25 PM, "Jonathan Kew" <jfkthame@gmail.com> wrote:

    On 31/07/2019 17:13, Leonard Rosenthol wrote:
    
    > Animation is not permitted in SVG fonts 
    > (https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Ftypography%2Fopentype%2Fspec%2Fsvg%23svg-capability-requirements-and-restrictions&amp;data=02%7C01%7Clrosenth%40adobe.com%7Cdaf742304ea04f6ddfaf08d715d3c1ef%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637001871548828822&amp;sdata=ToPDwGGCHsrst0u0cxo%2BPvK7OBntn%2BNonhDxWh%2F055U%3D&amp;reserved=0). 
    
    That document does not prohibit animation, AFAICS; it says:
    
    "Support for the following capabilities is not required in conforming 
    implementations, though some applications may support them."
    
    (where one of the "following capabilities" is SVG animations). And 
    indeed, Firefox does have support for animated SVG glyphs.
    
    JK
    

Received on Wednesday, 31 July 2019 16:29:45 UTC