Add a method to String:Class to get width and height of text for given string and xft-font
shura
gem "xftdim", "~> 0.0.1"