Shaping glass in contact with the surface of a liquid