summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-08-29 14:24:47 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-08-29 14:24:47 +0000
commit138d0754c9dff39c853717fb1bb4b1c3ff416d9b (patch)
tree0ffceca5c34c322b5da1d87ca6e660f5ac4b5511 /amiga/gui.c
parent0b6f91dd61346d1868bace6b7448aa26c8a75af0 (diff)
downloadnetsurf-138d0754c9dff39c853717fb1bb4b1c3ff416d9b.tar.gz
netsurf-138d0754c9dff39c853717fb1bb4b1c3ff416d9b.tar.bz2
Font scaling - scaling now works for printing, need 2nd attempt at implementing it for
browsing. svn path=/trunk/netsurf/; revision=9496
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-xamiga/gui.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index ca9fd3f29..28c5589f4 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2403,7 +2403,9 @@ void ami_do_redraw_limits(struct gui_window *g, struct content *c,int x0, int y0
if((x1-x0)+(xoffset+x0-sx)>(width)) x1 = (width-(x0-sx)+x0);
if((y1-y0)+(yoffset+y0-sy)>(height)) y1 = (height-(y0-sy)+y0);
- content_redraw(c,
+ glob->scale = g->shared->bw->scale;
+
+ content_redraw(c,
-sx,-sy,width-sx,height-sy,
floorf((x0 *
g->shared->bw->scale)-sx),
@@ -2541,6 +2543,7 @@ void ami_do_redraw(struct gui_window_2 *g)
else
{
ami_clg(0xffffff);
+ glob->scale = g->bw->scale;
if(c->type == CONTENT_HTML)
{