summaryrefslogtreecommitdiff
path: root/frontends/windows/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/windows/font.h')
-rw-r--r--frontends/windows/font.h13
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