#include "third_party/blink/renderer/platform/fonts/shaping/caching_word_shaper.h"
#include "third_party/blink/renderer/platform/fonts/character_range.h"
#include "third_party/blink/renderer/platform/fonts/shaping/caching_word_shape_iterator.h"
#include "third_party/blink/renderer/platform/fonts/shaping/harfbuzz_shaper.h"
#include "third_party/blink/renderer/platform/fonts/shaping/shape_cache.h"
#include "third_party/blink/renderer/platform/fonts/shaping/shape_result_buffer.h"
#include "third_party/blink/renderer/platform/fonts/simple_font_data.h"
#include "third_party/blink/renderer/platform/fonts/text_run_paint_info.h"
#include "third_party/blink/renderer/platform/wtf/text/character_names.h"
namespace blink {
ShapeCache* CachingWordShaper::GetShapeCache() const { … }
float CachingWordShaper::Width(const TextRun& run, gfx::RectF* glyph_bounds) { … }
static inline float ShapeResultsForRun(ShapeCache* shape_cache,
const Font* font,
const TextRun& run,
ShapeResultBuffer* results_buffer) { … }
int CachingWordShaper::OffsetForPosition(
const TextRun& run,
float target_x,
IncludePartialGlyphsOption partial_glyphs,
BreakGlyphsOption break_glyphs) { … }
void CachingWordShaper::FillResultBuffer(const TextRunPaintInfo& run_info,
ShapeResultBuffer* buffer) { … }
CharacterRange CachingWordShaper::GetCharacterRange(const TextRun& run,
unsigned from,
unsigned to) { … }
HeapVector<ShapeResult::RunFontData> CachingWordShaper::GetRunFontData(
const TextRun& run) const { … }
GlyphData CachingWordShaper::EmphasisMarkGlyphData(
const TextRun& emphasis_mark_run) const { … }
}