Ipelib
|
#include <ipefonts.h>
Public Member Functions | |
~Fonts () | |
Face * | getFace (const PdfDict *d) |
const PdfResources * | resources () const noexcept |
Static Public Member Functions | |
static Fonts * | New (const PdfResources *resources) |
static cairo_font_face_t * | screenFont () |
static String | freetypeVersion () |
Provides the fonts used to render text.
Fonts::~Fonts | ( | ) |
Delete all the loaded Faces.
|
static |
Referenced by ipe::CanvasBase::setResources(), and ipe::Thumbnail::Thumbnail().
Get a typeface.
Corresponds to a Freetype "face", or a PDF font resource. A Face can be loaded at various sizes (transformations), resulting in individual FaceSize's.
|
static |
Return a Cairo font to render to the screen w/o Latex font.
Referenced by ipe::CairoPainter::doDrawText().
|
static |
|
inlinenoexcept |