summaryrefslogtreecommitdiff
path: root/content/handlers
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2018-05-23 14:02:53 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2018-05-23 14:02:53 +0100
commit8a931f01b958ad5862433ece6024bbde0aa4ecb8 (patch)
tree5a036a8ddc33423d3564b046837ff42bd46d8f61 /content/handlers
parent8332bf6b2a42fd03b864e46f60eeaa76b51da496 (diff)
downloadnetsurf-8a931f01b958ad5862433ece6024bbde0aa4ecb8.tar.gz
netsurf-8a931f01b958ad5862433ece6024bbde0aa4ecb8.tar.bz2
Plotters: Expose array of font family strings to front ends.
Diffstat (limited to 'content/handlers')
-rw-r--r--content/handlers/html/font.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/handlers/html/font.c b/content/handlers/html/font.c
index 71843e108..7ebe16825 100644
--- a/content/handlers/html/font.c
+++ b/content/handlers/html/font.c
@@ -144,6 +144,7 @@ void font_plot_style_from_css(
fstyle->family = plot_font_generic_family(
css_computed_font_family(css, &families));
+ fstyle->families = families;
css_computed_font_size(css, &length, &unit);
fstyle->size = FIXTOINT(FMUL(nscss_len2pt(len_ctx, length, unit),