Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
charposlist.h
Go to the documentation of this file.
1// Copyright 2016 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FPDFAPI_RENDER_CHARPOSLIST_H_
8#define CORE_FPDFAPI_RENDER_CHARPOSLIST_H_
9
10#include <stdint.h>
11
12#include <vector>
13
14#include "third_party/base/containers/span.h"
15
16class CPDF_Font;
17class TextCharPos;
18
19std::vector<TextCharPos> GetCharPosList(pdfium::span<const uint32_t> char_codes,
20 pdfium::span<const float> char_pos,
21 CPDF_Font* font,
22 float font_size);
23
24#endif // CORE_FPDFAPI_RENDER_CHARPOSLIST_H_
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
Definition cfx_font.cpp:239
CFX_SubstFont * GetSubstFont() const
Definition cfx_font.h:82
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
Definition cpdf_font.cpp:67
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
Definition cpdf_font.cpp:75
virtual WideString UnicodeFromCharCode(uint32_t charcode) const
CFX_Font * GetFont()
Definition cpdf_font.h:130
ByteString GetBaseFontName() const
Definition cpdf_font.h:99
virtual bool HasFontWidths() const
uint32_t FallbackFontFromCharcode(uint32_t charcode)
bool IsEmbedded() const
Definition cpdf_font.h:101
CFX_Font * GetFontFallback(int position)
uint32_t m_GlyphIndex
float m_AdjustMatrix[4]
int32_t m_FallbackFontPosition
bool m_bGlyphAdjust
uint32_t m_Unicode
CharType operator[](const size_t index) const
Definition widestring.h:146
bool IsEmpty() const
Definition widestring.h:118