|
NetSurf
|
#include "amiga/os3support.h"#include <proto/diskfont.h>#include <proto/exec.h>#include <proto/graphics.h>#include "utils/log.h"#include "utils/nsoption.h"#include "netsurf/browser.h"#include "netsurf/layout.h"#include "amiga/font.h"#include "amiga/font_bullet.h"#include "amiga/font_diskfont.h"#include "amiga/font_scan.h"Go to the source code of this file.
Functions | |
| ULONG | ami_font_dpi_get_devicedpi (void) |
| ULONG | ami_font_dpi_get_xdpi (void) |
| void | ami_font_setdevicedpi (int id) |
| struct TextFont * | ami_font_open_disk_font (struct TextAttr *tattr) |
| void | ami_font_close_disk_font (struct TextFont *tfont) |
| void | ami_font_init (void) |
| void | ami_font_fini (void) |
| static nserror | ami_font_width (const plot_font_style_t *fstyle, const char *string, size_t length, int *width) |
| static nserror | ami_font_position (const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x) |
| static nserror | ami_font_split (const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x) |
Variables | |
| static ULONG | ami_devicedpi = 72 |
| static ULONG | ami_xdpi = 72 |
| struct ami_font_functions * | ami_nsfont = NULL |
| static struct gui_layout_table | layout_table |
| struct gui_layout_table * | ami_layout_table = &layout_table |
| void ami_font_close_disk_font | ( | struct TextFont * | tfont | ) |
Definition at line 109 of file font.c.
Referenced by ami_gui_splash_open().
| ULONG ami_font_dpi_get_devicedpi | ( | void | ) |
Definition at line 40 of file font.c.
References ami_devicedpi, and ami_xdpi.
Referenced by ami_open_outline_font().
| void ami_font_fini | ( | void | ) |
Definition at line 124 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().
| void ami_font_init | ( | void | ) |
Definition at line 115 of file font.c.
References ami_font_bullet_init(), ami_font_diskfont_init(), and nsoption_bool.
Referenced by ami_gui_opts_use(), and main().
| struct TextFont * ami_font_open_disk_font | ( | struct TextAttr * | tattr | ) |
Definition at line 103 of file font.c.
Referenced by ami_gui_splash_open().
|
static |
Definition at line 142 of file font.c.
References ami_nsfont, and ami_font_functions::posn.
| void ami_font_setdevicedpi | ( | int | id | ) |
Definition at line 50 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().
|
static |
Definition at line 150 of file font.c.
References ami_nsfont, and ami_font_functions::split.
|
static |
Definition at line 134 of file font.c.
References ami_nsfont, ami_font_functions::width, and width.
|
static |
Definition at line 35 of file font.c.
Referenced by ami_font_dpi_get_devicedpi(), and ami_font_setdevicedpi().
| struct gui_layout_table* ami_layout_table = &layout_table |
Definition at line 164 of file font.c.
Referenced by ami_print(), and main().
| struct ami_font_functions* ami_nsfont = NULL |
Definition at line 38 of file font.c.
Referenced by ami_font_bullet_init(), ami_font_diskfont_init(), ami_font_position(), ami_font_split(), ami_font_width(), and ami_text().
|
static |
Definition at line 36 of file font.c.
Referenced by ami_font_dpi_get_devicedpi(), ami_font_dpi_get_xdpi(), and ami_font_setdevicedpi().
|
static |
Definition at line 158 of file font.c.
Referenced by layout_flex_item().