Bug 64049 - Woff data stream with punctuation spacing fails.
Summary: Woff data stream with punctuation spacing fails.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Minor
Assignee: Nobody
URL: http://code.google.com/p/chromium/iss...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 19:22 PDT by Jordon Bedwell
Modified: 2022-07-12 14:55 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordon Bedwell 2011-07-06 19:22:40 PDT
This is a re-post from Chromium tracker, I was asked to port it here as they believe it's an upstream bug.

Chrome Version: 11.0.696.77
OS Version: Windows 7, Ubuntu Linux, Debian Linux
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5: Failed
  Firefox 4.x: Passed
         IE 9: Passed

Safari test was done with Adobe Browserlab.

What steps will reproduce the problem?
1. Create a base64 data stream of your font and use in @font-face.
2. Use proper punctuation spacing. EXP: [, data] and not [,data]


What is the expected result?
Woff font to show up as embedded.

What happens instead?
I thought I was stupid until I figured it out.

Examples:
Works: @font-face { font-family: museo; src: url('data:application/x-woff;base64,data-here') format('woff'); }
Fails: @font-face { font-family: museo; src: url('data: application/x-woff; base64, data-here') format('woff'); }
Comment 1 Alice Boxhall 2011-07-06 20:18:45 PDT
Could you please provide a test reduction with the appropriate data?
Comment 2 mitz 2011-07-07 11:03:39 PDT
This doesn’t appear to be in any way specific to WOFF or even to CSS. It appears as if "; base64" is parsed differently from ";base64" by the loading code.