7#ifndef CORE_FXGE_TEXT_CHAR_POS_H_
8#define CORE_FXGE_TEXT_CHAR_POS_H_
10#include "build/build_config.h"
11#include "core/fxcrt/fx_coordinates.h"
25#if BUILDFLAG(IS_APPLE)
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
CFX_Matrix GetEffectiveMatrix(const CFX_Matrix &matrix) const
TextCharPos(const TextCharPos &)
CharType operator[](const size_t index) const