On Mon, 24 Oct 2016 10:24:09 +0200 Pierre Couderc <[email protected]> said:
> > > On 10/24/2016 09:46 AM, Carsten Haitzler (The Rasterman) wrote: > > On Mon, 24 Oct 2016 09:08:04 +0200 Benoit Barthelet > > <[email protected]> said: > > > >> well, they don't appear when at the bottom of the window, while at the top > >> or middle it's fine > >> I wanted to record a https://asciinema.org/a/1ef3xs78fwodwz0sv1uw1egs6 but > >> it shows the underscore well while in my terminal it doesn't > >> Am I missing a pixel or 2 at the bottom ? > >> > >> http://www.enlightenment.org/ss/e-580db33916f9f7.57437101.jpg > > tried changing font? i think it might be that your font places_ OUTSIDE the > > max bounds it advertises for the characters. like below descent, thus of > > course we cant size the grid right as we have to figure out one size fits > > all for a char grid. a monospace font should not get this wrong. many > > proportional fonts will do this and so simply choose another font. > > > > > I have still this problem that I did declare about 2 years ago i n > https://phab.enlightenment.org/T2070 > I live with it... > > My feeling is that the problem exists, and propose to change font is not > a definitive solution. Default font should be ok. > I have it on one computer but not on another one. I am reasy to make > tests if it helps. look. i really do not want to detail how fonts work. especially truetype. but what happens is this: font says "i take up WxH pixels" when we query it. specifically the Y (which is ascent + descent) which we have to use to make the grid a correct size (the ascent+descent == height of a cell character). the entire grid is the NxM chars in size... which meant all CONTENT must be within that box. your font is placing _ BELOW the descent. outside the bounds of a character cell that it ADVERTISES by ascent+descent. we cant know this without querying every possible character. for all of unicode that's millions of chars. and trust me - if we do this all the chars in your terminal will become super-massive because there are always outliers that do weirs stuff with accents on top of things and out of bounds stuff. this is just life and how it works. we could add arbitrary padding to the textgrid that wouldn't clip content but eventually that padding will clip something away. choose another font really if this bothers you that much. :) the other solutions are just as bad. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
