[rendering] Do not write duplicated hashes...
[wikipediardware.git] / host-tools / rendering / patches / 0017-Use-the-pitch.patch
blob402a54bd8bfa932e92eefc10723d7b6e5387aa5d
1 From 58104e974e53833a88f7fe5587de9bbc5f63c8dc Mon Sep 17 00:00:00 2001
2 From: Holger Hans Peter Freyther <zecke@selfish.org>
3 Date: Thu, 5 Mar 2009 19:27:18 +0800
4 Subject: [PATCH] Use the pitch...
6 ---
7 WebKitTools/GtkLauncher/main.c | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
10 diff --git a/WebKitTools/GtkLauncher/main.c b/WebKitTools/GtkLauncher/main.c
11 index d8627e5..d2b8c42 100644
12 --- a/WebKitTools/GtkLauncher/main.c
13 +++ b/WebKitTools/GtkLauncher/main.c
14 @@ -74,7 +74,7 @@ static gint dumped_glyphs = 0;
15 int row = 0; \
16 for (row = 0; row < glyph->height; ++row) { \
17 g_byte_array_append(content_##var, \
18 - glyph->bitmap + (row*glyph->width), \
19 + glyph->bitmap + (row*glyph->glyph_pitch),\
20 (guint)glyph->width); \
21 } \
22 gchar* c_path_##var = g_string_free(path_##var, FALSE); \
23 --
24 1.5.6.3