Bug 1224314 - cannot change font size
Summary: cannot change font size
Keywords:
Status: CLOSED DUPLICATE of bug 1226522
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Tk
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-22 14:05 UTC by Mac
Modified: 2015-06-07 13:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-07 13:42:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.