[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#880407: #880407 xterm: font issue with FreeType 2.8; should not use the rounded ascender and descender



On 2018-01-05 05:21:32 -0500, Thomas Dickey wrote:
> On Fri, Jan 05, 2018 at 10:26:11AM +0100, Vincent Lefevre wrote:
> > Sorry, I don't understand what you mean. Can you reproduce the problem
> > with that?
> 
> only for the case that I made xterm detect/workaround.
> 
> I added debug-tracing in fontutils.c to show the actual data for the
> FT_Size_Metrics, as well as loading the glyph to see the pixels.
> It wasn't a "black" line but rather two raster lines with low values.
> 
> The rounding change altered the weights from about 12/16 down to 8/16
> or 9/16.
> 
> I added logic to add the weights and turn on xterm's line-drawing when
> it fell below the threshold.

But I assume that this wouldn't fix the window height (the cells
are 23-pixel high instead of 21).

I have tried with -xrm "*scaleHeight: 0.9", which gives the same
height as before (21 pixels per cell), but this doesn't make these
blank lines disappear. Moreover, when I type "É" (E with an acute
accent), the accent is no longer visible!

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: