Closed
Bug 600821
Opened 14 years ago
Closed 14 years ago
font used for IVS reftest is rejected by the sanitizer
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(1 file)
2.98 KB,
patch
|
jtd
:
review+
|
Details | Diff | Splinter Review |
The downloadable font "gw432047.ttf" used in layout/reftests/font-face/ivs-1.html (for bug 552460) is rejected by the OTS sanitizer library, which will cause this reftest to fail (unless it happens to fall back to a platform font that supports the IVS codes being used) once the sanitizer is enabled.
We need to identify the anomaly in the font that is causing it to be rejected, and fix this so that we can resume testing IVS support.
Assignee | ||
Updated•14 years ago
|
Blocks: CVE-2010-3768
Assignee | ||
Comment 1•14 years ago
|
||
This font is rejected because the final table in the font is not padded to a 4-byte boundary.
(The OpenType specification is not entirely explicit about whether such padding is required, though there is at least an implication that it should be present. There have been some tools in the past that generated unpadded fonts, but current tools and reading of the spec seem to be converging on the use of padding in all cases.)
Assignee | ||
Comment 2•14 years ago
|
||
This simply adds the two NUL bytes required for proper padding at the end of the file; the sanitizer is then happy to accept the font.
Assignee: nobody → jfkthame
Attachment #480274 -
Flags: review?(jdaggett)
Updated•14 years ago
|
Attachment #480274 -
Flags: review?(jdaggett) → review+
Assignee | ||
Comment 3•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•