NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
font.h File Reference
#include "svgparserutils.h"
#include "render/path.h"
#include "render/font.h"
#include <string>
#include <string_view>
#include <cctype>
#include <cstddef>
#include <utility>
#include <vector>
Include dependency graph for font.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  novasvg::FontFace
 
class  novasvg::FontFaceCache
 
class  novasvg::Font
 
struct  novasvg::Font::GlyphBox
 

Namespaces

namespace  novasvg
 Main namespace for the NovaSVG library.
 

Functions

FontFace novasvg::embeddedFallbackFont (bool bold=false, bool italic=false)
 
FontFaceCache * novasvg::fontFaceCache ()
 
bool novasvg::addFontFaceFromFile (const char *family, bool bold, bool italic, const char *filename)
 Add a font face from a file to the cache.
 
bool novasvg::addFontFaceFromData (const char *family, bool bold, bool italic, const void *data, size_t length, novasvg_destroy_func_t destroy_func, void *closure)
 Add a font face from memory to the cache.