Thread: [Tuxpaint-devel] bugs
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Albert C. <aca...@gm...> - 2007-11-26 05:50:47
|
First of all, I got a crash. Those of you with fast machines might want to make a habit of running tuxpaint under valgrind. Second of all, stamps don't work with 15 BPP. Third of all, there are two fonts that are terribly defective. The clone of Comic Sans gives me weird stuff when I type non-ASCII stuff like the multiplication symbol. There is another font that won't even do ASCII right. |
|
From: Bill K. <nb...@so...> - 2007-11-29 17:12:58
|
On Mon, Nov 26, 2007 at 12:50:51AM -0500, Albert Cahalan wrote: > First of all, I got a crash. Where'bouts? > Those of you with fast machines might want to make a habit of > running tuxpaint under valgrind. Yes, it'd be a good habit. Tux Paint's Quality Assurance is close to nil these days, sadly. <:^Z When's someone gonna pay me to do this project fulltime? ;^) > Second of all, stamps don't work with 15 BPP. Ah, I see... unscaling. I'll make a note. > Third of all, there are two fonts that are terribly > defective. The clone of Comic Sans gives me > weird stuff when I type non-ASCII stuff like the > multiplication symbol. There is another font > that won't even do ASCII right. Happen to know their filenames offhand? (I'll dig, in the meantime.) Thanks! -- -bill! bi...@ne... http://www.newbreedsoftware.com/ |
|
From: Caroline F. <car...@go...> - 2007-11-30 20:26:03
|
On Thu, 2007-11-29 at 09:12 -0800, Bill Kendrick wrote: > On Mon, Nov 26, 2007 at 12:50:51AM -0500, Albert Cahalan wrote: > > First of all, I got a crash. > > Where'bouts? > > > > Those of you with fast machines might want to make a habit of > > running tuxpaint under valgrind. > > Yes, it'd be a good habit. Tux Paint's Quality Assurance is close to > nil these days, sadly. <:^Z When's someone gonna pay me to do this > project fulltime? ;^) is there a way of "making" tuxpaint with debug symbols in? Caroline |
|
From: Bill K. <nb...@so...> - 2007-11-29 17:21:27
|
On Mon, Nov 26, 2007 at 12:50:51AM -0500, Albert Cahalan wrote: > > Third of all, there are two fonts that are terribly > defective. The clone of Comic Sans gives me > weird stuff when I type non-ASCII stuff like the > multiplication symbol. There is another font > that won't even do ASCII right. ta.ttf, the Tamil font. We should consider only loading locale fonts and showing them in the Text tool when that locale is being used... -bill! Cc'ing tuxpaint-i18n -- -bill! bi...@ne... http://www.newbreedsoftware.com/ |
|
From: Albert C. <aca...@gm...> - 2007-11-29 17:54:29
|
On Nov 29, 2007 12:21 PM, Bill Kendrick <nb...@so...> wrote: > On Mon, Nov 26, 2007 at 12:50:51AM -0500, Albert Cahalan wrote: > > > > Third of all, there are two fonts that are terribly > > defective. The clone of Comic Sans gives me > > weird stuff when I type non-ASCII stuff like the > > multiplication symbol. There is another font > > that won't even do ASCII right. > > ta.ttf, the Tamil font. We should consider only loading > locale fonts and showing them in the Text tool when that > locale is being used... I doubt that font is even good for Tamil. Fonts are supposed to have Unicode tables. The OS is supposed to let you type in Unicode. One should be able to mix Tamil with ASCII. If that font is used on a modern system, do you just get rectangular boxes when you type Tamil? Typing ASCII to get Tamil is wrong. You should type Tamil if you want Tamil. Fontforge can be used to recode the font. |
|
From: Bill K. <nb...@so...> - 2007-12-04 17:19:30
|
On Thu, Nov 29, 2007 at 12:54:27PM -0500, Albert Cahalan wrote:
>
> I doubt that font is even good for Tamil.
>
> Fonts are supposed to have Unicode tables.
> The OS is supposed to let you type in Unicode.
> One should be able to mix Tamil with ASCII.
>
> If that font is used on a modern system, do you
> just get rectangular boxes when you type Tamil?
> Typing ASCII to get Tamil is wrong. You should type
> Tamil if you want Tamil.
>
> Fontforge can be used to recode the font.
Problems include:
* This is the only font we have for Tamil right now
* The PO file for Tamil is written such that it works with this font
(i.e., it's not 'written' using Unicode Tamil characters.)
We need to find someone knowledgable in Tamil to correct both of these
issues.
--
-bill!
bi...@ne...
http://www.newbreedsoftware.com/
|
|
From: Caroline F. <car...@go...> - 2007-11-30 22:15:21
|
On Thu, 2007-11-29 at 09:12 -0800, Bill Kendrick wrote: > > Yes, it'd be a good habit. Tux Paint's Quality Assurance is close to > nil these days, sadly. <:^Z When's someone gonna pay me to do this > project fulltime? ;^) > > > > Second of all, stamps don't work with 15 BPP. I know this is a little late but I can't seem to get 0.9.18 to compile on Ubuntu Dapper. 0.9.17 compiled fine, but 0.9.18 complains with: /usr/bin/ld: cannot find -lSDL_Pango collect2: ld returned 1 exit status make: *** [tuxpaint] Error 1 I don't think Ubuntu Dapper 6.06 LTS has the SDL Pango package. It has a ttf one which I have installed. According to packages.ubuntu.com libsdl-pango1 first makes its appearance in Ubuntu feisty. I'm puzzled why 0.9.17 compiled fine.. Caroline |
|
From: Bill K. <nb...@so...> - 2007-11-30 22:19:23
|
On Fri, Nov 30, 2007 at 10:25:23PM +0000, Caroline Ford wrote: > I don't think Ubuntu Dapper 6.06 LTS has the SDL Pango package. It has a > ttf one which I have installed. According to packages.ubuntu.com > libsdl-pango1 first makes its appearance in Ubuntu feisty. I'm puzzled > why 0.9.17 compiled fine.. FYI Pango support was added to Tux Paint in this version (0.9.18). Do you have the -dev packages, too? -bill! |
|
From: Caroline F. <car...@go...> - 2007-11-30 22:27:18
|
On Fri, 2007-11-30 at 14:19 -0800, Bill Kendrick wrote: > On Fri, Nov 30, 2007 at 10:25:23PM +0000, Caroline Ford wrote: > > I don't think Ubuntu Dapper 6.06 LTS has the SDL Pango package. It has a > > ttf one which I have installed. According to packages.ubuntu.com > > libsdl-pango1 first makes its appearance in Ubuntu feisty. I'm puzzled > > why 0.9.17 compiled fine.. > > FYI Pango support was added to Tux Paint in this version (0.9.18). > Do you have the -dev packages, too? > > -bill! Ah - I though it was added in 0.9.17.. (now this makes sense..) Dapper (and Edgy) don't have any of the SDL-pango packages. I've downloaded and compiled SDL_Pango but it's still not happy complaining with: ...Linking Tux Paint... obj/tuxpaint.o: In function `wordwrap_text_ex':tuxpaint.c:(.text +0x3ec0): undefined reference to `SDLPango_SetText_GivenAlignment' obj/fonts.o: In function `TuxPaint_Font_OpenFont':fonts.c:(.text+0x137): undefined reference to `SDLPango_CreateContext_GivenFontDesc' collect2: ld returned 1 exit status make: *** [tuxpaint] Error 1 Caroline |
|
From: Bill K. <nb...@so...> - 2007-12-04 17:21:33
|
On Fri, Nov 30, 2007 at 10:37:21PM +0000, Caroline Ford wrote: > Ah - I though it was added in 0.9.17.. (now this makes sense..) > > Dapper (and Edgy) don't have any of the SDL-pango packages. I've > downloaded and compiled SDL_Pango but it's still not happy complaining > with: <snip> So until someone decides it's worth backporting the latest Pango and SDL_Pango to Edgy and Dapper, builds for those version of Ubuntu will need Pango support disabled, I guess. Sorry :( (Similar to what Shin-Ichi did for Fedora CORE 4 and earlier, and what John will be doing for Windows 95/98/ME.) -- -bill! bi...@ne... http://www.newbreedsoftware.com/ |
|
From: Caroline F. <car...@go...> - 2007-11-30 22:45:08
|
On Fri, 2007-11-30 at 14:19 -0800, Bill Kendrick wrote: > On Fri, Nov 30, 2007 at 10:25:23PM +0000, Caroline Ford wrote: > > I don't think Ubuntu Dapper 6.06 LTS has the SDL Pango package. It has a > > ttf one which I have installed. According to packages.ubuntu.com > > libsdl-pango1 first makes its appearance in Ubuntu feisty. I'm puzzled > > why 0.9.17 compiled fine.. > > FYI Pango support was added to Tux Paint in this version (0.9.18). > Do you have the -dev packages, too? > > -bill! make nopango produces more errors: secret@eser:/media/feisty/home/secret/Music/tuxpaint-0.9.18$ make nopango Building with Pango DISABLED make NOPANGOFLAG=NO_SDLPANGO SDL_PANGO_LIB= make[1]: Entering directory `/media/feisty/home/secret/Music/tuxpaint-0.9.18' ...Linking Tux Paint... obj/tuxpaint.o: In function `wordwrap_text_ex':tuxpaint.c:(.text +0x3e39): undefined reference to `SDLPango_SetDefaultColor' :tuxpaint.c:(.text+0x3e5c): undefined reference to `SDLPango_SetMinimumSize' :tuxpaint.c:(.text+0x3e87): undefined reference to `SDLPango_SetBaseDirection' :tuxpaint.c:(.text+0x3ec0): undefined reference to `SDLPango_SetText_GivenAlignment' :tuxpaint.c:(.text+0x3ecd): undefined reference to `SDLPango_CreateSurfaceDraw' :tuxpaint.c:(.text+0x3f66): undefined reference to `SDLPango_SetBaseDirection' obj/tuxpaint.o: In function `render_text':tuxpaint.c:(.text+0x642d): undefined reference to `SDLPango_SetDefaultColor' :tuxpaint.c:(.text+0x6443): undefined reference to `SDLPango_SetText' :tuxpaint.c:(.text+0x644d): undefined reference to `SDLPango_CreateSurfaceDraw' obj/tuxpaint.o: In function `do_render_cur_text':tuxpaint.c:(.text +0xa2e9): undefined reference to `SDLPango_SetDefaultColor' :tuxpaint.c:(.text+0xa490): undefined reference to `SDLPango_SetText' :tuxpaint.c:(.text+0xa49d): undefined reference to `SDLPango_CreateSurfaceDraw' obj/tuxpaint.o: In function `main':tuxpaint.c:(.text+0x16f71): undefined reference to `SDLPango_Init' obj/fonts.o: In function `TuxPaint_Font_CloseFont':fonts.c:(.text+0x38): undefined reference to `SDLPango_FreeContext' obj/fonts.o: In function `TuxPaint_Font_OpenFont':fonts.c:(.text+0x137): undefined reference to `SDLPango_CreateContext_GivenFontDesc' obj/fonts.o: In function `charset_works':fonts.c:(.text+0x1ba0): undefined reference to `SDLPango_SetDefaultColor' :fonts.c:(.text+0x1bb9): undefined reference to `SDLPango_SetText' :fonts.c:(.text+0x1bc6): undefined reference to `SDLPango_CreateSurfaceDraw' collect2: ld returned 1 exit status make[1]: *** [tuxpaint] Error 1 make[1]: Leaving directory `/media/feisty/home/secret/Music/tuxpaint-0.9.18' make: *** [nopango] Error 2 secret@eser:/media/feisty/home/secret/Music/tuxpaint-0.9.18$ This is on Ubuntu Dapper. I'll switch to my feisty partition and try there. Caroline |
|
From: Bill K. <nb...@so...> - 2007-12-04 17:38:01
|
On Fri, Nov 30, 2007 at 10:55:20PM +0000, Caroline Ford wrote:
> make nopango produces more errors:
>
> secret@eser:/media/feisty/home/secret/Music/tuxpaint-0.9.18$ make
> nopango
>
> Building with Pango DISABLED
>
> make NOPANGOFLAG=NO_SDLPANGO SDL_PANGO_LIB=
> make[1]: Entering directory
> `/media/feisty/home/secret/Music/tuxpaint-0.9.18'
>
> ...Linking Tux Paint...
> obj/tuxpaint.o: In function `wordwrap_text_ex':tuxpaint.c:(.text
> +0x3e39): undefined reference to `SDLPango_SetDefaultColor'
<snip>
I'm not seeing this. :^/
Additionally, I discovered that building w/o sound support wasn't
working. I've corrected it, and just build (on Ubuntu 7.10 Gutsy Gibbon)
minimal Tux Paint...
$ make SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG \
NOPANGOFLAG=NO_SDLPANGO SDL_PANGO_LIB= \
SDL_MIXER_LIB= NOSOUNDFLAG=NOSOUND
And here's the what it's linked against (output of "ldd ./tuxpaint"):
linux-gate.so.1 => (0xffffe000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7e4d000)
libSDL_image-1.2.so.0 => /usr/lib/libSDL_image-1.2.so.0 (0xb7e32000)
libSDL_ttf-2.0.so.0 => /usr/lib/libSDL_ttf-2.0.so.0 (0xb7e2c000)
libpaper.so.1 => /usr/lib/libpaper.so.1 (0xb7e29000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e04000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cba000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7c97000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb7bd1000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7bcc000)
libdirectfb-0.9.so.25 => /usr/lib/libdirectfb-0.9.so.25 (0xb7b75000)
libfusion-0.9.so.25 => /usr/lib/libfusion-0.9.so.25 (0xb7b6f000)
libdirect-0.9.so.25 => /usr/lib/libdirect-0.9.so.25 (0xb7b60000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7b48000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7b32000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7ac2000)
/lib/ld-linux.so.2 (0xb7ef3000)
-bill!
|
|
From: Karl O. H. <ka...@hu...> - 2007-12-07 20:27:25
|
Tysdag 4. desember 2007 skreiv Bill Kendrick: >Problems include: > >=A0 * This is the only font we have for Tamil right now >=A0 * The PO file for Tamil is written such that it works with this font >=A0 =A0 (i.e., it's not 'written' using Unicode Tamil characters.) This last problem is easy enough to correct, e.g., by using http://billposer.org/Software/tamilconverters.html =2D-=20 Karl Ove Hufthammer |