1
0
mirror of https://github.com/gryf/urxvt-font.git synced 2026-03-18 22:13:33 +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:
noah
2012-11-17 06:06:02 -06:00
parent 032aa700f6
commit ba69503249

2
font
View File

@@ -48,7 +48,7 @@ sub _resize_xft_string
foreach my $piece (@pieces)
{
# Assumption: xft:fontname comes before pixelsize=whatever
$monaco ||= $piece =~ /Monaco/i;
$monaco ||= $piece =~ /^Monaco$/i;
# matching string
if ($piece =~ /pixelsize=(\d*)/)