diff options
author | Karl Berry <karl@freefriends.org> | 2008-02-17 19:29:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-02-17 19:29:39 +0000 |
commit | fc3b5d4d4f684baa6216685a0696efb853141529 (patch) | |
tree | 0694ed01c09b3c97fcd64453e2c1f647a3fb31ad /Build/source/texk/lcdf-typetools/otftotfm/util.hh | |
parent | 5fc0a693ca037d37d815b00c49660c138b332224 (diff) |
move lcdf-typetools to texk and update to 2.66
git-svn-id: svn://tug.org/texlive/trunk@6662 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/lcdf-typetools/otftotfm/util.hh')
-rw-r--r-- | Build/source/texk/lcdf-typetools/otftotfm/util.hh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Build/source/texk/lcdf-typetools/otftotfm/util.hh b/Build/source/texk/lcdf-typetools/otftotfm/util.hh new file mode 100644 index 00000000000..a0f37c14105 --- /dev/null +++ b/Build/source/texk/lcdf-typetools/otftotfm/util.hh @@ -0,0 +1,29 @@ +#ifndef OTFTOTFM_UTIL_HH +#define OTFTOTFM_UTIL_HH +#include <lcdf/string.hh> +#include <lcdf/globmatch.hh> +class ErrorHandler; + +extern bool no_create; +extern bool verbose; +extern bool force; + +enum { G_ENCODING = 1, G_METRICS = 2, G_VMETRICS = 4, G_TYPE1 = 8, + G_PSFONTSMAP = 16, G_BINARY = 32, G_ASCII = 64, G_DOTLESSJ = 128, + G_UPDMAP = 256, G_TRUETYPE = 512 }; + +extern int output_flags; + +String read_file(String filename, ErrorHandler *, bool warn = false); +String printable_filename(const String &); +String pathname_filename(const String &); +String shell_quote(const String &); +int temporary_file(String &, ErrorHandler *); +int mysystem(const char *command, ErrorHandler *); +bool parse_unicode_number(const char*, const char*, int require_prefix, uint32_t& result); + +#ifdef WIN32 +#define WEXITSTATUS(es) (es) +#endif + +#endif |