First off let me say Heroku is awesome.  Fiddling with rails without
having to install all the software is just too convenient.

On to my issue.  The cursor placement in the editor gets progressively
worse the farther right I go in the line I'm working on.  At first I
just assumed this was a problem with FF3 since it was the same when
FF3 was beta and not supported in Heroku.  However the other day I
just happened to pull up Heroku on my mac and noticed that the cursor
displayed properly.  Great, they fixed it.  Or so I thought.
Yesterday I pull up Heroku on my windows box at work.  Cursor wonky
again.  So I started digging.  After finding how cursor position is
determined by the code, I checked the editor canvas.  The default
monospace font in FF3 is not divisible into an even number of pixels
per character.  I changed the stylesheet so the editor showed up in
courier and it is evenly divisible, however even setting courier as
the default monospaced font in FF didn't fix it in Heroku.

Inserting courier as the next font in the sytlesheet past monaco would
fix the cursor for windows users.  It's not pretty by any means but it
would be consistent.  One of the other monospaced fonts on windows
might be better looking and evenly divisible as well, I didn't check.
Or perhaps there could be a check in the code that sets up the
character widths to make sure the font is evenly divisible into
pixels.  If it isn't perhaps provide a link to download monaco for
windows, or at least inform the user that the cursor is going to be
off and maybe they should go find monaco and install it.

Thanks for the awesome product!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to