Bram Stein
Bram Stein
Updated the wptagent with a new extractor for cmap, OT features, and color fonts: https://github.com/WPO-Foundation/wptagent/pull/522
@siakaramalegos Thanks for trying to keep things on track! I'm still trying to catch up. The queries have been merged and I manually saved the query results locally. I'll add...
Do you have the @font-face rules in your CSS?
What kind of error message would you like to see in this case? I haven't been very satisfied with the rejection messages, so any input is welcome.
There are a couple of other cases that cause the font to fail loading (network, timeout, etc.), but it's hard to distinguish between them from JavaScript. I'll have a look...
Hmm, this looks specific to your project or transpiler. If you have a reproducible test case I can have a look.
I checked out react-boilerplate and I can't reproduce this. It works out of the box (the boilerplate already includes Font Face Observer).
@MVSTEJA Can you try upgrading to the 2.x branch of Font Face Observer? The only major API change is that the `check` method has been renamed to `load` (line 20...
@renestalder Yea, that might be a good idea. I was waiting for browser support to catch up (re: modules), and then I'll have a look at it.
Yea, this is a known problem. The Web Font Loader has the same issue. I think the only work-around is `font-synthesis` or renaming the font while loading it and renaming...