Closed Bug 616281 Opened 14 years ago Closed 14 years ago

fix the wordwrap-02 reftest to be independent of platform fonts

Categories

(Core :: Layout: Text and Fonts, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

The reftest text/wordwrap-02, which is intended to test the shaping of Arabic script across line breaks, fails on most platforms because it requires the presence of a monospaced Arabic font, which is not usually available. We can modify the test to use the DejaVuSansMono font that we have in the reftest/fonts directory, and thus allow it to work on all platforms regardless of the installed fonts. To do this, we also need to change the reference file to use the pre-shaped "compatibility" Arabic characters at line edges, because DejaVuSansMono does not actually support the ZWJ character so we can't use that to "force" connecting forms.
Attachment #494823 - Flags: review?(roc)
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.

Attachment

General

Created:
Updated:
Size: