diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-08-01 09:50:31 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-08-01 09:50:31 +0100 |
commit | 6b7e073c580b905325d5a068e143900223b5ac04 (patch) | |
tree | 6fa9e0d9e53bc3df439fbf49e5975e3c34cd8083 /framebuffer/font_internal.h | |
parent | 35c8da4ecfa65828a3cfaaf0a6da04e99f0ecba4 (diff) | |
download | netsurf-6b7e073c580b905325d5a068e143900223b5ac04.tar.gz netsurf-6b7e073c580b905325d5a068e143900223b5ac04.tar.bz2 |
Add support for double-size rendering of internal font for headings.
Diffstat (limited to 'framebuffer/font_internal.h')
-rw-r--r-- | framebuffer/font_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framebuffer/font_internal.h b/framebuffer/font_internal.h index ead179c99..d066f6bf4 100644 --- a/framebuffer/font_internal.h +++ b/framebuffer/font_internal.h @@ -38,8 +38,9 @@ enum fb_font_style { }; enum fb_font_style fb_get_font_style(const plot_font_style_t *fstyle); +int fb_get_font_size(const plot_font_style_t *fstyle); -const uint8_t * fb_get_glyph(uint32_t ucs4, enum fb_font_style style); +const uint8_t *fb_get_glyph(uint32_t ucs4, enum fb_font_style style, int scale); #define codepoint_displayable(u) \ (!(u >= 0x200b && u <= 0x200f)) |