#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/fonts/shaping/text_auto_space.h"
#include <unicode/uchar.h>
#include <unicode/uscript.h>
#include "base/check.h"
#include "third_party/blink/renderer/platform/fonts/font.h"
#include "third_party/blink/renderer/platform/fonts/simple_font_data.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
float TextAutoSpace::GetSpacingWidth(const Font* font) { … }
TextAutoSpace::CharType TextAutoSpace::GetTypeAndNext(const String& text,
wtf_size_t& offset) { … }
TextAutoSpace::CharType TextAutoSpace::GetPrevType(const String& text,
wtf_size_t offset) { … }
TextAutoSpace::CharType TextAutoSpace::GetType(UChar32 ch) { … }
std::ostream& operator<<(std::ostream& ostream, TextAutoSpace::CharType type) { … }
}