Dr._Valy_G._Rousse
August 23rd, 2014, 10:51 PM
Hello,
I wrote a ray-tracing class that can handle primitives such as spheres, boxes, planes, polygons, cones, ..., and CSG objects. Now I would like to be able to render text. I can do it by describing the shape of a given character with a Bézier curve.
Since I read that truetype fonts are described by Bézier curves, I would like to know how I can extract from a truetype file the Bézier path of a given character?
I wrote a ray-tracing class that can handle primitives such as spheres, boxes, planes, polygons, cones, ..., and CSG objects. Now I would like to be able to render text. I can do it by describing the shape of a given character with a Bézier curve.
Since I read that truetype fonts are described by Bézier curves, I would like to know how I can extract from a truetype file the Bézier path of a given character?