Color font issue (random scaling of glyphs) in Word and PowerPoint

Hi, I’ve made an extended colorfont (Latin Extended glyph set incl. kerning) with Glyphs which works well in design apps and browsers. When I’m in Word (16.46 on Mac OS 10.15) or PowerPoint and start typing, I get strange seemingly random scaling of some glyphs (see images) very frequently, sometimes all flips to the right size once I hit return to go to the next line. When I paste text all works well. I’ve generated the font as ttf and otf, with COLR/CPAL and/or SVG, all fonts appear to have the same issue in Word and PowerPoint.


Does that ring any bells?

@Jens Kutilek RoboChrome and the same issue happens there when I generate a ttf with COLR/CPAL. Only when I generate a ttf with SVG does the font perform as expected!

Thanks
Martin

Comments

  • Thomas PhinneyThomas Phinney Posts: 1,990
    Does the strange scaling go away when you generate it as a plain non-color font?
  • Yes, the issue only occurs in the colorfont version of the ttf or otf.
    I'm wondering if the negative left & right side bearings (the underline element exceeds the width on either side) have anything to do with the glitch.
  • What flavour of colour font? COLR? SVG? 'sbix'?
  • Martin WenzelMartin Wenzel Posts: 38
    edited March 12
    Hi @Peter Constable the issue occurs with the COLR version only. I have made many test but have not yet come to a conclusion why MS Office on Mac is misinterpreting the data. Something I did find out though is that Word does not like it at all when the width of a glyph is exceeded.
    (We don't need sbix, we're only interested in vector based color fonts)
  • @Peter Constable I'll gladly supply a demo font if you're interested
  • @Martin Wenzel I'll follow up with you in a private message.
  • @Peter Constable thank you, we'd very much appreciate that. You can get in touch with me at supertype.de or via twitter (supertype_de).
    Ideally there is a solution that would allow users to exchange Word documents across platforms without having to switch fonts (from OpenType COLR on Windows to OpenType SVG on MacOS).
  • @Peter Constable & @Martin Wenzel, if you figured out what was the problem, I'd be interested in implementing a FontBakery check to automatically detect and report it.
  • @Felipe Sanches I have not yet figured it out but @Peter Constable is having a look at the issue.
Sign In or Register to comment.