Skip to content
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

Fix MIME type for TrueType fonts in EPUBs #6464

Merged
merged 1 commit into from Jun 17, 2020
Merged

Fix MIME type for TrueType fonts in EPUBs #6464

merged 1 commit into from Jun 17, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jun 15, 2020

Heyo. Per the EPUB 3.2 spec, application/x-font-truetype is no longer a valid identifier for TrueType fonts. This fixes warnings when validating pandoc-generated EPUBs using epubcheck.

References plfa/plfa.github.io#479.
References #1761.

Per the EPUB 3.2 spec, "application/x-font-truetype" is no longer a
valid identifier for TrueType (.ttf) fonts [1]. This fixes warnings when
validating pandoc-generated EPUBs using `epubcheck` [2].

References [3].

[1]: https://www.w3.org/publishing/epub3/epub-spec.html#sec-core-media-types
[2]: https://github.com/w3c/epubcheck
@jgm jgm merged commit bf95282 into jgm:master Jun 17, 2020
@jgm
Copy link
Owner

jgm commented Jun 17, 2020

thanks!

@ghost ghost deleted the mime branch June 17, 2020 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant