projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
768d414
)
[rt.cpan.org #88993] use the correct width drawing non-AA for FT1
author
Tony Cook
<tony@develop-help.com>
Mon, 30 Sep 2013 01:48:41 +0000
(11:48 +1000)
committer
Tony Cook
<tony@develop-help.com>
Mon, 30 Sep 2013 01:48:41 +0000
(11:48 +1000)
The changes to the drawing code for FT1 used cols (the number of bytes)
instead of width (the number of pixels) when drawing non-AA text under
FreeType 1.
fontft1.c
patch
|
blob
|
blame
|
history
diff --git
a/fontft1.c
b/fontft1.c
index 446db4ad618a9153a48645cc1d34d53ed265c814..6af95e8da815e2bbec93c79f28479af5b6153e89 100644
(file)
--- a/
fontft1.c
+++ b/
fontft1.c
@@
-888,7
+888,7
@@
i_tt_dump_raster_map2( i_img* im, TT_Raster_Map* bit, i_img_dim xb, i_img_dim yb
}
}
- i_render_color(&r, xb, yb+y, bit->
cols
, bmp, cl);
+ i_render_color(&r, xb, yb+y, bit->
width
, bmp, cl);
}
i_render_done(&r);