Bug 1224314

Summary: cannot change font size
Product: [Fedora] Fedora Reporter: Mac <bugs>
Component: perl-TkAssignee: Andreas Bierfert <andreas.bierfert>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: andreas.bierfert, perl-devel, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-07 13:42:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mac 2015-05-22 14:05:17 UTC
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;

Comment 1 Rex Dieter 2015-06-07 13:42:51 UTC
Reportedly fixed after recent fontconfig update,
https://admin.fedoraproject.org/updates/FEDORA-2015-9400/fontconfig-2.11.94-1.fc22

Marking as a dup

*** This bug has been marked as a duplicate of bug 1226522 ***