diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-18 00:02:52 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-18 00:02:52 +0000 |
commit | 9c62993efd45bcd685c579d51be013a1ae4f2770 (patch) | |
tree | b0e4d3107d5fdb63417e40affdd2e2d9f3b021df /amiga/font_bullet.c | |
parent | b3aa313e8421a26489719ecb4626cc6837e0079c (diff) | |
download | netsurf-9c62993efd45bcd685c579d51be013a1ae4f2770.tar.gz netsurf-9c62993efd45bcd685c579d51be013a1ae4f2770.tar.bz2 |
Don't expose the DPI-related variables
Diffstat (limited to 'amiga/font_bullet.c')
-rw-r--r-- | amiga/font_bullet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/font_bullet.c b/amiga/font_bullet.c index 69757e5a3..f63455257 100644 --- a/amiga/font_bullet.c +++ b/amiga/font_bullet.c @@ -55,7 +55,7 @@ #define NSA_VALUE_SHEARSIN (1 << 14) #define NSA_VALUE_SHEARCOS (1 << 16) -#define NSA_FONT_EMWIDTH(s) (s / FONT_SIZE_SCALE) * (ami_xdpi / 72.0) +#define NSA_FONT_EMWIDTH(s) (s / FONT_SIZE_SCALE) * (ami_font_dpi_get_xdpi() / 72.0) const uint16 sc_table[] = { 0x0061, 0x1D00, /* a */ @@ -510,7 +510,7 @@ static struct OutlineFont *ami_open_outline_font(const plot_font_style_t *fstyle #endif if(ESetInfo(AMI_OFONT_ENGINE, - OT_DeviceDPI, ami_devicedpi, + OT_DeviceDPI, ami_font_dpi_get_devicedpi(), OT_PointHeight, ysize, OT_EmboldenX, emboldenx, OT_EmboldenY, emboldeny, |