I found several sites supporting tsuwm's opinion. It is from French "fanfaron"/ Rember the Scots used to have close ties to France.