mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 20:48:03 +02:00
Fix type1-fallback bbox
This commit is contained in:
parent
8f2f5e5ad4
commit
74873c8224
1 changed files with 4 additions and 4 deletions
|
|
@ -770,10 +770,10 @@ _cairo_type1_fallback_init_internal (cairo_type1_subset_t *type1_subset,
|
|||
len = snprintf(type1_subset->data + font->bbox_position,
|
||||
font->bbox_max_chars,
|
||||
"%d %d %d %d",
|
||||
(int)type1_subset->x_min,
|
||||
(int)type1_subset->y_min,
|
||||
(int)type1_subset->x_max,
|
||||
(int)type1_subset->y_max);
|
||||
(int)font->x_min,
|
||||
(int)font->y_min,
|
||||
(int)font->x_max,
|
||||
(int)font->y_max);
|
||||
type1_subset->data[font->bbox_position + len] = ' ';
|
||||
|
||||
type1_subset->header_length = font->header_size;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue