This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via add9b9cbb298ae43aa5b74921d66003326eafb67 (commit) from f6c1e6c7ad85f0f95299bd7c7027f2f8374a016b (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/add9b9cbb298ae43aa5b74921d66003326eaf...
commit add9b9cbb298ae43aa5b74921d66003326eafb67 Author: Cyril Hrubis metan@ucw.cz Date: Mon Mar 19 20:02:40 2012 +0100
text: Fix rotation for 8bpp TEXT_NOBG rendering.
diff --git a/libs/text/GP_Text.gen.c.t b/libs/text/GP_Text.gen.c.t index f0acc30..12a8e7e 100644 --- a/libs/text/GP_Text.gen.c.t +++ b/libs/text/GP_Text.gen.c.t @@ -123,8 +123,13 @@ static void text_draw_1BPP(GP_Context *context, GP_TextStyle *style, int x, int %% else unsigned int l; - for (l = x_start; l < x_start + style->pixel_xmul; l++) - GP_MixPixel_Raw_Clipped_{{ pt.name }}(context, l, cur_y, fg, gray); + for (l = x_start; l < x_start + style->pixel_xmul; l++) { + unsigned int px = l; + unsigned int py = cur_y; + //TODO: optimize this + GP_TRANSFORM_POINT(context, px, py); + GP_MixPixel_Raw_Clipped_{{ pt.name }}(context, px, py, fg, gray); + } %% endif } }
-----------------------------------------------------------------------
Summary of changes: libs/text/GP_Text.gen.c.t | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.