Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1853802

Summary: font selection is broken on perl-Tk-804.035-1.fc32.x86_64
Product: [Fedora] Fedora Reporter: Mauro Carvalho Chehab <mchehab>
Component: perl-TkAssignee: Xavier Bachelot <xavier>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: andreas.bierfert, perl-devel, ppisar, tremble, xavier
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: perl-Tk-804.036-3.fc34 perl-Tk-804.036-3.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-08 00:57:08 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:
Attachments:
Description Flags
Fix truetype support on Perl Tk none

Description Mauro Carvalho Chehab 2020-07-04 09:53:44 UTC
Description of problem:

After upgrading to perl-Tk-804.035-1.fc32.x86_64, the Tk widgets stopped honoring the font selection.

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

perl-Tk-804.035-1.fc32.x86_64


How reproducible:

Just try to select a font on a widget with:

   my $fontfamily = "Bitstream Vera Sans Mono";
   $font = $topWin->Font(family  => $fontfamily, size => 12);

and use it on a Tk widget.

Reverting to perl-Tk-804.034-8.fc32.x86_64.rpm solves the issue.

Comment 1 Petr Pisar 2020-07-07 07:08:25 UTC
FreeType support was disabled in perl-Tk, because the tests started to fail because of a new FreeType library of fonts (bug #1803711).

Comment 2 Mauro Carvalho Chehab 2020-11-16 13:09:59 UTC
Bug is still present on perl-Tk-804.035-4.fc33.x86_64

Comment 3 Mauro Carvalho Chehab 2021-06-01 08:57:56 UTC
Created attachment 1788436 [details]
Fix truetype support on Perl Tk

The bug is still present on Fedora 34, and the fix I submitted at:

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

still works. Please apply it upstream, as it has this bug is at Fedora for more than a 1 year, even having a simple fix for it!

Comment 4 Fedora Update System 2021-06-29 08:30:33 UTC
FEDORA-2021-639b8bfb6e has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-639b8bfb6e

Comment 5 Fedora Update System 2021-06-29 08:30:35 UTC
FEDORA-2021-49127bd223 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-49127bd223

Comment 6 Fedora Update System 2021-06-30 14:20:00 UTC
FEDORA-2021-49127bd223 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-49127bd223`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-49127bd223

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-06-30 14:24:30 UTC
FEDORA-2021-639b8bfb6e has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-639b8bfb6e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-639b8bfb6e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-07-08 00:57:08 UTC
FEDORA-2021-639b8bfb6e has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2021-07-08 01:07:49 UTC
FEDORA-2021-49127bd223 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.