-
Notifications
You must be signed in to change notification settings - Fork 162
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
Missing a non-breaking hyphen #73
Comments
I see this bug is already closed – if you still need to support the code point U+2011 NON-BREAKING HYPHEN, it could be added quite easily by amending this line: The hyphen already is triple-encoded, to support
Just curious – which environment are you missing the non-breaking hyphen in? |
I re-read the original report and you indeed mentioned where you find that to be an issue. Can you point me to the subsetter you are using? Perhaps the rules within are a bit too strict. |
Thanks @frankrolf. I did close the issue realizing that it might not be related to your font but the subsetter. I’m using it with Netlify Plugin Subset that from my understanding uses subfont. Cheers! |
@frankrolf just noticed that I was using the non-breaking hyphen from Toptal’s page that has the unicode U+02011. That probably explains the issue. |
The subsetter in subfont is python fonttools |
I'd also appreciate U+2011 being encoded, please. The non-breaking-ness makes it a bit annoying to substitute. I've also verified that it's not present even in the original, non-subsetted WOFF2 files (or, at least, if it is, then Firefox isn't using it for some reason). |
The non-breaking hyphen is present in Source Serif, and has been encoded since Jun 28, 2018. This means it should be found in version 2.007 and upward. Thanks! |
Huh - looks like it's a Firefox bug where it won't use a non-breaking hyphen from a webfont, or something like that! Thanks for the patience. |
No, sorry, further investigation has revealed that this is a Source Serif Pro problem: that commit doesn't add U+2011, which is the non-breaking hyphen and the codepoint I would like to see mapped. (The does had U+2010, which is a normal breaking hyphen, though.) I was misled by Chromium having a clever fallback and apparently working - it looks like it shows U+2010 or U+002D if U+2011 isn't present, which makes sense. |
Got it now, sorry. |
Hi everyone,
Thanks for creating this lovely font. I am using a subfont script for my website so I ship the characters I use. I noticed that script is flagging that a non-breaking hyphen is missing from the fonts.
If it is, could you add to your to-do list when you have chance, please?
Thanks,
Dave.
The text was updated successfully, but these errors were encountered: