robmcmullen / peppy

NO LONGER MAINTAINED
http://peppy.flipturn.org/
GNU General Public License v2.0
14 stars 7 forks source link

Inconsolata font metric fubar #553

Open robmcmullen opened 12 years ago

robmcmullen commented 12 years ago

[Trac time 20081016 155906Z] Platform: F9, wxGTK 2.8.7, Python 2.5.1

Inconsolata is my preferred monospace font (a ttf available as "yum install inconsolata-fonts"), but the 80-column hint lies at circa column 71 with this slightly wider font.

(At least I think that vertical line is supposed to hint at an appropriate line length.)

robmcmullen commented 12 years ago

[Trac time 20081020 231411Z] I just installed Inconsolata and it seems to be related to the bold text. It seems that the font uses different font metrics for bold. If I open a python file and input 80 characters using numbers, i.e.

01234567890123456789012345678901234567890123456789012345678901234567890123456789

the default font highlighting uses regular weight and fits within the line. But if I input 80 characters that get highlighted with a bold font:

from from from from from from from from from from from from from from from from 

it extends past the vertical line.

Does your installation show the same effect?

BTW, it's not obvious in the docs, but the vertical line is controlled in the preferences. It appears at the column listed in the edge_column setting (in the Preferences dialog, Mode tab, FundamentalMode entry).