in reply to Tk fonts crash on Fedora

No problem here on Fedora release 7 (Moonshine). Output:
The version of Tk is '804.027001' The version of Tk::Font is '4.004' $VAR1 = "-family"; $VAR2 = "Nimbus Roman No9 L"; $VAR3 = "-size"; $VAR4 = -16; $VAR5 = "-weight"; $VAR6 = "bold"; $VAR7 = "-slant"; $VAR8 = "roman"; $VAR9 = "-underline"; $VAR10 = 0; $VAR11 = "-overstrike"; $VAR12 = 0; $VAR13 = [ [ "Nimbus Roman No9 L", "urw", "Unknown" ], [ "Nimbus Roman No9 L", "urw", "Unknown" ], [ "Liberation Serif", "unknown", "Unknown" ], ...more arrays... ]; Creating button 1... Creating button 2... Creating button 3...

Are you missing a font package? (Hint: urw-fonts ;-)

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
Re^2: Tk fonts crash on Fedora
by wulvrine (Friar) on Nov 29, 2007 at 16:52 UTC
    shmem
    Really? Does it still work if you add say 6 buttons?
    I looked and I am running same Tk (804.027) and Font (4.004) with fc6 and fc7.
    I wonder why yours is working at all. I have seen it do three but fail at 4 or 5.

    Also if it was a failed font package, wouldn't it seg fault at the first use? no?
    If I run it with just 2 buttons it loads (with what looks to be right font) and runs ok
    (other than the seg fault when exiting..which I also don't understand).

    Thanks for the help!!

    s&&VALKYRIE &&& print $_^q|!4 =+;' *|
      Yes, it just runs. 6,7...12 buttons, no problem.

      --shmem

      _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                    /\_¯/(q    /
      ----------------------------  \__(m.====·.(_("always off the crowd"))."·
      ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
        shmem
        Did you install your Tk via yum or via CPAN, apparently there is a difference (see comment in discussion with zentara). I had no idea. Thanks again for helping!

        s&&VALKYRIE &&& print $_^q|!4 =+;' *|