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:
parent
9a810f9e89
commit
db0c239acc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user