mirror of
https://github.com/gryf/urxvt-font.git
synced 2026-03-19 02:53:32 +01:00
bugfix: font string comparisons should be case-insensitive
This commit is contained in:
2
font
2
font
@@ -48,7 +48,7 @@ sub _resize_xft_string
|
|||||||
foreach my $piece (@pieces)
|
foreach my $piece (@pieces)
|
||||||
{
|
{
|
||||||
# Assumption: xft:fontname comes before pixelsize=whatever
|
# Assumption: xft:fontname comes before pixelsize=whatever
|
||||||
$monaco ||= $piece =~ /Monaco/;
|
$monaco ||= $piece =~ /Monaco/i;
|
||||||
|
|
||||||
# matching string
|
# matching string
|
||||||
if ($piece =~ /pixelsize=(\d*)/)
|
if ($piece =~ /pixelsize=(\d*)/)
|
||||||
|
|||||||
Reference in New Issue
Block a user