|
| | FreeTypeTypeface (const Font &font) |
| | FreeTypeTypeface (const void *data, size_t dataSize) |
| void | initialiseCharacteristics (const String &fontName, const String &fontStyle) |
| bool | loadGlyphIfPossible (const juce_wchar character) |
| | CustomTypeface () |
| | CustomTypeface (InputStream &serialisedTypefaceStream) |
| | ~CustomTypeface () override |
| void | clear () |
| void | setCharacteristics (const String &fontFamily, float ascent, bool isBold, bool isItalic, juce_wchar defaultCharacter) noexcept |
| void | setCharacteristics (const String &fontFamily, const String &fontStyle, float ascent, juce_wchar defaultCharacter) noexcept |
| void | addGlyph (juce_wchar character, const Path &path, float width) noexcept |
| void | addKerningPair (juce_wchar char1, juce_wchar char2, float extraAmount) noexcept |
| void | addGlyphsFromOtherTypeface (Typeface &typefaceToCopy, juce_wchar characterStartIndex, int numCharacters) noexcept |
| bool | writeToStream (OutputStream &outputStream) |
| float | getAscent () const override |
| float | getDescent () const override |
| float | getHeightToPointsFactor () const override |
| float | getStringWidth (const String &) override |
| void | getGlyphPositions (const String &, Array< int > &glyphs, Array< float > &xOffsets) override |
| bool | getOutlineForGlyph (int glyphNumber, Path &) override |
| EdgeTable * | getEdgeTableForGlyph (int glyphNumber, const AffineTransform &, float fontHeight) override |
| const String & | getName () const noexcept |
| const String & | getStyle () const noexcept |
| | ~Typeface () override |
| virtual bool | isSuitableForFont (const Font &) const |
| virtual bool | isHinted () const |
| void | applyVerticalHintingTransform (float fontHeight, Path &path) |
| void | incReferenceCount () noexcept |
| void | decReferenceCount () noexcept |
| bool | decReferenceCountWithoutDeleting () noexcept |
| int | getReferenceCount () const noexcept |
◆ FreeTypeTypeface() [1/2]
| juce::FreeTypeTypeface::FreeTypeTypeface |
( |
const Font & | font | ) |
|
|
inline |
◆ FreeTypeTypeface() [2/2]
| juce::FreeTypeTypeface::FreeTypeTypeface |
( |
const void * | data, |
|
|
size_t | dataSize ) |
|
inline |
◆ addKerning()
◆ getGlyphShape()
| bool juce::FreeTypeTypeface::getGlyphShape |
( |
Path & | destShape, |
|
|
const FT_Outline & | outline, |
|
|
float | scaleX ) |
|
inlineprivate |
◆ initialiseCharacteristics()
◆ loadGlyphIfPossible()
| bool juce::FreeTypeTypeface::loadGlyphIfPossible |
( |
const juce_wchar | characterNeeded | ) |
|
|
inlinevirtual |
If a subclass overrides this, it can load glyphs into the font on-demand. When methods such as getGlyphPositions() or getOutlineForGlyph() are asked for a particular character and there's no corresponding glyph, they'll call this method so that a subclass can try to add that glyph, returning true if it manages to do so.
Reimplemented from juce::CustomTypeface.
◆ faceWrapper
The documentation for this class was generated from the following file:
- /home/runner/work/lmms-fork/lmms-fork/plugins/CarlaBase/carla/source/modules/juce_graphics/native/juce_freetype_Fonts.cpp