-
Notifications
You must be signed in to change notification settings - Fork 141
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
Correct the capitalisation of the png
tag
#740
Conversation
See googlefonts/fontations#1167 (comment) Co-Authored-By: Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com>
@@ -162,7 +162,7 @@ impl<'a> BitmapStrike<'a> { | |||
match &self.0 { | |||
StrikeKind::Sbix(sbix, metrics) => { | |||
let glyph = sbix.glyph_data(glyph_id).ok()??; | |||
if glyph.graphic_type() != Tag::new(b"PNG ") { | |||
if glyph.graphic_type() != Tag::new(b"png ") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to note some provenance for this tag. Perhaps https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6sbix.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The canonical form of this code doesn't live here; I've intentionally touched it as little as possible. Instead, it can be found at https://github.com/googlefonts/fontations/blob/skrifa-bitmaps/skrifa/src/bitmap.rs.
The place to record this feedback is probably in the first linked issue in the PR.
(I think we need a lot more provenance links in general!) |
This needs a changelog entry. |
If I would evaluate the CHANGELOG before the next release, I would reach the decision that linebender#740 doesn't need a changelog entry However, @waywardmonkeys believes that it does, so the only viable way for this to end up in the changelog is to do it now
If I would evaluate the CHANGELOG before the next release, I would reach the decision that linebender#740 doesn't need a changelog entry However, @waywardmonkeys believes that it does, so the only viable way for this to end up in the changelog is to do it now
If I would evaluate the CHANGELOG before the next release, I would reach the decision that #740 doesn't need a changelog entry However, @waywardmonkeys believes that it does, so the only viable way for this to end up in the changelog is to do it now
See googlefonts/fontations#1167 (comment)
Should make linebender/xilem#420 work.