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
cpdf_fontencoding.h File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

#include "core/fxcrt/bytestring.h"
#include "core/fxcrt/retain_ptr.h"
#include "core/fxcrt/string_pool_template.h"
#include "core/fxcrt/weak_ptr.h"
#include "core/fxge/fx_fontencoding.h"
#include "third_party/base/containers/span.h"
+ Include dependency graph for cpdf_fontencoding.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CPDF_FontEncoding
 

Enumerations

enum class  FontEncoding {
  kBuiltin = 0 , kWinAnsi = 1 , kMacRoman = 2 , kMacExpert = 3 ,
  kStandard = 4 , kAdobeSymbol = 5 , kZapfDingbats = 6 , kPdfDoc = 7 ,
  kMsSymbol = 8
}
 

Functions

uint32_t CharCodeFromUnicodeForEncoding (fxge::FontEncoding encoding, wchar_t unicode)
 
wchar_t UnicodeFromAppleRomanCharCode (uint8_t charcode)
 
pdfium::span< const uint16_t > UnicodesForPredefinedCharSet (FontEncoding encoding)
 
const char * CharNameFromPredefinedCharSet (FontEncoding encoding, uint8_t charcode)
 

Enumeration Type Documentation

◆ FontEncoding

enum class FontEncoding
strong
Enumerator
kBuiltin 
kWinAnsi 
kMacRoman 
kMacExpert 
kStandard 
kAdobeSymbol 
kZapfDingbats 
kPdfDoc 
kMsSymbol 

Definition at line 17 of file cpdf_fontencoding.h.

Function Documentation

◆ CharCodeFromUnicodeForEncoding()

uint32_t CharCodeFromUnicodeForEncoding ( fxge::FontEncoding encoding,
wchar_t unicode )

Definition at line 1738 of file cpdf_fontencoding.cpp.

References fxge::kAdobeCustom, fxge::kAdobeExpert, fxge::kAdobeStandard, fxge::kAppleRoman, fxge::kLatin1, kPDFDocEncoding, fxge::kSymbol, and fxge::kUnicode.

Referenced by CPDF_CIDFont::GlyphFromCharCode().

+ Here is the caller graph for this function:

◆ CharNameFromPredefinedCharSet()

const char * CharNameFromPredefinedCharSet ( FontEncoding encoding,
uint8_t charcode )

Definition at line 1788 of file cpdf_fontencoding.cpp.

References kAdobeSymbol, kMacExpert, kMacRoman, kPdfDoc, kStandard, kWinAnsi, and kZapfDingbats.

Referenced by CPDF_Font::GetAdobeCharName().

+ Here is the caller graph for this function:

◆ UnicodeFromAppleRomanCharCode()

wchar_t UnicodeFromAppleRomanCharCode ( uint8_t charcode)

Definition at line 1760 of file cpdf_fontencoding.cpp.

◆ UnicodesForPredefinedCharSet()

pdfium::span< const uint16_t > UnicodesForPredefinedCharSet ( FontEncoding encoding)