Author Topic: Vertical line density  (Read 1240 times)

Offline Andreas

  • Registered User
  • Jr. Member
  • *
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Vertical line density
« on: January 06, 2015, 12:12:55 pm »
Hi Alex,

EditPad Pro and EmEditor display a few more lines in the editor pane than HippoEdit, even if the font, the font size, and the editor pane size are exactly the same. HippoEdit seems to add one or two pixels of empty space between the lines. Would it be possible to turn off that behaviour?

Best regards,
Andreas

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2161
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Vertical line density
« Reply #1 on: January 06, 2015, 09:13:09 pm »
Hi Andreas,

check line spacing settings:
http://wiki.hippoedit.com/options/syntax/display
Maybe Exactly settings will help.

nothing more is there and planned.

BR, Alex.

Offline Andreas

  • Registered User
  • Jr. Member
  • *
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: Vertical line density
« Reply #2 on: January 06, 2015, 11:40:49 pm »
Hi Alex,

I'm using Consolas, 10pt as my coding font. When I set the Line Spacing to "Exactly, 9pt" in HippoEdit, then the descenders of lowercase letters like g, j, p, q, and y will be cut off, which is not acceptable of course. And when I set the Line Spacing to "Exactly, 10pt", then the letters will be displayed correctly (descenders not cut off), but the line spacing will be bigger than in EditPad Pro and EmEditor. So it seems to be impossible in HippoEdit to display as many lines per vertical space as in EditPad Pro or EmEditor. :(

Best regards,
Andreas

Offline Andreas

  • Registered User
  • Jr. Member
  • *
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: Vertical line density
« Reply #3 on: January 12, 2015, 05:31:48 pm »
Hi Alex,

is it possible that the additional space which HippoEdit puts between lines is due to the current line frame? I don't use the current line frame anyway (have set its color to 'transparent', but it still seems to be there, even if it's invisible). Would it help to turn it completely off? In the Wiki, an XML setting "Show Current Line Frame" is mentioned, but it's not clear to me whether this setting actually exists.

Best regards,
Andreas

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2161
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Vertical line density
« Reply #4 on: January 12, 2015, 06:30:39 pm »
Hello Andreas,

line height in HE calculated as font height + 1 px. 1 px added due to bug in Courier New font definition when underscore is not visible. And also to avoid hiding of the text part by line frame and different kinds of the style attributes (as boxing, underlining etc).

Such "small" change, even as XML flag, may lead for a lot of my efforts for fixing/testing established drawing behaviour which I prefer to spend on other tasks.
I will keep your suggestion in mind, and will check if it is possible to get rid of additional pixel, when will do next changes on style drawing.

BR,
Alex.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1587 Views
Last post February 18, 2009, 11:27:17 pm
by alex
1 Replies
2096 Views
Last post April 28, 2009, 10:38:50 pm
by alex
3 Replies
1847 Views
Last post April 22, 2010, 10:30:54 pm
by Theno
2 Replies
1640 Views
Last post November 19, 2010, 03:53:45 pm
by scunliffe
7 Replies
2748 Views
Last post February 06, 2012, 04:13:59 am
by alex