![]() |
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 <stdint.h>
#include <algorithm>
#include "core/fxcrt/byteorder.h"
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/numerics/safe_conversions.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) |
int | NormalizeFontMetric (int64_t value, uint16_t upem) |
ByteString AdobeNameFromUnicode | ( | wchar_t | unicode | ) |
Definition at line 144 of file fx_font.cpp.
References fxcrt::ByteString::ByteString().
FX_RECT GetGlyphsBBox | ( | const std::vector< TextGlyphPos > & | glyphs, |
int | anti_alias ) |
Definition at line 37 of file fx_font.cpp.
ByteString GetNameFromTT | ( | pdfium::span< const uint8_t > | name_table, |
uint32_t | name_id ) |
Definition at line 81 of file fx_font.cpp.
References fxcrt::ByteString::ByteString(), fxcrt::GetUInt16MSBFirst(), kNamePlatformMac, and kNamePlatformWindows.
size_t GetTTCIndex | ( | pdfium::span< const uint8_t > | pFontData, |
size_t | font_offset ) |
Definition at line 128 of file fx_font.cpp.
References fxcrt::GetUInt32MSBFirst().
int NormalizeFontMetric | ( | int64_t | value, |
uint16_t | upem ) |
Definition at line 150 of file fx_font.cpp.
Referenced by CPDF_Font::CheckFontMetrics().
wchar_t UnicodeFromAdobeName | ( | const char * | name | ) |
Definition at line 140 of file fx_font.cpp.
References FXFT_unicode_from_adobe_name().
Referenced by CPDF_CIDFont::GlyphFromCharCode().