The thing is called "tracing" and quite common.
The actual code (which means the ttf/otf) is protected under copyright. The shape of a letter isn't and can't be by any form of IP.
So: You're not allowed to redistribute the font file but creating your own font which just happens to look alike is perfectly fine.