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
fx_font.cpp File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

Include dependency graph for fx_font.cpp:

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)

Function Documentation

◆ AdobeNameFromUnicode()

ByteString AdobeNameFromUnicode ( wchar_t unicode)

Definition at line 144 of file fx_font.cpp.

References fxcrt::ByteString::ByteString().

Here is the call graph for this function:

◆ GetGlyphsBBox()

FX_RECT GetGlyphsBBox ( const std::vector< TextGlyphPos > & glyphs,
int anti_alias )

Definition at line 37 of file fx_font.cpp.

◆ GetNameFromTT()

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.

Here is the call graph for this function:

◆ GetTTCIndex()

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().

Here is the call graph for this function:

◆ NormalizeFontMetric()

int NormalizeFontMetric ( int64_t value,
uint16_t upem )

Definition at line 150 of file fx_font.cpp.

Referenced by CPDF_Font::CheckFontMetrics().

Here is the caller graph for this function:

◆ UnicodeFromAdobeName()

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().

Here is the call graph for this function:
Here is the caller graph for this function: