|
WEBCORE_EXPORT | FontCascade () |
|
WEBCORE_EXPORT | FontCascade (const FontCascadeDescription &, float letterSpacing=0, float wordSpacing=0) |
|
WEBCORE_EXPORT | FontCascade (const FontPlatformData &, FontSmoothingMode=AutoSmoothing) |
|
| FontCascade (const FontCascade &) |
|
WEBCORE_EXPORT FontCascade & | operator= (const FontCascade &) |
|
WEBCORE_EXPORT bool | operator== (const FontCascade &other) const |
|
bool | operator!= (const FontCascade &other) const |
|
const FontCascadeDescription & | fontDescription () const |
|
int | pixelSize () const |
|
float | size () const |
|
WEBCORE_EXPORT void | update (RefPtr< FontSelector > &&=nullptr) const |
|
WEBCORE_EXPORT float | drawText (GraphicsContext &, const TextRun &, const FloatPoint &, unsigned from=0, std::optional< unsigned > to=std::nullopt, CustomFontNotReadyAction=DoNotPaintIfFontNotReady) const |
|
void | drawEmphasisMarks (GraphicsContext &, const TextRun &, const AtomicString &mark, const FloatPoint &, unsigned from=0, std::optional< unsigned > to=std::nullopt) const |
|
DashArray | dashesForIntersectionsWithRect (const TextRun &, const FloatPoint &textOrigin, const FloatRect &lineExtents) const |
|
WEBCORE_EXPORT float | width (const TextRun &, HashSet< const Font *> *fallbackFonts=0, GlyphOverflow *=0) const |
|
float | widthForSimpleText (StringView text) const |
|
std::unique_ptr< TextLayout, TextLayoutDeleter > | createLayout (RenderText &, float xPos, bool collapseWhiteSpace) const |
|
int | offsetForPosition (const TextRun &, float position, bool includePartialGlyphs) const |
|
void | adjustSelectionRectForText (const TextRun &, LayoutRect &selectionRect, unsigned from=0, std::optional< unsigned > to=std::nullopt) const |
|
bool | isSmallCaps () const |
|
float | wordSpacing () const |
|
float | letterSpacing () const |
|
void | setWordSpacing (float s) |
|
void | setLetterSpacing (float s) |
|
bool | isFixedPitch () const |
|
FontRenderingMode | renderingMode () const |
|
bool | enableKerning () const |
|
bool | requiresShaping () const |
|
const AtomicString & | firstFamily () const |
|
unsigned | familyCount () const |
|
const AtomicString & | familyAt (unsigned i) const |
|
FontSelectionValue | italic () const |
|
FontSelectionValue | weight () const |
|
FontWidthVariant | widthVariant () const |
|
bool | isPlatformFont () const |
|
const FontMetrics & | fontMetrics () const |
|
float | spaceWidth () const |
|
float | tabWidth (const Font &, unsigned tabSize, float position) const |
|
float | tabWidth (unsigned tabSize, float position) const |
|
bool | hasValidAverageCharWidth () const |
|
bool | fastAverageCharWidthIfAvailable (float &width) const |
|
int | emphasisMarkAscent (const AtomicString &) const |
|
int | emphasisMarkDescent (const AtomicString &) const |
|
int | emphasisMarkHeight (const AtomicString &) const |
|
const Font & | primaryFont () const |
|
const FontRanges & | fallbackRangesAt (unsigned) const |
|
GlyphData | glyphDataForCharacter (UChar32, bool mirror, FontVariant=AutoVariant) const |
|
const Font * | fontForCombiningCharacterSequence (const UChar *, size_t length) const |
|
CodePath | codePath (const TextRun &) const |
|
bool | primaryFontIsSystemFont () const |
|
WeakPtr< FontCascade > | createWeakPtr () const |
|
FontSelector * | fontSelector () const |
|
bool | useBackslashAsYenSymbol () const |
|
FontCascadeFonts * | fonts () const |
|
WEBCORE_EXPORT | FontCascade () |
|
WEBCORE_EXPORT | FontCascade (const FontCascadeDescription &, float letterSpacing=0, float wordSpacing=0) |
|
WEBCORE_EXPORT | FontCascade (const FontPlatformData &, FontSmoothingMode=AutoSmoothing) |
|
| FontCascade (const FontCascade &) |
|
WEBCORE_EXPORT FontCascade & | operator= (const FontCascade &) |
|
WEBCORE_EXPORT bool | operator== (const FontCascade &other) const |
|
bool | operator!= (const FontCascade &other) const |
|
const FontCascadeDescription & | fontDescription () const |
|
int | pixelSize () const |
|
float | size () const |
|
WEBCORE_EXPORT void | update (RefPtr< FontSelector > &&=nullptr) const |
|
WEBCORE_EXPORT float | drawText (GraphicsContext &, const TextRun &, const FloatPoint &, unsigned from=0, std::optional< unsigned > to=std::nullopt, CustomFontNotReadyAction=DoNotPaintIfFontNotReady) const |
|
void | drawEmphasisMarks (GraphicsContext &, const TextRun &, const AtomicString &mark, const FloatPoint &, unsigned from=0, std::optional< unsigned > to=std::nullopt) const |
|
DashArray | dashesForIntersectionsWithRect (const TextRun &, const FloatPoint &textOrigin, const FloatRect &lineExtents) const |
|
WEBCORE_EXPORT float | width (const TextRun &, HashSet< const Font *> *fallbackFonts=0, GlyphOverflow *=0) const |
|
float | widthForSimpleText (StringView text) const |
|
std::unique_ptr< TextLayout, TextLayoutDeleter > | createLayout (RenderText &, float xPos, bool collapseWhiteSpace) const |
|
int | offsetForPosition (const TextRun &, float position, bool includePartialGlyphs) const |
|
void | adjustSelectionRectForText (const TextRun &, LayoutRect &selectionRect, unsigned from=0, std::optional< unsigned > to=std::nullopt) const |
|
bool | isSmallCaps () const |
|
float | wordSpacing () const |
|
float | letterSpacing () const |
|
void | setWordSpacing (float s) |
|
void | setLetterSpacing (float s) |
|
bool | isFixedPitch () const |
|
FontRenderingMode | renderingMode () const |
|
bool | enableKerning () const |
|
bool | requiresShaping () const |
|
const AtomicString & | firstFamily () const |
|
unsigned | familyCount () const |
|
const AtomicString & | familyAt (unsigned i) const |
|
FontSelectionValue | italic () const |
|
FontSelectionValue | weight () const |
|
FontWidthVariant | widthVariant () const |
|
bool | isPlatformFont () const |
|
const FontMetrics & | fontMetrics () const |
|
float | spaceWidth () const |
|
float | tabWidth (const Font &, unsigned tabSize, float position) const |
|
float | tabWidth (unsigned tabSize, float position) const |
|
bool | hasValidAverageCharWidth () const |
|
bool | fastAverageCharWidthIfAvailable (float &width) const |
|
int | emphasisMarkAscent (const AtomicString &) const |
|
int | emphasisMarkDescent (const AtomicString &) const |
|
int | emphasisMarkHeight (const AtomicString &) const |
|
const Font & | primaryFont () const |
|
const FontRanges & | fallbackRangesAt (unsigned) const |
|
GlyphData | glyphDataForCharacter (UChar32, bool mirror, FontVariant=AutoVariant) const |
|
const Font * | fontForCombiningCharacterSequence (const UChar *, size_t length) const |
|
CodePath | codePath (const TextRun &) const |
|
bool | primaryFontIsSystemFont () const |
|
WeakPtr< FontCascade > | createWeakPtr () const |
|
FontSelector * | fontSelector () const |
|
bool | useBackslashAsYenSymbol () const |
|
FontCascadeFonts * | fonts () const |
|
|
static void | drawGlyphs (GraphicsContext &, const Font &, const GlyphBuffer &, unsigned from, unsigned numGlyphs, const FloatPoint &, FontSmoothingMode) |
|
static float | width (TextLayout &, unsigned from, unsigned len, HashSet< const Font *> *fallbackFonts=0) |
|
static bool | isCJKIdeograph (UChar32) |
|
static bool | isCJKIdeographOrSymbol (UChar32) |
|
static std::pair< unsigned, bool > | expansionOpportunityCount (const StringView &, TextDirection, ExpansionBehavior) |
|
static bool | leadingExpansionOpportunity (const StringView &, TextDirection) |
|
static bool | trailingExpansionOpportunity (const StringView &, TextDirection) |
|
static WEBCORE_EXPORT void | setShouldUseSmoothing (bool) |
|
static WEBCORE_EXPORT bool | shouldUseSmoothing () |
|
static CodePath | characterRangeCodePath (const LChar *, unsigned) |
|
static CodePath | characterRangeCodePath (const UChar *, unsigned len) |
|
static WEBCORE_EXPORT void | setCodePath (CodePath) |
|
static CodePath | codePath () |
|
static bool | treatAsSpace (UChar c) |
|
static bool | treatAsZeroWidthSpace (UChar c) |
|
static bool | treatAsZeroWidthSpaceInComplexScript (UChar c) |
|
static bool | canReceiveTextEmphasis (UChar32) |
|
static UChar | normalizeSpaces (UChar character) |
|
static String | normalizeSpaces (const LChar *, unsigned length) |
|
static String | normalizeSpaces (const UChar *, unsigned length) |
|
static void | drawGlyphs (GraphicsContext &, const Font &, const GlyphBuffer &, unsigned from, unsigned numGlyphs, const FloatPoint &, FontSmoothingMode) |
|
static float | width (TextLayout &, unsigned from, unsigned len, HashSet< const Font *> *fallbackFonts=0) |
|
static bool | isCJKIdeograph (UChar32) |
|
static bool | isCJKIdeographOrSymbol (UChar32) |
|
static std::pair< unsigned, bool > | expansionOpportunityCount (const StringView &, TextDirection, ExpansionBehavior) |
|
static bool | leadingExpansionOpportunity (const StringView &, TextDirection) |
|
static bool | trailingExpansionOpportunity (const StringView &, TextDirection) |
|
static WEBCORE_EXPORT void | setShouldUseSmoothing (bool) |
|
static WEBCORE_EXPORT bool | shouldUseSmoothing () |
|
static CodePath | characterRangeCodePath (const LChar *, unsigned) |
|
static CodePath | characterRangeCodePath (const UChar *, unsigned len) |
|
static WEBCORE_EXPORT void | setCodePath (CodePath) |
|
static CodePath | codePath () |
|
static bool | treatAsSpace (UChar c) |
|
static bool | treatAsZeroWidthSpace (UChar c) |
|
static bool | treatAsZeroWidthSpaceInComplexScript (UChar c) |
|
static bool | canReceiveTextEmphasis (UChar32) |
|
static UChar | normalizeSpaces (UChar character) |
|
static String | normalizeSpaces (const LChar *, unsigned length) |
|
static String | normalizeSpaces (const UChar *, unsigned length) |
|