OpenType SVG color font — bug with InDesign PDF export

I’ve made a color font for a client. I got a bug report for the OpenType SVG version: it renders correctly in InDesign, but when exporting a PDF from the InDesign document, the two color areas are out of sync, with unintended white gaps between the colors.

In Illustrator it works fine, including PDF export.

I’m testing with InDesign 21.2, exporting with PDF/X-4.

If you can make a proper pdf in a different context, then it’s probably a bug in InDesign.

Yeah, that makes sense. Thanks for your reply!

Well, glad I checked - I was about to upgrade to the full version (Glyphs 3) specifically for color fonts in use with InDesign.

Dang.

Don’t know if I had the exact same bug, but I noticed export to PDF from Indesign works better in OTF-CFF than OTF-TTF. Which somehow doesn’t surprise me so far.

The ttf version was also exporting better when “export COLR table” was explicitly unchecked.

Is your font .otf or .ttf ?

2 Likes

I tried your idea to explicitly uncheck “Export COLR Table” and it actually fixed the bug!

My font was an OTF/CFF. The bug occurred regardless of whether I exported as .ttf or .otf. Now they both work.

Thank you so much, Rosalie!

2 Likes

hi @Anders_W - does this mean everything is working for you now?

I wouldn’t want to upgrade only to find out I can’t do what I need to do :slight_smile:

thanks.

1 Like

Yeah, now it all works :slight_smile:

I just needed to include the “Export COLR Table” parameter (in Font Info → Exports) and uncheck it. Apart from that, I just followed the Glyphs tutorial for OpenType SVG fonts.

1 Like

Thanks @Anders_W .

1 Like

@turner I spoke too soon. While it’s working for me, my client has tested it now and is still reporting problems with PDF export from InDesign.

1 Like

Ok, thanks. Did you try both CFF and TTF ?

No, while I’ve tested both on my computer, I only sent the CFF version to the client.

1 Like