jpt / barlow

Barlow: a straight-sided sans-serif superfamily
https://tribby.com/fonts/barlow
SIL Open Font License 1.1
728 stars 39 forks source link

Windows rendering issue: bold 'e' characters #55

Open davidfurlong opened 5 years ago

davidfurlong commented 5 years ago

It appears that the bold version 'e' characters are being rendered incorrectly only on windows. Self hosted woff2. Tried updating to newest version and that didn't resolve it image (4) image (3)

jpt commented 5 years ago

Hi @davidfurlong - thanks for opening the issue, I'll look into it. In which browser and version of Windows is this happening?

davidfurlong commented 5 years ago

Chrome & windows 10 - thanks for looking into this. We've experienced this across multiple devices and you can directly reproduce on deedmob.com on these versions if you'd like

jpt commented 5 years ago

Hi @davidfurlong -- thanks for the additional information, I'm looking into it. I wonder if this fix works as a temporary solution? https://coderwall.com/p/9tecwq/fix-poor-font-rendering-in-chrome-on-windows

davidfurlong commented 5 years ago

Thanks for looking into it

jpt commented 5 years ago

Hi @davidfurlong -- it looks like there was an error with the "virtual masters" for the letter "e" in the source file that I think caused some bad autohinting-related metadata. I've fixed the source and generated new WOFF2 binaries -- can you let me know if the attached files fix your problem? Click to download -- woff2.zip

If this works I'll go ahead and push out a new version of Barlow. Thanks again for opening the issue.

davidfurlong commented 5 years ago

hey @jpt I appreciate you looking into this and finding a possible resolution. I'll be honest, we decided to switch out barlow for another font due to this issue and I don't have access directly to a windows environment -- therefore its prohibitively time consuming for me to now try to see if the above font download fixed the issue. I hope you can find another reproduction environment and I'm sorry to drop this on you

jpt commented 5 years ago

@davidfurlong -- no worries at all, I appreciate bug report! I'll spin up a VM to give it a proper evaluation.

briandipert commented 5 years ago

I'm having similar issues but it is also effecting the capital "E". This is occurring in IE11, Firefox and Chrome on Windows. I tried your new WOFF2 binaries and the issue is still occurring.

image

jpt commented 5 years ago

Thanks @briandipert -- can you give these a try? Also, can you let me know if WOFF (not WOFF2) files have the same problem?

Barlow-New-WOFF2.zip

briandipert commented 5 years ago

These WOFF2 files fixed the issues for me!

On the WOFF files, the Barlow Regular font does not appear to have the issue but the Barlow Condensed Regular font does it (see image below) image

jpt commented 5 years ago

@briandipert thanks so much for the report, you've helped me identify the problem: the latest version of Barlow's WOFF and WOFF2 files are using OpenType outlines instead of TrueType outlines, so ttfAutoHint is not being applied / Windows compatibility has suffered. I'll get a new version up shortly. Thanks again for the help!

Sopamo commented 4 years ago

We have the same issue with the WOFF and WOFF2 files and can replicate it on OSX and Linux (in Chrome):

image

For us this also only happens with the bold style.

naeon commented 4 years ago

@jpt Could you give an estimate on when this issue might be fixed? Thank you!

briandipert commented 4 years ago

@jpt do you have a TTF file of the latest version of Barlow?

jpt commented 2 years ago

Hinting has been updated in the source, I will generate new TTF binaries soon: https://github.com/jpt/barlow/tree/1.5

jpt commented 2 years ago

new TTF files can be found here: https://github.com/jpt/barlow/tree/1.5/fonts/ttf I will merge them into the main branch once I've finished testing

agusmba commented 2 years ago

I've tried to test the TTF files on http://www.cyreal.org/Font-Testing-Page/ (drag-n-drop) but they are not loading correctly. The OTF versions seem to load ok. I don't know if its Cyreal's page fault, or something in the TTF is strange. Previous Barlow TTF versions load correctly in that page. Windows preview seems to show the new TTF files ok also.

Another testing page: http://webfont-test.com/ is also not working on the new TTFs.

jpt commented 2 years ago

Looking into the TTFs, thanks for letting me know

jpt commented 2 years ago

Hi @agusmba — can you give the latest TTF files here a try? I think it will fix the issue. Thanks all in this thread for reporting Barlow1.5-RC1.zip

agusmba commented 2 years ago

Hi @agusmba — can you give the latest TTF files here a try? I think it will fix the issue. Thanks all in this thread for reporting Barlow1.5-RC1.zip

Will do. I'll edit this comment with my results. Thanks!

UPDATE The new TTF files load correctly. 👍 However doing a quick comparison with version 1.422, I see some strange artifacts:

image Notice the uneven characters at size 18 compared with v1.422

Using the testing page I used before, there seem to be some antialiasing not working properly: image

compared to version 1.422 which looks better regarding aliasing (sorry if this is not the right term): image

agusmba commented 2 years ago

The OTF is a bit better than the TTF, but still has some quirks: image