Closed Bug 1136957 Opened 9 years ago Closed 9 years ago

SWF #1987 and #477 - Embedded fonts getting discarded due to bad max_zones values in maxp table

Categories

(Firefox Graveyard :: Shumway, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tschneider, Assigned: tschneider)

References

()

Details

The font embedded in that SWF gets discarded due to a malformed maxp table, leading to the Canvas API not drawing some text at all.
Blocks: shumway-m3
Summary: Embeded fonts getting discarded due to bad max_zones values in maxp table → SWF #1987 - Embedded fonts getting discarded due to bad max_zones values in maxp table
Assignee: nobody → schneider
Definitely needs to be fixed before launch, but not before enabling in Nightly.
Blocks: shumway-m4
No longer blocks: shumway-m3
SWF #477 is another example:
http://swf.codeazur.com.br/?tag=#87c6a8b534960b431bbacfb5d258f9958cb641cbce2f7d848dcc5ee2196606c5

downloadable font: maxp: bad max_zones: 0 (font-family: "swffont20" style:normal weight:normal stretch:normal src index:0)
Summary: SWF #1987 - Embedded fonts getting discarded due to bad max_zones values in maxp table → SWF #1987 and #477 - Embedded fonts getting discarded due to bad max_zones values in maxp table
Turned out that this was related to clipping, not font issues. Anyway, the irritating errors thrown by the font sanitizer will be fixed in https://github.com/mozilla/shumway/pull/2126 whereas the actual issue here is addressed in https://github.com/mozilla/shumway/pull/2125.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.