[Top][All Lists]

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

Re: [Swftools-common] pdf2swf Error with traditional Chinese

From: Asia L.
Subject: Re: [Swftools-common] pdf2swf Error with traditional Chinese
Date: Sat, 27 Dec 2008 12:45:05 +0200

Thanks for the reply,

More regarding traditional Chinese

When I look at the pdf I see the font is =B7s=B2=D3=A9=FA=C5=E9
it is 新細明體 (PMINGLIU) - I placed PMINGLIU.ttf in the font directory but I can't make pdf2swf to use it

The command I use is:

pdf2swf -s languagedir=.\lang\xpdf-chinese-traditional --fontdir .\fonts .\test\wlan_ap1.pdf -o .\test\wlan_ap1.swf

The output is:

NOTICE  Adding .\lang\xpdf-chinese-traditional to language pack directories
NOTICE  Adding .\fonts to font directories
NOTICE  Adding font ".\fonts\PMINGLIU.ttf".
Error: Couldn't find a font for '+s¦+¬·+T,Bold'
Error: Couldn't find a font for '+s¦+¬·+T,Bold'
ERROR   Invalid charid 2583 for font (0 characters)
ERROR   Invalid charid 4826 for font (0 characters)

My question is how do I "link" the font =B7s=B2=D3=A9=FA=C5=E9 with PMINGLIU.ttf
Actually, am I asking the right question?

Thanks again,

----- Original Message ----- From: "Matthias Kramm" <address@hidden>
To: <address@hidden>
Sent: Friday, December 26, 2008 12:41 PM
Subject: Re: [Swftools-common] pdf2swf Error with traditional Chinese

On Thu, Dec 25, 2008 at 04:25:22PM +0200, Asia L. <address@hidden> wrote:
The error is:
Error: Unknown character collection 'Adobe-CNS1'
Error: Couldn't find 'ETenms-B5-H' CMap file for 'Adobe-CNS1' collection
Error: Unknown CMap 'ETenms-B5-H' for character collection 'Adobe-CNS1'

I assume it has something to do with xpdf Chinese support
In http://www.foolabs.com/xpdf/download.html there is a list of "Language
Support Packages"
How can I add them to the xpdf swftools use?

Just download them, extract them, and then run pdf2swf like
   pdf2swf -s languagedir=/path/to/extracted/data file.pdf



reply via email to

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