mirror of
https://gitlab.gnome.org/GNOME/evince
synced 2024-06-30 22:54:23 +00:00
Update libgd to current master to fix #1242
Update libgd/gd-two-lines-renderer.c to latest libgd which includes commit libgd@258c05b0 that fixes a Pango >= 1.44 regression causing #1242 issue.
This commit is contained in:
parent
a0a2da02fa
commit
91aa9bfc4e
|
@ -80,6 +80,17 @@ create_layout_with_attrs (GtkWidget *widget,
|
|||
pango_layout_set_wrap (layout, PANGO_WRAP_CHAR);
|
||||
}
|
||||
|
||||
#if PANGO_VERSION_CHECK (1, 44, 0)
|
||||
{
|
||||
PangoAttrList *attr_list = pango_attr_list_new ();
|
||||
|
||||
pango_attr_list_insert (attr_list, pango_attr_insert_hyphens_new (FALSE));
|
||||
pango_layout_set_attributes (layout, attr_list);
|
||||
|
||||
pango_attr_list_unref (attr_list);
|
||||
}
|
||||
#endif
|
||||
|
||||
return layout;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user