Text this: Distance to Spaces of Semicontinuous and Continuous Functions