[truetype] Fix metrics on size request for scalable fonts.
* src/truetype/ttdriver.c (tt_size_request): Fix copying metrics from TT_Size to FT_Size if scalable font.
This commit is contained in:
parent
143799d4a9
commit
b0962ac34e
@ -1,3 +1,10 @@
|
||||
2011-07-16 Steven Chu <steven.f.chu@gmail.com>
|
||||
|
||||
[truetype] Fix metrics on size request for scalable fonts.
|
||||
|
||||
* src/truetype/ttdriver.c (tt_size_request): Fix copying metrics
|
||||
from TT_Size to FT_Size if scalable font.
|
||||
|
||||
2011-07-14 Matthias Drochner <M.Drochner@fz-juelich.de>.
|
||||
|
||||
[psaux] Fix potential sign extension problems.
|
||||
|
@ -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