mirror of
https://github.com/gryf/urxvt-font.git
synced 2026-03-22 20:33:31 +01:00
don't match other monacos on linux, which might not be broken
for example: https://gist.github.com/1634235 incidentally, that's awesome, thanks @epegzz
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/i;
|
$monaco ||= $piece =~ /^Monaco$/i;
|
||||||
|
|
||||||
# matching string
|
# matching string
|
||||||
if ($piece =~ /pixelsize=(\d*)/)
|
if ($piece =~ /pixelsize=(\d*)/)
|
||||||
|
|||||||
Reference in New Issue
Block a user