Closed Bug 386389 Opened 17 years ago Closed 17 years ago

Space character is the wrong width in Courier, other bitmap fonts?

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dopefishjustin, Assigned: pavlov)

References

()

Details

(Keywords: regression)

Attachments

(2 files)

After the re-fix of bug 324706, bitmap fonts are working on Windows again, but space characters don't seem to be rendered with the correct width in e.g. the Courier sample at the top of attachment 209619 [details]. If you try selecting character cells on different lines you can see that the monospace-ness is broken.

My guess is that some other font is rendering the spaces because the hack-fix for 324706 only covers characters 0x21-0xff (space is 0x20), but I'm no Mozilla developer.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a6pre) Gecko/20070628 Minefield/3.0a6pre ID:2007062805
Flags: blocking1.9?
Keywords: regression
Bug 347646 might be related.
Assignee: nobody → pavlov
Flags: blocking1.9? → blocking1.9+
Attached patch fixSplinter Review
Attachment #276152 - Flags: review?(vladimir)
Comment on attachment 276152 [details] [diff] [review]
fix

whoops, ignore the #define at the top.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: