Aspect-corrected font DPI (files missing from previous commit)

svn path=/trunk/netsurf/; revision=12231
This commit is contained in:
Chris Young 2011-04-22 16:54:11 +00:00
parent 1bc9a86109
commit 0a24f4dbca
2 changed files with 3 additions and 3 deletions

View File

@ -20,10 +20,10 @@
#define AMIGA_FONT_H
#include "desktop/plotters.h"
#include <graphics/text.h>
#include <graphics/rastport.h>
ULONG ami_unicode_text(struct RastPort *rp,const char *string,ULONG length,const plot_font_style_t *fstyle,ULONG x,ULONG y);
ULONG ami_font_setdevicedpi(int dpi);
void ami_font_setdevicedpi(int id);
void ami_init_fonts(void);
void ami_close_fonts(void);
#endif

View File

@ -565,7 +565,7 @@ void ami_openscreen(void)
}
}
dri = GetScreenDrawInfo(scrn);
ami_font_setdevicedpi(FIXTOINT(nscss_screen_dpi));
ami_font_setdevicedpi(id);
gui_system_colour_finalize();
gui_system_colour_init();