Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp
// Return the rectangle for selecting the given range of code-points in the TextRun.
Return the rectangle for selecting the given range of code-points in the TextRun.
Return the rectangle for selecting the given range of code - points in the TextRun .
FloatRect Font::selectionRectForComplexText(const TextRun& run,
                                            const FloatPoint& point, int height,
                                            int from, int to) const
{
    HarfBuzzShaper shaper(this, run);
    if (!shaper.shape())
        return FloatRect();
    return shaper.selectionRect(point, height, from, to);
}
FloatRect Font :: selectionRectForComplexText ( const TextRun & run , const FloatPoint & point , int height , int from , int to ) const { HarfBuzzShaper shaper ( this , run ) ; if ( ! shaper . shape ( ) ) return FloatRect ( ) ; return shaper . selectionRect ( point , height , from , to ) ; }
Return the rectangle for selecting the given range of code-points in the TextRun.
Return the rectangle for selecting the given range of code - points in the TextRun .