Wondering if anyone has seen this warning. I don't have a codepen because I haven't figured out a way to replicate the process I'm using. I'm loading local fonts using fontkit and setting them up to be used in GSAP text animations. I don't think this is a GSAP bug, I think it's a Chrome (Chromium) bug - but, they all reference line 150 from CSSPlugin.js.
It's not preventing the font from being loaded, it just doesn't show up correctly - looks like whatever the fallback font is.
Here's what I'm seeing...
Failed to decode downloaded font: file:///Library/Fonts/AppleMyungjo.ttf
OTS parsing error: OS/2: missing required table
Failed to decode downloaded font: file:///Library/Fonts/Yu%20Gothic%20Bold.otf
OTS parsing error: CFF: Failed validating charstring set 0
Failed to decode downloaded font: file:///Library/Fonts/Yu%20Gothic%20Medium.otf
OTS parsing error: CFF: Failed validating charstring set 0
Failed to decode downloaded font: file:///Library/Fonts/YuppySC-Regular.otf
OTS parsing error: bad range shift
Failed to decode downloaded font: file:///Library/Fonts/YuppyTC-Regular.otf
OTS parsing error: bad range shift
Here's a screenshot from inspector...
All I really want to do is figure out a way to catch these warnings and filter out the fonts that might be problematic. Fonts are being pulling from local font folders. I've been able to filter out all other invalid or otherwise unworkable fonts.
Any thoughts?