Font extrude degree circle

Today I got a question how to extrude a font from laying flat to standup with the side looking like a half circle. Could this be done in for example 40 degree.

You mean like this?

Typed out text, converted to mesh, used spin tool at angle of 40 degrees and set the x axis at -1 and the rest to 0.

Yes thats exactly what I meant.