You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this project, it's great. I'm using this in a somewhat special scenario- embedded in ebook EPUB3 files. (works great in this type of application by the way).
There is one exception that comes up when finalizing the epub files, where the CSS font-family name does not match the internal font file name, and that this may cause some issues with some e-reader devices. (I have not encountered any issue myself, this is just a warning that comes up)
inside the font file, the font name is 'mana' (all lowercase).
Seems like an easy fix, to make these the same name in future releases. And will avoid any potential issue in for this type of use case in the future.
The text was updated successfully, but these errors were encountered:
Ecredes
changed the title
Internal font file name doesnt not equal css font-famly name
Internal font file name doesnt not equal css font-family name
Feb 2, 2022
Thanks for this project, it's great. I'm using this in a somewhat special scenario- embedded in ebook EPUB3 files. (works great in this type of application by the way).
There is one exception that comes up when finalizing the epub files, where the CSS font-family name does not match the internal font file name, and that this may cause some issues with some e-reader devices. (I have not encountered any issue myself, this is just a warning that comes up)
Example:
@font-face {
src: url(../fonts/mana.ttf);
font-family: "Mana";
font-weight: normal;
font-style: normal;
}
inside the font file, the font name is 'mana' (all lowercase).
Seems like an easy fix, to make these the same name in future releases. And will avoid any potential issue in for this type of use case in the future.
The text was updated successfully, but these errors were encountered: