Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG fallback generated by Google Fonts not working? #59

Open
justvanrossum opened this issue Jan 14, 2023 · 5 comments
Open

SVG fallback generated by Google Fonts not working? #59

justvanrossum opened this issue Jan 14, 2023 · 5 comments

Comments

@justvanrossum
Copy link
Owner

justvanrossum commented Jan 14, 2023

I understand that the GF-served version of this font contains an SVG table as a fallback for COLR.

In Safari (macOS 10.15.7, Safari 15.6.1), going to this GF URL shows this:

image

Whereas Bungee Spice shows this:

image

At the same time I get the report from @GaetanBaehr that the SVG fallback also doesn't show color in (up-to-date) Adobe Illustrator and InDesign, whereas other SVG-in-OT fonts do.

Posted here by request of @chrissimpkins, Cc @anthrotype

@justvanrossum justvanrossum changed the title SVG fallback is generated by Google Fonts now working? SVG fallback is generated by Google Fonts not working? Jan 14, 2023
@anthrotype
Copy link

I don't know how to reproduce. If I load that URL in Safari 16.2 on macOS 13.1 (the one I currently have available on my local machine) the SVG color glyphs are loading fine. So maybe it is a bug in macOS or Safari that has later been fixed?
I remember we encountered several of such bugs when developing OT-SVG support in nanoemoji:
https://github.com/googlefonts/nanoemoji/issues?q=safari+label%3A%22svg+compat%22

@justvanrossum justvanrossum changed the title SVG fallback is generated by Google Fonts not working? SVG fallback generated by Google Fonts not working? Jan 14, 2023
@ArthurTypearture
Copy link
Collaborator

I have run this through some other tests and found out some things. Browsers are fine, other uses vary.

  • Safari 16.2 works fine with the SVG fallback

  • Firefox 109.0 uses the SVG fallback properly

  • In Illustrator 27.2 ('23) Nabla uses the (non-color) fallback version. Bungee Spice is even more interesting: It is invisible until outlined (see attached). (Nabla remains black when [outlined).]

Screenshot 2023-02-13 at 12 59 59

Screenshot 2023-02-13 at 13 00 04

  • Indesign 18.1 ('23) Showcases Nabla as (non-color) fallback version. Bungee Spice works as intended.

@chrissimpkins
Copy link

chrissimpkins commented Mar 2, 2023

Can I be of help in passing any information along to Apple or Adobe here? Do we feel that there is an issue in the Nabla family that we should address or is this all related to support out there?

@ArthurTypearture
Copy link
Collaborator

I don't think these fault are Nabla centric, but I do find it strange that there is a difference between the Nabla and Bungee Spice fallback in Adobe programs. They were generated the same way , so I would expect similar results (e.g. both visible only upon outline or both non-color fallback).

Also, I note that Bungee Spice in non-COLRv1 mode fallbacks to a masked bitmap, is this correct? The exports from Nabla however are all tidy (except for the missing gradients).

@justvanrossum
Copy link
Owner Author

FYI this is still not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants