Added the getLineHeight as a native js method