summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/Unicode.hpp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-12-01 03:01:08 +0000
committerNorbert Preining <norbert@preining.info>2020-12-01 03:01:08 +0000
commit13dc4c947f3b419fc1b2ed24f10d69c841b0a37b (patch)
treeb70e11ae7d2e2d77221ef406a555d4f7e52fbaf7 /dviware/dvisvgm/src/Unicode.hpp
parentcb68d38823870fa7adb5f0c2b68cf59205dd4bec (diff)
CTAN sync 202012010301
Diffstat (limited to 'dviware/dvisvgm/src/Unicode.hpp')
-rw-r--r--dviware/dvisvgm/src/Unicode.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/dviware/dvisvgm/src/Unicode.hpp b/dviware/dvisvgm/src/Unicode.hpp
index bc9db7e731..e085bac54d 100644
--- a/dviware/dvisvgm/src/Unicode.hpp
+++ b/dviware/dvisvgm/src/Unicode.hpp
@@ -23,11 +23,13 @@
#include <string>
-struct Unicode
-{
+struct Unicode {
static bool isValidCodepoint (uint32_t code);
static uint32_t charToCodepoint (uint32_t c);
static std::string utf8 (int32_t c);
+ static uint32_t fromSurrogate (uint32_t high, uint32_t low);
+ static uint32_t fromSurrogate (uint32_t cp);
+ static uint32_t toSurrogate (uint32_t cp);
static int32_t aglNameToCodepoint (const std::string &name);
};