| Summary: | Text cut-off under some constellations | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ivan Furnadjiev <ivan> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P2 | CC: | nmussin | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 1.5 M7 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ivan Furnadjiev
Created attachment 213002 [details]
Text width in Firefox - 160px
Created attachment 213003 [details]
Text width in Chrome - 162px
Firefox has that feature that reduces the spacing between two chars if its still not overlapping. As a result the text size measurement is 2px smaller if the measurement is done in Firefox. As a result the text in Chrome is cut-off. In this particular case Firefox reduces the spacing between first letter "T" and next "a". In Chrome we still have 2px spacing. Fixed by changing the Probe#DEFAULT_PROBE_STRING to have a sequence like "AzBy...YbZa". With this sequence, font probing produces different results in Firefox and Chrome and strings are measured again in case of a difference. *** Bug 377936 has been marked as a duplicate of this bug. *** |