20,741
edits
m (→Background) |
m (→Approach) |
||
Line 11: | Line 11: | ||
== Approach == | == Approach == | ||
since FlightGear uses OpenSceneGraph, and since [http://www.openscenegraph.org/index.php/documentation/user-guides/61-osgplugins OSG supports TXF file], we might be able use Nasal/Canvas to display a list of fonts and even preview them inside fgfs by simply rendering them as a raster image. | since FlightGear uses OpenSceneGraph, and since [http://www.openscenegraph.org/index.php/documentation/user-guides/61-osgplugins OSG supports TXF file], we might be able use Nasal/Canvas to display a list of fonts and even preview them inside fgfs by simply rendering them as a raster image using the canvas image element. | ||
To see for yourself, modify the Canvas image example to point to a font file: | To see for yourself, modify the Canvas image example to point to a font file: |