Hello, Am using ActivePerl 5.8, PAR 8.5 module on Windows XP Thanks to previous help I am now able to package my perl scripts as stand alone executables on Windows. However when I package up a Tk script (Tk is fully integrated into ActivePerl) and it runs perfectly on my machine. However on other machines the resultant gui has garbled labels (basically all squares). Now I may be a newbie at Perl\Tk but I am a very experienced Sys Admin (both in windows and unix - so no comments about "experienced windows admins please) so I recognise this as a font not recognised issue. I changed the code to include the following;

my $info_frm = $mw->Frame(-relief => 'groove', -borderwidth => 2, -label => "This application is to install Libs", -labelFont=> 'Arial') ->pack;
to try and embed the font but no luck. As you can see the font I used is Arial (i.e. it IS on all windows) so it should be recognised. Also all the PCs I have tested it on are also Windows XP.

Thanks for any thoughts or pointers - or even the answer;).

Plotinus


In reply to Using pp with Tk garbles my lable fonts... by Plotinus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.