Closed
Bug 529688
Opened 15 years ago
Closed 15 years ago
Character width is measured wrong in Linux
Categories
(Skywriter Graveyard :: Editor, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
0.5.1
People
(Reporter: pcwalton, Assigned: pcwalton)
Details
The measured character width is way too high in Linux, causing the cursor to be out of sync with the text and making the editor unusable.
Assignee | ||
Comment 1•15 years ago
|
||
The problem was that charWidth didn't specify the font before measuring it. It just so happened that Linux usually has different font widths for the gutter and the editor. Fixed by adding a getCharacterWidth() method to the canvas mixin that requires the font to be specified. [needs-pull] Changeset f9dd8928a9c9 @ http://bitbucket.org/pcwalton/bespinclient/
Whiteboard: needs-pull
Comment 2•15 years ago
|
||
This is on tip.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.5.1
Comment 3•14 years ago
|
||
Since this bug has been resolved, I am clearing the whiteboard and removing the 'need-pull' tag. If you feel this was in error, feel free to put it back. (However, please provide an explanation for doing so.) [This was a mass comment. To filter bugmail, use the term 'bespin-remove-needs-pull'.]
Whiteboard: needs-pull
You need to log in
before you can comment on or make changes to this bug.
Description
•