Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "core/fxge/fx_font.h"
#include <algorithm>
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/widestring.h"
#include "core/fxge/cfx_glyphbitmap.h"
#include "core/fxge/dib/cfx_dibitmap.h"
#include "core/fxge/freetype/fx_freetype.h"
#include "core/fxge/text_glyph_pos.h"
Go to the source code of this file.
Functions | |
FX_RECT | GetGlyphsBBox (const std::vector< TextGlyphPos > &glyphs, int anti_alias) |
ByteString | GetNameFromTT (pdfium::span< const uint8_t > name_table, uint32_t name_id) |
size_t | GetTTCIndex (pdfium::span< const uint8_t > pFontData, size_t font_offset) |
wchar_t | UnicodeFromAdobeName (const char *name) |
ByteString | AdobeNameFromUnicode (wchar_t unicode) |
ByteString AdobeNameFromUnicode | ( | wchar_t | unicode | ) |
Definition at line 142 of file fx_font.cpp.
References fxcrt::ByteString::ByteString(), and FXFT_adobe_name_from_unicode().
FX_RECT GetGlyphsBBox | ( | const std::vector< TextGlyphPos > & | glyphs, |
int | anti_alias ) |
Definition at line 35 of file fx_font.cpp.
ByteString GetNameFromTT | ( | pdfium::span< const uint8_t > | name_table, |
uint32_t | name_id ) |
Definition at line 79 of file fx_font.cpp.
References fxcrt::ByteString::ByteString(), fxcrt::WideString::FromUTF16BE(), fxcrt::ByteString::IsEmpty(), kNamePlatformMac, and kNamePlatformWindows.
size_t GetTTCIndex | ( | pdfium::span< const uint8_t > | pFontData, |
size_t | font_offset ) |
Definition at line 127 of file fx_font.cpp.
wchar_t UnicodeFromAdobeName | ( | const char * | name | ) |
Definition at line 138 of file fx_font.cpp.
References FXFT_unicode_from_adobe_name().
Referenced by CPDF_CIDFont::GlyphFromCharCode().