Lines Matching defs:Font
25 #include "core/platform/graphics/Font.h"
45 WebCore::Font::deleteLayout(ptr);
52 const uint8_t Font::s_roundingHackCharacterTable[256] = {
84 Font::CodePath Font::s_codePath = Auto;
86 TypesettingFeatures Font::s_defaultTypesettingFeatures = 0;
89 // Font Implementation (Cross-Platform Portion)
92 Font::Font()
101 Font::Font(const FontDescription& fd, float letterSpacing, float wordSpacing)
111 Font::Font(const FontPlatformData& fontData, bool isPrinterFont, FontSmoothingMode fontSmoothingMode)
124 Font::Font(const Font& other)
135 Font& Font::operator=(const Font& other)
147 bool Font::operator==(const Font& other) const
149 // Our FontData don't have to be checked, since checking the font description will be fine.
150 // FIXME: This does not work if the font was made with the FontPlatformData constructor.
165 void Font::update(PassRefPtr<FontSelector> fontSelector) const
178 void Font::drawText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatPoint& point, CustomFontNotReadyAction customFontNotReadyAction) const
182 // font).
197 void Font::drawEmphasisMarks(GraphicsContext* context, const TextRunPaintInfo& runInfo, const AtomicString& mark, const FloatPoint& point) const
213 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
242 float Font::width(const TextRun& run, int& charsConsumed, String& glyphName) const
256 PassOwnPtr<TextLayout> Font::createLayout(RenderText*, float, bool) const
261 void Font::deleteLayout(TextLayout*)
265 float Font::width(TextLayout&, unsigned, unsigned, HashSet<const SimpleFontData*>*)
273 FloatRect Font::selectionRectForText(const TextRun& run, const FloatPoint& point, int h, int from, int to) const
288 int Font::offsetForPosition(const TextRun& run, float x, bool includePartialGlyphs) const
304 normalized.append(Font::normalizeSpaces(characters[i]));
309 String Font::normalizeSpaces(const LChar* characters, unsigned length)
314 String Font::normalizeSpaces(const UChar* characters, unsigned length)
321 void Font::setShouldUseSmoothing(bool shouldUseSmoothing)
327 bool Font::shouldUseSmoothing()
332 void Font::setCodePath(CodePath p)
337 Font::CodePath Font::codePath()
342 void Font::setDefaultTypesettingFeatures(TypesettingFeatures typesettingFeatures)
347 TypesettingFeatures Font::defaultTypesettingFeatures()
352 Font::CodePath Font::codePath(const TextRun& run) const
388 Font::CodePath Font::characterRangeCodePath(const UChar* characters, unsigned len)
503 bool Font::isCJKIdeograph(UChar32 c)
541 bool Font::isCJKIdeographOrSymbol(UChar32 c)
610 unsigned Font::expansionOpportunityCount(const LChar* characters, size_t length, TextDirection direction, bool& isAfterExpansion)
633 unsigned Font::expansionOpportunityCount(const UChar* characters, size_t length, TextDirection direction, bool& isAfterExpansion)
683 bool Font::canReceiveTextEmphasis(UChar32 c)