diff options
author | Alexander Larsson <alla@lysator.liu.se> | 2000-12-22 11:04:35 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2000-12-22 11:04:35 +0000 |
commit | dc23b8bf572adc64cb57be39fdaf02732e50bb72 (patch) | |
tree | 20929508cb800b24370a7a25729bd3daa677c237 | |
parent | 468a97e74ab594cea66248d307f198d808a64b75 (diff) | |
download | pango-dc23b8bf572adc64cb57be39fdaf02732e50bb72.tar.gz |
Remove timing printfs.
2000-12-22 Alexander Larsson <alla@lysator.liu.se>
* pango/pangoft2.c:
Remove timing printfs.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ChangeLog.pre-1-0 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 3 | ||||
-rw-r--r-- | pango/pangoft2.c | 15 |
8 files changed, 21 insertions, 15 deletions
@@ -1,5 +1,8 @@ 2000-12-22 Alexander Larsson <alla@lysator.liu.se> + * pango/pangoft2.c: + Remove timing printfs. + * pango/pangoft2-private.h: Disable debug. diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index dd4dd86e..a35bc5a0 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,5 +1,8 @@ 2000-12-22 Alexander Larsson <alla@lysator.liu.se> + * pango/pangoft2.c: + Remove timing printfs. + * pango/pangoft2-private.h: Disable debug. diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index dd4dd86e..a35bc5a0 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,5 +1,8 @@ 2000-12-22 Alexander Larsson <alla@lysator.liu.se> + * pango/pangoft2.c: + Remove timing printfs. + * pango/pangoft2-private.h: Disable debug. diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index dd4dd86e..a35bc5a0 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,5 +1,8 @@ 2000-12-22 Alexander Larsson <alla@lysator.liu.se> + * pango/pangoft2.c: + Remove timing printfs. + * pango/pangoft2-private.h: Disable debug. diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index dd4dd86e..a35bc5a0 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,5 +1,8 @@ 2000-12-22 Alexander Larsson <alla@lysator.liu.se> + * pango/pangoft2.c: + Remove timing printfs. + * pango/pangoft2-private.h: Disable debug. diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index dd4dd86e..a35bc5a0 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,5 +1,8 @@ 2000-12-22 Alexander Larsson <alla@lysator.liu.se> + * pango/pangoft2.c: + Remove timing printfs. + * pango/pangoft2-private.h: Disable debug. diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index dd4dd86e..a35bc5a0 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,5 +1,8 @@ 2000-12-22 Alexander Larsson <alla@lysator.liu.se> + * pango/pangoft2.c: + Remove timing printfs. + * pango/pangoft2-private.h: Disable debug. diff --git a/pango/pangoft2.c b/pango/pangoft2.c index 1ec1a66f..902a81d4 100644 --- a/pango/pangoft2.c +++ b/pango/pangoft2.c @@ -744,32 +744,17 @@ pango_ft2_get_coverage (PangoFont *font, FT_Face face; gunichar wc; int i; - GTimeVal tv0, tv1; for (i = 1; i <= ft2font->n_fonts; i++) { - g_get_current_time (&tv0); tmp = pango_coverage_new (); face = pango_ft2_get_face (font, i); - g_get_current_time (&tv1); - if (tv1.tv_usec < tv0.tv_usec) - tv1.tv_sec--, tv1.tv_usec += 1000000L; - g_print ("after pango_ft2_get_face: %ld.%06ld s\n", tv1.tv_sec - tv0.tv_sec, tv1.tv_usec - tv0.tv_usec); for (wc = 0; wc < 65536; wc++) { glyph = PANGO_FT2_MAKE_GLYPH (i, wc); if (FT_Get_Char_Index (face, wc)) pango_coverage_set (tmp, wc, PANGO_COVERAGE_EXACT); - if ((wc%3000)==1) { - g_get_current_time (&tv1); - if (tv1.tv_usec < tv0.tv_usec) - tv1.tv_sec--, tv1.tv_usec += 1000000L; - g_print ("after %d loops: %ld.%06ld s\n", wc, tv1.tv_sec - tv0.tv_sec, tv1.tv_usec - tv0.tv_usec);} } - g_get_current_time (&tv1); - if (tv1.tv_usec < tv0.tv_usec) - tv1.tv_sec--, tv1.tv_usec += 1000000L; - g_print ("after loop for %s: %ld.%06ld s\n", face->family_name, tv1.tv_sec - tv0.tv_sec, tv1.tv_usec - tv0.tv_usec); pango_coverage_max (result, tmp); pango_coverage_unref (tmp); } |