![](https://csdnimg.cn/release/download_crawler_static/11672690/bg14.jpg)
20
UM03001 User & Reference Guide for emWin V5.30 © 1997 - 2015 SEGGER Microcontroller GmbH & Co. KG
10.9 Creating animated sprites / cursors ..........................................................200
10.10 Command line usage ..............................................................................202
10.10.1 Format for commands.............................................................................202
10.10.2 Command line options ............................................................................203
10.11 Example of a converted bitmap ................................................................205
11 Fonts..........................................................................................................................207
11.1 Introduction ..........................................................................................208
11.2 Font types.............................................................................................208
11.3 Font formats..........................................................................................210
11.3.1 C file format ..........................................................................................210
11.3.2 System Independent Font (SIF) format .....................................................210
11.3.3 External Bitmap Font (XBF) format ...........................................................211
11.3.4 iType font engine support........................................................................212
11.3.5 TrueType Font (TTF) format.....................................................................213
11.4 Converting a TTF file to C source..............................................................214
11.5 Declaring custom fonts ...........................................................................214
11.6 Selecting a font......................................................................................214
11.7 Font API................................................................................................215
11.7.1 C file related font functions......................................................................216
11.7.2 ’SIF’ file related font functions..................................................................217
11.7.3 ’TTF’ file related font functions .................................................................218
11.7.4 ’XBF’ file related font functions.................................................................222
11.7.5 Common font-related functions ................................................................224
11.8 Character sets .......................................................................................228
11.8.1 ASCII ...................................................................................................228
11.8.2 ISO 8859-1 Western Latin character set....................................................228
11.8.3 Unicode ................................................................................................230
11.9 Standard fonts.......................................................................................230
11.9.1 Font identifier naming convention.............................................................230
11.9.2 Font file naming convention.....................................................................231
11.9.3 Measurement, ROM-size and character set of fonts .....................................231
11.9.4 Proportional fonts...................................................................................232
11.9.4.1 Overview ..............................................................................................232
11.9.4.2 Font details ...........................................................................................233
11.9.4.3 Characters ............................................................................................234
11.9.5 Proportional fonts, framed.......................................................................241
11.9.5.1 Overview ..............................................................................................241
11.9.5.2 Font details ...........................................................................................241
11.9.5.3 Characters ............................................................................................241
11.9.6 Monospaced fonts ..................................................................................242
11.9.6.1 Overview ..............................................................................................242
11.9.6.2 Font details ...........................................................................................242
11.9.6.3 Characters ............................................................................................243
11.9.7 Digit fonts (proportional).........................................................................248
11.9.7.1 Overview ..............................................................................................248
11.9.7.2 Font details ...........................................................................................248
11.9.7.3 Characters ............................................................................................248
11.9.8 Digit fonts (monospaced) ........................................................................250
11.9.8.1 Overview ..............................................................................................250
11.9.8.2 Font details ...........................................................................................250
11.9.8.3 Characters ............................................................................................250
12 Font Converter...........................................................................................................253
12.1 Requirements ........................................................................................254
12.2 Creating an emWin font file from a Windows font .......................................254
12.3 Font generation options dialog .................................................................256
12.3.1 Type of font to generate..........................................................................257
12.3.2 Encoding...............................................................................................257
12.3.3 Antialiasing ...........................................................................................257