Lines Matching defs:to

18  * along with this library; see the file COPYING.LIB.  If not, write to
80 // Our FontData don't have to be checked, since checking the font description will be fine.
96 // FIXME: It is pretty crazy that we are willing to just poke into a RefPtr, but it ends up
99 // won't stick around long enough to get you in trouble). Still, this is pretty disgusting,
109 // except if the 'force' argument is set to true (in which case it will use a fallback
116 if (codePathToUse != ComplexPath && fontDescription().typesettingFeatures() && (runInfo.from || runInfo.to != runInfo.run.length()))
132 if (codePathToUse != ComplexPath && fontDescription().typesettingFeatures() && (runInfo.from || runInfo.to != runInfo.run.length()))
210 // FIXME: Some logic in common with Font::drawText. Would be nice to
217 if (codePathToUse != ComplexPath && fontDescription().typesettingFeatures() && (runInfo.from || runInfo.to != runInfo.run.length()))
242 FloatRect Font::selectionRectForText(const TextRun& run, const FloatPoint& point, int h, int from, int to, bool accountForGlyphBounds) const
244 to = (to == -1 ? run.length() : to);
248 if (codePathToUse != ComplexPath && fontDescription().typesettingFeatures() && (from || to != run.length()))
252 return selectionRectForSimpleText(run, point, h, from, to, accountForGlyphBounds);
254 return selectionRectForComplexText(run, point, h, from, to);
299 // TextRendering setting doesn't propagate to typesettingFeatures in time
413 // If the glyphs are the same, then we know we can just use the horizontal glyph rotated vertically to be upright.
417 // glyph, so we fall back to the upright data and use the horizontal glyph.
485 // to make sure you get a square (even for broken glyphs like symbols used for punctuation).
545 // font's glyph page. Try to lazily create it here.
564 // Cache it so we don't have to do system fallback again next time.
575 // FIXME: It would be nicer to use the missing glyph from the last resort font instead.
677 it.advance(runInfo.to, &glyphBuffer);
844 // Using roundf() rather than ceilf() for the right edge as a compromise to
850 FloatRect Font::selectionRectForSimpleText(const TextRun& run, const FloatPoint& point, int h, int from, int to, bool accountForGlyphBounds) const
855 it.advance(to);