Commit the last bit of freetype 2.4.6 which I previously hold back,

since it changes the metrics of some TrueType fonts. Users of DejaVu
at small sizes in xterm can use the 'scaleHeight' resource to
restore the previous vertical spacing (with xterm 276 and later).
Tested on a wide set of ports by ajachoutot@, naddy@, krw@ shadchin@.
This commit is contained in:
matthieu 2011-11-16 21:18:14 +00:00
parent 9a810f9e89
commit db0c239acc

View File

@ -246,7 +246,10 @@
FT_Request_Metrics( size->face, req );
if ( FT_IS_SCALABLE( size->face ) )
{
error = tt_size_reset( ttsize );
ttsize->root.metrics = ttsize->metrics;
}
return error;
}