|
NetSurf
|
The interface to the win32 font and utf8 handling. More...
Go to the source code of this file.
Data Structures | |
| struct | font_desc |
Functions | |
| 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. More... | |
| HFONT | get_font (const struct plot_font_style *style) |
| generate a win32 font handle from a generic font style More... | |
Variables | |
| HWND | font_hwnd |
| struct gui_layout_table * | win32_layout_table |
| struct gui_utf8_table * | win32_utf8_table |
The interface to the win32 font and utf8 handling.
Definition in file font.h.
| HFONT get_font | ( | const struct plot_font_style * | style | ) |
generate a win32 font handle from a generic font style
| style | The font style. |
| 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.
| [in] | font | font descriptor |
| [in] | string | source utf-8 string |
| [in] | len | The length of the utf-8 data |
| [out] | result | The reencoded string. |
Definition at line 43 of file font.c.
References font_desc::encoding, result, and utf8_to_enc().
|
extern |
Definition at line 39 of file font.c.
Referenced by get_font(), and win32_window_create().
|
extern |
|
extern |