When you search for a framed gentleman painting, you encounter centuries of portraiture recording sitters from merchants to military officers.