mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 14:59:47 +03:00
Aspect-corrected font DPI (files missing from previous commit)
svn path=/trunk/netsurf/; revision=12231
This commit is contained in:
parent
1bc9a86109
commit
0a24f4dbca
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user