83 void setCharacteristics (
const String& fontFamily,
float ascent,
84 bool isBold,
bool isItalic,
96 void setCharacteristics (
const String& fontFamily,
const String& fontStyle,
97 float ascent,
juce_wchar defaultCharacter)
noexcept;
107 void addGlyph (
juce_wchar character,
const Path& path,
float width)
noexcept;
118 void addGlyphsFromOtherTypeface (
Typeface& typefaceToCopy,
juce_wchar characterStartIndex,
int numCharacters)
noexcept;
132 float getAscent()
const override;
133 float getDescent()
const override;
134 float getHeightToPointsFactor()
const override;
135 float getStringWidth (
const String&)
override;
137 bool getOutlineForGlyph (
int glyphNumber,
Path&)
override;
152 virtual bool loadGlyphIfPossible (
juce_wchar characterNeeded);
158 short lookupTable[128];
Holds a resizable array of primitive or copy-by-value objects.
A typeface that can be populated with custom glyphs.
A table of horizontal scan-line segments - used for rasterising Paths.
The base class for streams that write data to some kind of destination.
An array designed for holding objects.
A path is a sequence of lines and curves that may either form a closed shape or be open-ended.
A typeface represents a size-independent font.
wchar_t juce_wchar
A platform-independent 32-bit unicode character type.