-
Notifications
You must be signed in to change notification settings - Fork 272
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
Font load not detected depending on check() test string #17
Comments
Thanks for the report. We've had good results with the default test string I can see why Interstate PI might be troublesome. What unicode code points are those glyphs mapped to? As long as the default fallback for that code point has a very different width it should work. |
I work for Font Bureau, and I haven't been able to find anyone who knows of an official charset listing for these fonts! So I had to pull them out of the fonts themselves. Ignoring punctuation, these are the charsets for Interstate Pi:
You can see what I'm talking about. There's no set of capital letters that is in all four! When I tried "abdef", Interstate Pi One loaded but the other three didn't. Thanks for reminding me about the fallbacks, I had totally forgotten to set those smartly. I'll let you know what I find. |
Let me know how it goes. Interstate Pi does not appear to be on Webtype, so short of buying the typeface it is difficult for me to test :) |
That would be great, thanks! |
I have had better luck with the string "aeiou" — so this is not the end of the world, but I am still curious why missing characters in the font seems to kill it. |
I must not have cleared my cache or something, because the fonts I thought weren't loading now do. So when used as designed, with a test string that is well supported by the font in question, it seems to be reliable. Sorry to bother you. |
I'm having some trouble detecting load of the Interstate Pi fonts from Font Bureau. They have really bizarre character sets with very spotty coverage of the alphabet.
It seems that the load detection is very sensitive to the test string provided to
check()
. If font doesn't contain some of the test chars, its load tends to not get detected. However I've found that even in many "normal" fonts, if you set the string to something like "abdef" many fonts won't be detected with that either.Do you have any recommendations for what kinds of test strings are most effective? I assume a mix of widths and perhaps some kerning pairs would usually be effective.
The text was updated successfully, but these errors were encountered: