functions: add offset option to the line-height function