LibreOffice Module vcl (master)
1
|
#include <vcl/fontcharmap.hxx>
#include <impfontcharmap.hxx>
#include <rtl/textcvt.h>
#include <rtl/textenc.h>
#include <sal/log.hxx>
#include <algorithm>
#include <vector>
#include <o3tl/sorted_vector.hxx>
Go to the source code of this file.
Functions | |
static unsigned | GetUInt (const unsigned char *p) |
static unsigned | GetUShort (const unsigned char *p) |
static int | GetSShort (const unsigned char *p) |
bool | ParseCMAP (const unsigned char *pCmap, int nLength, CmapResult &rResult) |
Variables | |
static ImplFontCharMapRef | g_pDefaultImplFontCharMap |
const sal_UCS4 | aDefaultUnicodeRanges [] = {0x0020,0xD800, 0xE000,0xFFF0} |
const sal_UCS4 | aDefaultSymbolRanges [] = {0x0020,0x0100, 0xF020,0xF100} |
|
static |
Definition at line 93 of file fontcharmap.cxx.
Referenced by ParseCMAP().
|
static |
Definition at line 91 of file fontcharmap.cxx.
Referenced by ParseCMAP().
|
static |
Definition at line 92 of file fontcharmap.cxx.
Referenced by ParseCMAP().
bool ParseCMAP | ( | const unsigned char * | pCmap, |
int | nLength, | ||
CmapResult & | rResult | ||
) |
Definition at line 96 of file fontcharmap.cxx.
References GetSShort(), GetUInt(), GetUShort(), i, o3tl::sorted_vector< Value, Compare, Find, class >::insert(), CmapResult::mbRecoded, CmapResult::mbSymbolic, CmapResult::mnRangeCount, CmapResult::mpGlyphIds, CmapResult::mpRangeCodes, CmapResult::mpStartGlyphs, nValue, p, pOut, o3tl::sorted_vector< Value, Compare, Find, class >::reserve(), SAL_MAX_UINT16, and SAL_WARN.
Referenced by vcl::AbstractTrueTypeFont::indexGlyphData().
const sal_UCS4 aDefaultSymbolRanges[] = {0x0020,0x0100, 0xF020,0xF100} |
Definition at line 40 of file fontcharmap.cxx.
Referenced by ImplFontCharMap::getDefaultMap(), and ImplFontCharMap::isDefaultMap().
const sal_UCS4 aDefaultUnicodeRanges[] = {0x0020,0xD800, 0xE000,0xFFF0} |
Definition at line 39 of file fontcharmap.cxx.
Referenced by ImplFontCharMap::getDefaultMap(), and ImplFontCharMap::isDefaultMap().
|
static |
Definition at line 38 of file fontcharmap.cxx.
Referenced by ImplFontCharMap::getDefaultMap().