7#ifndef CORE_FPDFAPI_RENDER_CHARPOSLIST_H_
8#define CORE_FPDFAPI_RENDER_CHARPOSLIST_H_
14#include "third_party/base/containers/span.h"
20 pdfium::span<
const float> char_pos,
std::vector< TextCharPos > GetCharPosList(pdfium::span< const uint32_t > char_codes, pdfium::span< const float > char_pos, CPDF_Font *font, float font_size)
int GetGlyphWidth(uint32_t glyph_index) const
CFX_SubstFont * GetSubstFont() const
bool IsBuiltInGenericFont() const
const uint8_t * GetCIDTransform(uint16_t cid) const
uint16_t CIDFromCharCode(uint32_t charcode) const
static float CIDTransformToFloat(uint8_t ch)
bool IsVertWriting() const override
virtual bool IsTrueTypeFont() const
virtual int GetCharWidthF(uint32_t charcode)=0
int FallbackGlyphFromCharcode(int fallbackFont, uint32_t charcode)
virtual CPDF_CIDFont * AsCIDFont()
virtual int GlyphFromCharCode(uint32_t charcode, bool *pVertGlyph)=0
virtual bool IsCIDFont() const
virtual WideString UnicodeFromCharCode(uint32_t charcode) const
ByteString GetBaseFontName() const
virtual bool HasFontWidths() const
uint32_t FallbackFontFromCharcode(uint32_t charcode)
CFX_Font * GetFontFallback(int position)
int32_t m_FallbackFontPosition
CharType operator[](const size_t index) const