summaryrefslogtreecommitdiff
path: root/sys/lib/ghostscript/xlatmap
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 16:53:33 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 16:53:33 +0300
commite463eb40363ff4c68b1d903f4e0cdd0ac1c5977f (patch)
treed5e9f57c28f026cb21de3bd77cc10cd7f64aaa85 /sys/lib/ghostscript/xlatmap
parentb41b9034225ab3e49980d9de55c141011b6383b0 (diff)
Import sources from 2011-03-30 iso image - sys/lib
Diffstat (limited to 'sys/lib/ghostscript/xlatmap')
-rwxr-xr-xsys/lib/ghostscript/xlatmap49
1 files changed, 49 insertions, 0 deletions
diff --git a/sys/lib/ghostscript/xlatmap b/sys/lib/ghostscript/xlatmap
new file mode 100755
index 000000000..3479075e9
--- /dev/null
+++ b/sys/lib/ghostscript/xlatmap
@@ -0,0 +1,49 @@
+% xlatmap - the map of translation tables for various kinds of fonts.
+%
+% It specifies Decoding resources to be used with FAPI-handled fonts.
+% If a font contains multiple character mapping tables, this gives
+% priorities for choosing a specific table from the font according to
+% the order of entries of this map.
+
+% This file is intended to be customized by users. Please keep the
+% obvious format of this file. Strings and names must not be empty
+% and must not contain null ('\0') characters.
+
+% $Id: xlatmap,v 1.7 2002/11/02 18:03:06 igor Exp $
+
+% The map contains entries for each kind of font being handled by
+% any font rendering plugin. The key of an entry is the font type
+% and the value is array of pairs.
+% The first element of pair is a string which encodes identifier of
+% character mapping table. The format of the first element depends
+% on the font type, and should be recognized by the font rendering
+% plugins. The second element is name of the Decoding resource. If
+% that resource is not available, definefont will fail. Note that
+% currently we supply insufficient decoding resources, as well as
+% insufficient entries in this map.
+
+/TrueType
+[ % Each entry is pair :
+ % a string PlatformID.SpecificID and a name of Decoding resource.
+ (3.0) /Symbol % Symbol
+ (3.1) /Unicode % Unicode
+ (3.2) /ShiftJIS % Japanese
+ (3.3) /PRC % Simplified Chinese, GB2312
+ (3.4) /Big5 % Traditional Chinese
+ (3.5) /Wansung % Korean
+ (3.6) /Johab % Korean
+ % todo : add more entries
+]
+
+/PostScript
+[ % Since PostScript fonts were designed especially for PostScript,
+ (*) /Latin1 % fixme : other charsets
+]
+
+/Intellifont
+[ (*) /Latin1 % fixme : other charsets
+]
+
+/Microtype
+[ (*) /Latin1 % fixme : other charsets
+]