diff options
author | Moonchild <moonchild@palemoon.org> | 2021-11-20 16:58:45 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-05 19:23:28 +0200 |
commit | 327f5499ca6252c4b5ed75e4fc69dddcbfd3b72f (patch) | |
tree | 52a3fdadb907f73366f8e5def27298be544186bc /layout | |
parent | 97f911427a49c410644ff54b2dcaab832636113b (diff) | |
download | uxp-327f5499ca6252c4b5ed75e4fc69dddcbfd3b72f.tar.gz |
Issue #1795 - Extend cairo API with an explicit font_get_hint_metrics function.
This extension allows us to get font hint metrics without having to create and
destroy cairo font options structs. Since this is used in loops, this will
improve performance, especially in documents which have many text segments.
Diffstat (limited to 'layout')
-rw-r--r-- | layout/media/symbols.def.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layout/media/symbols.def.in b/layout/media/symbols.def.in index 6e2364f51a..94866cc2ba 100644 --- a/layout/media/symbols.def.in +++ b/layout/media/symbols.def.in @@ -487,6 +487,7 @@ _moz_cairo_scaled_font_create _moz_cairo_scaled_font_destroy _moz_cairo_scaled_font_get_font_matrix _moz_cairo_scaled_font_get_font_options +_moz_cairo_scaled_font_get_hint_metrics _moz_cairo_scaled_font_get_type _moz_cairo_scaled_font_glyph_extents _moz_cairo_scaled_font_reference |