Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70951 - perl-tk 804.036-2 breaks font selection
Attached to Project:
Arch Linux
Opened by Steven Winikoff (smw) - Wednesday, 19 May 2021, 22:20 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 21 May 2021, 07:20 GMT
Opened by Steven Winikoff (smw) - Wednesday, 19 May 2021, 22:20 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 21 May 2021, 07:20 GMT
|
DetailsDescription: Perl/Tk scripts running with perl-tk-804.036-2 are unable to select font faces. The same script works fine with 804.036-1
Additional info: * package version(s) perl-tk-804.036-2 Steps to reproduce: Run any Perl/Tk script which tries to select a font face. The selected face should be displayed, but isn't, as in the two attached screen captures from this sample script: #!/usr/bin/perl use Tk; my $mw = MainWindow->new(-title => 'Font Example'); my $font1 = 'Mono 12'; my $font2 = '{Monotype Sorts} 12'; my $text = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789'; my $t1 = $mw->Message(-text=>$text , -font=>$font1, -width=>800); $t1->pack(); my $t2 = $mw->Message(-text=>$text , -font=>$font2, -width=>800); $t2->pack(); MainLoop; |
This task depends upon

The current vresion of perl-tk uses libx11, which can only display bitmap fonts. perl-tk-xft in the AUR (https://aur.archlinux.org/packages/perl-tk-xft/) uses libxft, which can display TrueType fonts.