summaryrefslogtreecommitdiff
path: root/amiga/font.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2010-04-29 18:22:20 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2010-04-29 18:22:20 +0000
commit1f529dc33f75dbb18b12c380177fdce0d91e8f6d (patch)
tree3243d049cc113289014ea2131173a655b4584f22 /amiga/font.c
parent4aa363eedc0d3631dfc53fe301693a78cff587b3 (diff)
downloadnetsurf-1f529dc33f75dbb18b12c380177fdce0d91e8f6d.tar.gz
netsurf-1f529dc33f75dbb18b12c380177fdce0d91e8f6d.tar.bz2
Possibly more accurate text placement
svn path=/trunk/netsurf/; revision=10517
Diffstat (limited to 'amiga/font.c')
-rw-r--r--amiga/font.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/amiga/font.c b/amiga/font.c
index 162fce6d7..09425c581 100644
--- a/amiga/font.c
+++ b/amiga/font.c
@@ -338,9 +338,9 @@ ULONG ami_unicode_text(struct RastPort *rp,const char *string,ULONG length,const
{
BltBitMapTags(BLITA_SrcX,glyph->glm_BlackLeft,
BLITA_SrcY,glyph->glm_BlackTop,
- BLITA_DestX,dx+x,
- BLITA_DestY,dy-glyph->glm_Y1,
- BLITA_Width,glyph->glm_X1,
+ BLITA_DestX,dx + x - glyph->glm_X0 + glyph->glm_BlackLeft,
+ BLITA_DestY,dy - glyph->glm_Y0 + glyph->glm_BlackTop,
+ BLITA_Width,glyph->glm_BlackWidth,
BLITA_Height,glyph->glm_BlackHeight,
BLITA_Source,glyphbm,
BLITA_SrcType,BLITT_ALPHATEMPLATE,