mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 05:25:05 +00:00
[subset] Match hb rounding to fonttools for avg char width.
Update Muli and Roboto input test fonts to recalc class values. FontTools recalcs class values during instancing while harfbuzz does not (like the ft subsetter).
This commit is contained in:
parent
15a05b2432
commit
975bd39b15
14 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ struct OS2
|
|||
}
|
||||
}
|
||||
|
||||
return num ? (unsigned) roundf (total_width / num) : 0;
|
||||
return num ? (unsigned) roundf ((double) total_width / (double) num) : 0;
|
||||
}
|
||||
|
||||
bool subset (hb_subset_context_t *c) const
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue