mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 19:18:02 +02:00
fixed max advance width for fixed-pitch T1 fonts
This commit is contained in:
parent
fa09119bf0
commit
e3258dfdae
1 changed files with 1 additions and 3 deletions
|
|
@ -270,10 +270,8 @@
|
|||
|
||||
/* now compute the maximum advance width */
|
||||
|
||||
root->max_advance_width = face->type1.private_dict.standard_width[0];
|
||||
|
||||
/* compute max advance width for proportional fonts */
|
||||
if ( !face->type1.font_info.is_fixed_pitch )
|
||||
root->max_advance_width = face->type1.font_bbox.xMax;
|
||||
{
|
||||
FT_Int max_advance;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue