diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-02-17 20:44:37 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-02-17 20:44:37 +0000 |
commit | 67b22a811128f5a0635430151a73442d1f100735 (patch) | |
tree | 52ed1e6908759ab02812dfc9e53d1577f0f8dd0b /frontends/windows/font.h | |
parent | 9d0943b8e561dd2e5449cd9d53d8b5c2f439442d (diff) | |
download | netsurf-67b22a811128f5a0635430151a73442d1f100735.tar.gz netsurf-67b22a811128f5a0635430151a73442d1f100735.tar.bz2 |
cleanup windows frontend documentation comments and spelling
Diffstat (limited to 'frontends/windows/font.h')
-rw-r--r-- | frontends/windows/font.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/frontends/windows/font.h b/frontends/windows/font.h index a1077e041..ec2c262ff 100644 --- a/frontends/windows/font.h +++ b/frontends/windows/font.h @@ -38,10 +38,15 @@ struct font_desc { struct gui_layout_table *win32_layout_table; struct gui_utf8_table *win32_utf8_table; -extern nserror utf8_to_font_encoding(const struct font_desc* font, - const char *string, - size_t len, - char **result); +/** + * convert from utf-8 to win32 font encoding. + * + * \param[in] font font descriptor + * \param[in] string source utf-8 string + * \param[in] len The length of the utf-8 data + * \param[out] result The reencoded string. + */ +extern nserror utf8_to_font_encoding(const struct font_desc* font, const char *string, size_t len, char **result); /** * generate a win32 font handle from a generic font style |