Stylus typography functions and type conversion