h6. [[FontManager]] h6(. » [[FontManager SWI Calls|SWI Calls]] h6((. » [[Font_ListFonts]] h6(((. » Font_ListFonts (Menu) h2. Font_ListFonts h5. (SWI &400A7) |_<^{width:3em}. Entry | | |<^. R1|<^. Pointer to buffer for font menu, or 0 to find required size | |<^. R2|<^. Counter and flags | |<^. R3|<^. Size of buffer in R1 | |<^. R4|<^. Pointer to buffer for indirected data, or 0 to find required size | |<^. R5|<^. Size of buffer in R4 | |<^. R6|<^. Pointer to identifier to tick, or 0 for none, or 1 for System Font | |_<^{width:3em}. Exit || |<^. R2 |<^. New count, or -1 if no more | |<^. R3 |<^. Required size of buffer in R1 if R1 = 0, or 0 if the menu is null, otherwise length of data placed in buffer | |<^. R5 |<^. Required size of buffer in R4 if R4 = 0, otherwise length of data placed in buffer | h4. Flags values |_<^{width:3em}. Bit |_. Meaning | |<^. 0-15|<^. Counter, or 0 for first call | |<^. 19|<^. Return menu definition in R1, indirected data in R4 | |<^. 20|<^. Place System Font at head of menu | |<^. 21|<^. Tick font in R6, and its parent | |<^. 22|<^. Return list of encodings rather than fonts | |<^. 23-31|<^. Reserved; must be 0 | h4. Use This call creates a list of fonts arranged as a menu. h4. Notes For this form of the call, only bits 19-22 of the flags in R2 should be used. All other bits must be clear. The returning definition is suitable for opening with [[Wimp_CreateMenu]]. [[Font_DecodeMenu]] can be used to work out which font was selected. h4. See also * [[Font_ListFonts (Basic)]] * [[Font_DecodeMenu]] * [[Wimp_CreateMenu]]