swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Patch for pdf2swf (CID codemap file options)


From: Moriyoshi Koizumi
Subject: [Swftools-common] Patch for pdf2swf (CID codemap file options)
Date: Tue, 12 Oct 2004 00:46:24 +0900

Hi,

I made a patch against the current version of pdf2swf
that adds the following 4 command line options to specify
CID code mapping files that are needed to perform CID encoding
conversion by. All these parameters can also be set in the XPDF's
per-user configuration file (.xpdfrc) .

Attachment: swftools-0.6.2-cjk-patch-20041012.diff.txt
Description: Text document



-u encoding=filename
   Add to the search path the location of a mapping file that is
   used for a native encoding to Unicode mapping. This option can
   be used multiple times.

ex.) -u Shift_JIS=/usr/local/share/swftools/encodings/Shift_JIS.unicodeMap

   The XPDF counterpart to this parameter is "unicodeMap"

-c collection=filename
   Add the location of CID to Unicode mapping file to the internal
   registry.  This option can be used multiple times.

ex.) -c Adobe-Japan1=/usr/local/share/swftools/encodings/Adobe- Japan1.cidToUnicode

   The XPDF counterpart to this parameter is "cidToUnicode"

-U directoryname
   Add the location of ToUnicode file reporitory.  This option can
   be used multiple times.

   ex.) -U /usr/local/share/swftools/encodings/CMap

   The XPDF counterpart to this parameter is "toUnicodeDir"

-C collection=dirname
   Add the location of CMap file repository.  This option can
   be used multiple times.

   ex.) -C Adobe-Japan1=/usr/local/share/swftools/encodings/CMap

   The XPDF counterpart to this parameter is "CMapDir"

I hope this will be merged as those are really fundamental when
using pdf2swf in batch operations.


Regards,
Moriyoshi

p.s. Note that you will need fontconfig support in most cases where
you are processing a PDF that contains non-embedded CJK fonts.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]