-
Notifications
You must be signed in to change notification settings - Fork 42
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
Not working in Firefox #65
Comments
Hi again Oliver! I can duplicate this issue...it seems as if OpenType Sanitiser is not the biggest fan of the most recent version of BungeeColor.
I’m not sure why this used to work and no longer does. I’ve started a branch with a previous version of Bungee that Firefox seems to think is okay. But Photoshop doesn’t seem to like that one, so I’m not gonna merge it yet. I’ll leave this issue open while I try to sort out the root cause, and in the mean time you can go to the color-font-ots branch and try those files. |
It looks like something went wrong while optimising the fonts. I still have to dive deeper into what exactly mangled the GSUB table. In the mean time I checked out the |
Yup. 😭 I was hoping to add some variants to this à la Trajan Color Concepts, so I wonder if it makes sense to try generating a fresh version. I am under a few deadlines this month but will try to give it a shot! |
I am pretty sure this issue is obsolete with the recent releases, but it would be great if someone could check. |
Newest version loads without problem in Firefox 127.0.2 on a fresh Mac (BungeeSpice-Regular.ttf and BungeeTint-Regular.ttf). They're black-and-white in Photoshop, but they do load. |
What color support does Photoshop claim to have?
|
As far as I know, they only support Adobe's OT-in-SVG, no COLR at all. So the SVG fallback doesn't seem to be triggered for BungeeTint-Regular in Photoshop! |
BungeeTint does not contain an SVG fallback, so I'm afraid that one is expected to not work in Photoshop. But BungeeSpice does, and you say that's also not working, right? |
Sorry yeah, both are black and white in Photoshop! |
I opened an issue on the nanoemoji repo, of which the "maximum_color" tool is a part, which builds the SVG fallback: googlefonts/nanoemoji#469 |
I don't have a ton of experience with color fonts but recently I've had to dive in a bit and from what I can tell, Adobe apps don't like it when the CPAL table has more than one color palette. I removed the last 2 palettes from Bungee Spice and re-ran maximum_color and the resulting font shows properly as a color font in InDesign, so I think that's likely where the issue lies here. I've attached it in case you want to inspect it. |
Thanks so much @jmsole!! I will think about how to address this...I’d prefer to avoid removing functionality from a valid CPAL table just because Adobe apps don’t support it correctly, but since other desktop apps don’t support multiple palettes anyway, maybe it’s worth having an alt version that will at least work in Adobe apps! |
Happy to help. Color fonts seem to be a bit of a crazy thing, I had no idea support for color fonts was such a mess. There's still a chance the issue with Adobe apps has to do with nanoemoji not dealing well with multiple palettes, but all the SVG fonts that worked on Adobe apps that I checked had either a single palette on CPAL or straight up no CPAL at all (because they relied only on an SVG table). |
I am running Firefox Nightly (the newest version of the browser). Bungee is black and white in Chrome Canary and Safari Technology Preview (as expected). Unexpectedly, in Firefox Nightly Bungee isn't appearing at all, instead I get Times New Roman.
The font is generating some errors in the console:
downloadable font: Layout: DFLT script doesn't satisfy the spec. DefaultLangSys is NULL (font-family: "bungee" style:normal weight:normal stretch:normal src index:0) source: file:///Users/owo3732/rand/animate/BungeeColor-Regular_svg.woff unknown:11:15
downloadable font: Layout: Failed to parse script table 0 (font-family: "bungee" style:normal weight:normal stretch:normal src index:0) source: file:///Users/owo3732/rand/animate/BungeeColor-Regular_svg.woff unknown:11:15
downloadable font: GSUB: Failed to parse script list table (font-family: "bungee" style:normal weight:normal stretch:normal src index:0) source: file:///Users/owo3732/rand/animate/BungeeColor-Regular_svg.woff unknown:11:15
downloadable font: GSUB: Failed to parse table (font-family: "bungee" style:normal weight:normal stretch:normal src index:0) source: file:///Users/owo3732/rand/animate/BungeeColor-Regular_svg.woff unknown:11:15
downloadable font: rejected by sanitizer (font-family: "bungee" style:normal weight:normal stretch:normal src index:0) source: file:///Users/owo3732/rand/animate/BungeeColor-Regular_svg.woff
Love the font btw!
The text was updated successfully, but these errors were encountered: