aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorlecoanet2004-05-07 09:38:37 +0000
committerlecoanet2004-05-07 09:38:37 +0000
commita13c664aaf1672b668aec6ed7a6932896de40c57 (patch)
tree449ee320112c80b80dcbc7535ebc4f919745d8f6 /generic
parent3de3631fdf5eb8c739ffa94ce41104fe6b773d0b (diff)
downloadtkzinc-a13c664aaf1672b668aec6ed7a6932896de40c57.zip
tkzinc-a13c664aaf1672b668aec6ed7a6932896de40c57.tar.gz
tkzinc-a13c664aaf1672b668aec6ed7a6932896de40c57.tar.bz2
tkzinc-a13c664aaf1672b668aec6ed7a6932896de40c57.tar.xz
Suppressed traces
Diffstat (limited to 'generic')
-rw-r--r--generic/Image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/Image.c b/generic/Image.c
index 9db3b1b..7157bdf 100644
--- a/generic/Image.c
+++ b/generic/Image.c
@@ -954,7 +954,7 @@ ZnImageTex(ZnImage image,
unsigned int t_size, width, height;
if (!this->for_gl) {
- printf("Bogus use of an image, it was created for X11 and used in a GL context\n");
+ fprintf(stderr, "Bogus use of an image, it was created for X11 and used in a GL context\n");
return 0;
}
ZnSizeOfImage(image, &width, &height);
@@ -1231,13 +1231,13 @@ SuckGlyphsFromServer(ZnWInfo *wi,
tex_height = To2Power(tex_height);
tex_width = To2Power(tex_width);
if ((tex_height > ce->max_tex_size) || (tex_width > ce->max_tex_size)) {
- printf("Font doesn't fit into a texture\n");
+ fprintf(stderr, "Font doesn't fit into a texture\n");
goto FreeAndReturn;
}
txf->tex_width = tex_width;
txf->tex_height = tex_height;
- printf("(%s) Texture size is %d x %d for %d chars (max size: %d)\n",
- Tk_NameOfFont(font), txf->tex_width, txf->tex_height, txf->num_glyphs, ce->max_tex_size);
+ /*printf("(%s) Texture size is %d x %d for %d chars (max size: %d)\n",
+ Tk_NameOfFont(font), txf->tex_width, txf->tex_height, txf->num_glyphs, ce->max_tex_size);*/
/*
* Now render the font bits into the texture.