Inferring pronunciation from spelling is very regular in French; the reverse, not so: there may be many ways to spell a sound like “o”, each with a different meaning.