... | ... | @@ -902,10 +902,13 @@ end |
|
|
</tr>
|
|
|
</table>
|
|
|
|
|
|
```font()```
|
|
|
|
|
|
```font(ttf)```
|
|
|
|
|
|
Creates a font object based on the font described in the TrueType Font file ```ttf```.
|
|
|
Creates a font object based either using the default font provided by IceSL or the font described in the TrueType Font file ```ttf```.
|
|
|
* ```ttf```: TrueType Font file
|
|
|
|
|
|
The interface to the font object is the following:
|
|
|
* ```str(string, tracking)``` : Returns a 3D geometry of the string ```string```. If present, the font's [kerning](https://en.wikipedia.org/wiki/Kerning) information is added to ```tracking``` [tracking](https://en.wikipedia.org/wiki/Letter-spacing).
|
|
|
|
... | ... | |