diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2018-05-23 14:02:53 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2018-05-23 14:02:53 +0100 |
commit | 8a931f01b958ad5862433ece6024bbde0aa4ecb8 (patch) | |
tree | 5a036a8ddc33423d3564b046837ff42bd46d8f61 /include/netsurf/plot_style.h | |
parent | 8332bf6b2a42fd03b864e46f60eeaa76b51da496 (diff) | |
download | netsurf-8a931f01b958ad5862433ece6024bbde0aa4ecb8.tar.gz netsurf-8a931f01b958ad5862433ece6024bbde0aa4ecb8.tar.bz2 |
Plotters: Expose array of font family strings to front ends.
Diffstat (limited to 'include/netsurf/plot_style.h')
-rw-r--r-- | include/netsurf/plot_style.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/netsurf/plot_style.h b/include/netsurf/plot_style.h index d7a027cee..f1b617231 100644 --- a/include/netsurf/plot_style.h +++ b/include/netsurf/plot_style.h @@ -26,6 +26,7 @@ #include <stdint.h> #include <stdint.h> +#include <libwapcaplet/libwapcaplet.h> #include "netsurf/types.h" /** light grey widget base colour */ @@ -108,6 +109,12 @@ typedef enum { * Font style for plotting */ typedef struct plot_font_style { + /** + * Array of pointers to font families. + * + * May be NULL. Array is NULL terminated. + */ + lwc_string * const * families; plot_font_generic_family_t family; /**< Generic family to plot with */ plot_style_fixed size; /**< Font size, in pt */ int weight; /**< Font weight: value in range [100,900] as per CSS */ |