-
Notifications
You must be signed in to change notification settings - Fork 58
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
Hebrew diacritical marks offset in Safari and Edge #966
Comments
@MikeTschudi this is either a problem with the safari rendering engine, or how we're declaring the unicode range for the hebrew font. I'll look into it and see if I can figure out where this is breaking down. |
@paulcpederson, if I use the debugger to remove "Avenir Next <W01,W00,>", the next font family is Avenir, and it displays correctly in both browsers. |
@MikeTschudi are you using this on a page with the JSAPI? |
Are you on a Mac/do you have Avenir installed on your system? Most likely when you remove the fonts from the font stack it's just falling back to a copy of Avenir which you have on your system. Users that don't have that font (windows users, android, linux, etc) won't see the correct font at all in that scenario. I am trying a couple things locally and hopefully I'll figure out the issue. |
Oops. Safari test is on a Mac; Edge test is on Windows 10. |
@paulcpederson --no JSAPI for test page (copied below); JSAPI 4.8 + calcite-web + globalNav for webapp where it's also visible.
|
thanks @MikeTschudi , that is very helpful |
@paulcpederson The test program is hosted at http://localgovtemplates2.esri.com/support/fonts/he.html |
@MikeTschudi I figured this out: when exporting from monotype, OpenType features must be enabled so that these work as expected. Not totally sure why this only affected Safari, I guess chrome's rendering engine is slightly more capable of figuring it out even when the OpenType stuff isn't there. I've exported the hebrew font files out again, and will let you know once they make their way to the CDN. |
@paulcpederson , thanks for the update. Note that Edge was affected, too. |
new release v1.0.3 that fixes this issue in Edge + Safari |
Started with the Quickstart, changed the html tag to
![image](https://user-images.githubusercontent.com/2125181/43472606-b36eaad0-94a2-11e8-827f-61fd033377f8.png)
<html lang="he" dir="rtl">
, and added the text "לְדַפדֵף הפתרונות שלי עֶזרָה הֲגָנָה" to the page content. In Safari & Edge, the diacritical marks are offset to the left:Safari 11.1.2 on top; Chrome 68 on bottom; Edge offset like Safari; FF 61 & IE 11 OK. Sample website: http://localgovtemplates2.esri.com/support/fonts/he.html
Thanks to @akudinova477, who discovered this.
The text was updated successfully, but these errors were encountered: