monoid icon indicating copy to clipboard operation
monoid copied to clipboard

Alignemnt issues with RStudio Console

Open DasHammett opened this issue 10 years ago • 6 comments

captura de pantalla 2015-08-12 a les 08 59 22 Here you can see a screenshot of the output of RStudio console when printing dataframes with text on them. Rows are misaligned.

This issue only happens with RStudio, if I copy-paste this into another editor, alignment is just fine. Similarly, if I use any other mono font in RStudio, alignment is fine in the console. Another issue is that when I am typing, the cursor eats half of the letter I have just written.

EDIT: Added screenshot to comment and deleted link

DasHammett avatar Aug 12 '15 07:08 DasHammett

Please just drag the screenshot into issue comment

larsenwork avatar Aug 12 '15 08:08 larsenwork

Updated original comment

DasHammett avatar Aug 12 '15 09:08 DasHammett

Cheers, sorry for the late reply (been very very busy) - not sure what's causing this. Does this also happen in the "ligatures: off" version?

larsenwork avatar Aug 26 '15 13:08 larsenwork

Hi!

Thanks for the reply, and appologies for the late reply. I got married recently and now I have returned to my daily routine.

Yes, issue happens on RStudio for Mac in both Yosemite and El Capitan for both fonts (with and without ligatures).

I have RStudio on Windows 7 at work and interestingly enough, the misalignment is gone in RStudio, but the ligatures do not work either.

I have also noticed that I need to use a smaller point size to have the same font "size", ie, Monoid at 9pt will look roughly the same as other mono fonts at 11pt or 12pt.

Thank you very much

Kind regards,

DasHammett avatar Sep 30 '15 09:09 DasHammett

@DasHammett congratulations on the marriage

I'm not sure what to do about the alignment bug as it seams to be editor specific. The fontsize is deliberately bigger because I needed to hit numbers for pt and px in my preferred font size that was in a 4:3 ratio for it to be sharp on both mac and pc.

larsenwork avatar Dec 10 '15 20:12 larsenwork

FWIW, I see a similar issue in WingIDE (wingide.com), which I know is using the Qt graphics library. Same text, same size, etc. doesn't have a problem in gvim, or emacs.

alflanagan avatar Apr 13 '16 19:04 alflanagan