-
-
Notifications
You must be signed in to change notification settings - Fork 3
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 on Mobile #1
Comments
This could actually be related to #7 |
I notice that the ש with a dot struggles to display correctly. This must be a unicode + glyphs in the webfont issue. |
It looks as though a good avenue for investigation is Once content is loaded, something like if (!document.fonts.check("12px SBLBiblit") {
let fontFace = new FontFace("SBLBiblit", `url('SBLBiblit.woff2') format('woff2'),
url('SBLBiblit.woff') format('woff')`);
fontFace.load().then((loadedFontFace) => {
document.fonts.add(loadedFontFace);
// not sure we need this line...
document.getElementById("target").style.fontFamily = "SBLBiblit";
})
} |
Just remembered that theMarker knows what fonts you have...
|
Also, there is dynamic loading: https://github.com/typekit/webfontloader I'm thinking we just force SBL though... |
For some reason we don't get complete coverage on Greek text with "SBL Biblit" on mobile.
The text was updated successfully, but these errors were encountered: