Issue 545924 in chromium: Failed to decode downloaded font: (proprietary_font.woff) OTS parsing error: invalid version tag

2,178 views
Skip to first unread message

chro...@googlecode.com

unread,
Oct 21, 2015, 7:38:05 AM10/21/15
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Pri-2 Via-Wizard Type-Bug-Regression OS-Windows

New issue 545924 by johnson....@gmail.com: Failed to decode downloaded
font: (proprietary_font.woff) OTS parsing error: invalid version tag
https://code.google.com/p/chromium/issues/detail?id=545924

UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/46.0.2490.71 Safari/537.36

Steps to reproduce the problem:
1. Access index page on chrome browser

What is the expected behavior?
It should load our proprietary font.

What went wrong?
This latest version 46.0.2490.71 doesn't seem to load the font. It was
working fine on other versions of Chrome browser including version 45.
Attached the screen shot.

Log:
Failed to decode downloaded font:
http://192.168.0.1/assets/css/fonts/NOWTVText_W_Rg.woff
OTS parsing error: invalid version tag
Failed to decode downloaded font:
http://192.168.0.1/assets/css/fonts/NOWTVText_W_Rg.ttf
OTS parsing error: invalid version tag
Failed to decode downloaded font:
http://192.168.0.1/assets/css/fonts/NOWTVText_W_Lt.woff
OTS parsing error: invalid version tag
Failed to decode downloaded font:
http://192.168.0.1/assets/css/fonts/NOWTVText_W_Lt.ttf
OTS parsing error: invalid version tag

Did this work before? Yes Worked on version 45 and all other older versions

Chrome version: 46.0.2490.71 Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 19.0 r0

It definitely looks like a regression.

Attachments:
font_error.png 241 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Oct 21, 2015, 7:40:04 AM10/21/15
to chromi...@chromium.org

Comment #1 on issue 545924 by johnson....@gmail.com: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

Browser defaults back to Times New Roman font.

chro...@googlecode.com

unread,
Oct 21, 2015, 10:19:27 PM10/21/15
to chromi...@chromium.org
Updates:
Labels: Cr-Blink-WebFonts

Comment #2 on issue 545924 by tk...@chromium.org: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Oct 22, 2015, 5:31:55 AM10/22/15
to chromi...@chromium.org

Comment #3 on issue 545924 by ovidiu....@gmail.com: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

Failed to decode downloaded font:
data:font-woff;base64,d09GRgABAAAAADT0ABMAAAAAVGgAAQAAAAAAAAAAAAAAAAAAAAAAA…AjZJwbhshoYRggw4nhSBQvEtCImJJ0xT+1fUm7klCvL2M8kq7+VJDJDxV5T24AAAFVQS0vAAA=
localhost/:1 OTS parsing error: incorrect file size in WOFF header
localhost/:1 Failed to decode downloaded font:
data:font-woff;base64,d09GRgABAAAAADUMABMAAAAAVJAAAQAAAAAAAAAAAAAAAAAAAAAAA…H0wdZc0wP9iaYLeiPNJugONMPPrd3zfytCIDxrxmC01OyA8fhHSYF4ARuUY9UAAAFVQS0tAAA=
localhost/:1 OTS parsing error: incorrect file size in WOFF header
localhost/:1 Failed to decode downloaded font:
data:font-woff;base64,d09GRgABAAAAADT0ABMAAAAAVGgAAQAAAAAAAAAAAAAAAAAAAAAAA…AjZJwbhshoYRggw4nhSBQvEtCImJJ0xT+1fUm7klCvL2M8kq7+VJDJDxV5T24AAAFVQS0vAAA=
localhost/:1 OTS parsing error: incorrect file size in WOFF header
localhost/:1 Failed to decode downloaded font:
data:font-woff;base64,d09GRgABAAAAADUMABMAAAAAVJAAAQAAAAAAAAAAAAAAAAAAAAAAA…H0wdZc0wP9iaYLeiPNJugONMPPrd3zfytCIDxrxmC01OyA8fhHSYF4ARuUY9UAAAFVQS0tAAA=
localhost/:1 OTS parsing error: incorrect file size in WOFF header

Getting this with Version 46.0.2490.71 m

Issue for me seems to be with loading font-awesome. Was working a few days
ago, no problems on IE,Firefox,Safari.

chro...@googlecode.com

unread,
Oct 22, 2015, 6:29:26 AM10/22/15
to chromi...@chromium.org

Comment #4 on issue 545924 by johnson....@gmail.com: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

Has anyone tested this on Linux platform?

chro...@googlecode.com

unread,
Oct 22, 2015, 7:01:18 AM10/22/15
to chromi...@chromium.org

Comment #5 on issue 545924 by spmam...@gmail.com: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

It seems all other browsers working as expected but Chrome shows the errors
like that. We had done prototype very long back, it's looking different now
in chrome.

chro...@googlecode.com

unread,
Oct 27, 2015, 1:59:09 AM10/27/15
to chromi...@chromium.org
Updates:
Status: Assigned
Owner: ksak...@chromium.org

Comment #6 on issue 545924 by toyo...@chromium.org: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

Tentatively assigned to Sakamoto-san. We need to investigate this with the
issue 527165. I'm not sure these should be merged for now, but could be
caused by the same root.

chro...@googlecode.com

unread,
Oct 27, 2015, 2:27:12 AM10/27/15
to chromi...@chromium.org
Updates:
Status: Unconfirmed
Labels: Needs-Feedback

Comment #7 on issue 545924 by ksak...@chromium.org: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

Could you provide a page that reproduces the issue, or upload the font file
(if the font license allows)?

chro...@googlecode.com

unread,
Oct 28, 2015, 4:21:15 AM10/28/15
to chromi...@chromium.org

Comment #9 on issue 545924 by toyo...@chromium.org: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

goligolan: Please provide an example to reproduce your case. The root cause
can be different font by font.

chro...@googlecode.com

unread,
Oct 30, 2015, 7:21:17 AM10/30/15
to chromi...@chromium.org

Comment #11 on issue 545924 by johnson....@gmail.com: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

I've done the same thing in @font-face class for ttf
Eg:
@font-face {
font-family: 'NOWTVMedium';
src: url('fonts/NOWTVText_W_Lt.eot');
url(data:font/ttf;charset=utf-8;base64,AAEAAAARAQAABAAQR1BPU+.........);
font-weight: normal;
font-style: normal;
}

This solution works but the downside of it is the CSS file grows and
additional overhead in data transfer.

This was never needed in the previous version of Chrome.

Some new functionality might have broken this.

chro...@googlecode.com

unread,
Nov 2, 2015, 1:06:47 PM11/2/15
to chromi...@chromium.org

Comment #12 on issue 545924 by gastonka...@gmail.com: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

the best solution was the silver by #10 Jeff.C.A...@gmail.com thank you

chro...@googlecode.com

unread,
Nov 17, 2015, 4:27:29 AM11/17/15
to chromi...@chromium.org
Updates:
Status: WontFix

Comment #13 on issue 545924 by toyo...@chromium.org: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

Let me close this as WontFix because of lack of enough user's feedback.
Please file a new bug case by case if you still have a trouble and could
provide a real example to reproduce your issue.

Actually, the original issue and #3 could happen because of different
roots. But we could not investigate without a real example. I can not say
anything about #8 and #11 without real data. It could be the same with #3,
but could be another new problem.

'application/font-woff' should be the recommended mime type according to
the spec, http://www.w3.org/TR/WOFF/#appendix-b. But I think this should
not make any difference. Actually, Blink has a test to load a WebFont
encoded with data URL with mime type font/ttf. I think it isn't recommended
type, but works.

chro...@googlecode.com

unread,
Feb 15, 2016, 3:09:47 AM2/15/16
to chromi...@chromium.org

Comment #14 on issue 545924 by awilum....@gmail.com: Failed to decode
downloaded font: (proprietary_font.woff) OTS parsing error: invalid version
tag
https://code.google.com/p/chromium/issues/detail?id=545924

The same issue I have

chro...@googlecode.com

unread,
Feb 17, 2016, 11:34:43 PM2/17/16
to chromi...@chromium.org

Comment #15 on issue 545924 by realseto...@gmail.com: Failed to decode
Reply all
Reply to author
Forward
0 new messages