NetSurf
Data Structures | Functions | Variables
font.h File Reference
#include "netsurf/plotters.h"
#include "utils/errors.h"
#include <graphics/rastport.h>
#include <graphics/text.h>
Include dependency graph for font.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ami_font_functions
 

Functions

void ami_font_init (void)
 
void ami_font_fini (void)
 
void ami_font_setdevicedpi (int id)
 
ULONG ami_font_dpi_get_devicedpi (void)
 
ULONG ami_font_dpi_get_xdpi (void)
 
struct TextFont * ami_font_open_disk_font (struct TextAttr *tattr)
 
void ami_font_close_disk_font (struct TextFont *tfont)
 

Variables

const struct ami_font_functionsami_nsfont
 
struct gui_layout_tableami_layout_table
 

Function Documentation

◆ ami_font_close_disk_font()

void ami_font_close_disk_font ( struct TextFont *  tfont)

Definition at line 107 of file font.c.

Referenced by ami_gui_splash_open().

Here is the caller graph for this function:

◆ ami_font_dpi_get_devicedpi()

ULONG ami_font_dpi_get_devicedpi ( void  )

Definition at line 38 of file font.c.

References ami_devicedpi, and ami_xdpi.

Referenced by ami_open_outline_font().

Here is the caller graph for this function:

◆ ami_font_dpi_get_xdpi()

ULONG ami_font_dpi_get_xdpi ( void  )

Definition at line 43 of file font.c.

References ami_xdpi.

◆ ami_font_fini()

void ami_font_fini ( void  )

Definition at line 122 of file font.c.

References ami_font_bullet_fini(), ami_font_diskfont_fini(), and nsoption_bool.

Referenced by ami_gui_opts_use(), and gui_quit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ami_font_init()

void ami_font_init ( void  )

Definition at line 113 of file font.c.

References ami_font_bullet_init(), ami_font_diskfont_init(), and nsoption_bool.

Referenced by ami_gui_opts_use(), and main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ami_font_open_disk_font()

struct TextFont * ami_font_open_disk_font ( struct TextAttr *  tattr)

Definition at line 101 of file font.c.

Referenced by ami_gui_splash_open().

Here is the caller graph for this function:

◆ ami_font_setdevicedpi()

void ami_font_setdevicedpi ( int  id)

Definition at line 48 of file font.c.

References ami_devicedpi, ami_xdpi, browser_set_dpi(), NSLOG, nsoption_bool, nsoption_int, and nsoption_set_int.

Referenced by ami_gui_opts_use(), ami_openscreen(), and main().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ami_layout_table

struct gui_layout_table* ami_layout_table
extern

Definition at line 162 of file font.c.

Referenced by ami_print(), and main().

◆ ami_nsfont

const struct ami_font_functions* ami_nsfont