Skip to content

Can't use OF_TTF_MONO as a font path anymore? #7810

@moebiussurfing

Description

@moebiussurfing
ofTrueTypeFont font
string p = OF_TTF_MONO;
bool b=font.load(p, 20, true, false, true);
ofLog() << (b ? "success" : "failed");
static const std::string OF_TTF_SANS = "sans-serif";
static const std::string OF_TTF_SERIF = "serif";
static const std::string OF_TTF_MONO = "monospace";

I remember using bundled OF_TTF_MONO font as a common path before in OF 0.11...
is it still possible to use it like this?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions