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

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

+ 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)
 

Function Documentation

◆ AdobeNameFromUnicode()

ByteString AdobeNameFromUnicode ( wchar_t unicode)

Definition at line 142 of file fx_font.cpp.

References fxcrt::ByteString::ByteString(), and FXFT_adobe_name_from_unicode().

+ Here is the call graph for this function:

◆ GetGlyphsBBox()

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

Definition at line 35 of file fx_font.cpp.

◆ GetNameFromTT()

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.

+ 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 127 of file fx_font.cpp.

◆ UnicodeFromAdobeName()

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

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