<div dir="ltr">Hi All,<div><br></div><div>I'm posting here after already raising the issue on the FreeType mailing list.</div><div><br></div><div>The problem:</div><div>- LiberationMono-Regular.ttf rendered perfectly in Ubuntu 8, Ubuntu 10 and Ubuntu 16, but terrible in Ubuntu 20.</div><div>- It is reproducible on recent versions of OpenSUSE and ArchLinux.<br></div><div>- It only applies in specific programs eg. xterm, xfontsel, likely others.</div><div><br></div><div>To reproduce:</div><div><br></div><div>1. Make sure /usr/fonts/truetype/liberation/ is a font dir (mkfontscale;mkfontdir).</div><div>2. xset +fp /usr/fonts/truetype/liberation/</div><div>3. xterm -fn "-misc-liberation mono-medium-r-normal-*-*-*-*-*-*-*-*"</div><div>4. Observe terrible font (see screenshot comparison Ubuntu 16 vs latest OpenSUSE)<br></div><div><br></div><div>Werner from the FreeType team had this to say:</div><div>"<br></div><div><span style="color:rgb(0,0,0)">It's definitely a bug in the X font setup: The font is treated as</span><br style="color:rgb(0,0,0)"><span style="color:rgb(0,0,0)">either unhinted or autohinted and then rendered as a mono font.</span><br style="color:rgb(0,0,0)"><span style="color:rgb(0,0,0)">FreeType doesn't support this.  Monochrome rendering (to be more</span><br style="color:rgb(0,0,0)"><span style="color:rgb(0,0,0)">precise: bi-level rendering) of TrueType fonts in FreeType gives only</span><br style="color:rgb(0,0,0)"><span style="color:rgb(0,0,0)">pleasant results for low resolutions if (a) the font contains proper</span><br style="color:rgb(0,0,0)"><span style="color:rgb(0,0,0)">hints for B/W rendering, and (b) the v35 bytecode engine mode is used.</span><br style="color:rgb(0,0,0)"></div><div><span style="color:rgb(0,0,0)">"</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">Cheers,</span></div><div><span style="color:rgb(0,0,0)">Ben</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><img src="cid:ii_ksy37paa0" alt="Comparison.JPG" width="437" height="94"><br><div><img src="cid:ii_ksy37trq1" alt="Comparison2.JPG" width="437" height="66"><br></div></div>