[Bug 1224314] New: cannot change font size

bugzilla at redhat.com bugzilla at redhat.com
Fri May 22 14:05:17 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1224314

            Bug ID: 1224314
           Summary: cannot change font size
           Product: Fedora
           Version: 22
         Component: perl-Tk
          Assignee: andreas.bierfert at lowlatency.de
          Reporter: bugs at libertyland.org
        QA Contact: extras-qa at fedoraproject.org
                CC: andreas.bierfert at lowlatency.de,
                    perl-devel at lists.fedoraproject.org



Description of problem: the method fontCreate doesnt seem to be able to change
font size in fedora 22 beta (it works fine in fedora 21)


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

#!/usr/bin/perl
#
# This program simply puts up a window with "hello world fontsize=24"
# It works fine on fedora 21 but does not change font size on fedora 22.
#
# you need the package perl-Tk installed
#
use Tk;

my $sz = $ARGV[0] ? $ARGV[0] : 24;

$mw = MainWindow->new();
$mw->geometry("400x70");

$font = $mw->fontCreate(
        -size   => $sz,
        -weight => 'bold',
        -family => "Courier"
);

$mw->Message(
        -font   => $font,
        -width  => 300,
        -text   => "hello world fontsize=$sz",
)->pack;

MainLoop;

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the perl-devel mailing list