From ba69503249203217bd7555dc5dac8c451b19abd4 Mon Sep 17 00:00:00 2001 From: noah Date: Sat, 17 Nov 2012 06:06:02 -0600 Subject: [PATCH] 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 --- font | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/font b/font index 147612c..3b781eb 100755 --- a/font +++ b/font @@ -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*)/)