summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-11-20 16:58:45 +0000
committerMoonchild <moonchild@palemoon.org>2021-11-20 16:58:45 +0000
commitefc4f34664f01072dffe66ddabf17e6b74bbe173 (patch)
tree2f0951b65b748ac68e54422b8870ff29085771c5 /layout
parent52c7d91724eda8cbcfa6375ea285383ccaa0261c (diff)
downloadaura-central-efc4f34664f01072dffe66ddabf17e6b74bbe173.tar.gz
Issue %3039 - 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.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/layout/media/symbols.def.in b/layout/media/symbols.def.in
index 2ac62ec0f..e3b164117 100644
--- a/layout/media/symbols.def.in
+++ b/layout/media/symbols.def.in
@@ -484,6 +484,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