|
Hershey Vector Fonts 0.1.0
A C++ library for working with the Hershey vector fonts
|
A Hershey vector font family. More...
#include <fontfamily.hpp>
Public Member Functions | |
| FontFamily (std::string name, bool rm, bool it, bool sc, bool gr) | |
| Create a new font family. | |
| Font | get_font (std::string font) |
| Get a font. | |
A Hershey vector font family.
| FontFamily::FontFamily | ( | std::string | name, |
| bool | rm, | ||
| bool | it, | ||
| bool | sc, | ||
| bool | gr | ||
| ) |
Create a new font family.
| name | The name of the font family. |
| rm | Whether the family contains a roman font. |
| it | Whether the family contains a italic font. |
| sc | Whether the family contains a script font. |
| gr | Whether the family contains a Greek font. |
| Font FontFamily::get_font | ( | std::string | font | ) |
Get a font.
| font | The font to get. |
| The | requested font. |