NovaSVG 0.11.5
An SVG library
Loading...
Searching...
No Matches
font.h File Reference
#include "../config.h"
#include <string>
Include dependency graph for font.h:

Go to the source code of this file.

Namespaces

namespace  nova
namespace  nova::vg

Functions

int nova::vg::add_font_file (const std::string &path)
 Registers every face in a font file with the font cache that text rendering and measure_text() use.
void nova::vg::set_system_fonts_enabled (bool enabled)
 Whether the fonts installed on the machine are used for text. They are by default.
bool nova::vg::system_fonts_enabled ()
 The setting of set_system_fonts_enabled().