Hi, I've been testing with pdf2swf for the past few days, and overall it's a great tool. But I've been struggling with some pdf files that have Chinese content, here's the message I got:
NOTICE processing PDF page 1 (499x719:0:0) (move:0:0) WARNING The following font caused problems: WARNING =========== STSong-Light,Bold (ID:17,0) ========== WARNING | Tag: STSong-Light,Bold-17-0 WARNING | is CID font WARNING | Type: CIDType2 WARNING | is serif WARNING | is symbolic WARNING Font STSong-Light,Bold (not embedded) could not be loaded. WARNING Try putting a TTF version of that font (named "STSong-Light, Bold.ttf") into /usr/local/share/xpdf NOTICE substituteFont(STSong-Light,Bold-17-0) NOTICE substituting STSong-Light,Bold-17-0 -> Times-Roman NOTICE Font is now Times-Roman (/usr/local/share/swftools/fonts/n021003l.pfb) WARNING Didn't find character 'NULL' (c=4559,u=20013) in current charset (Times-Roman, 316 characters) WARNING Didn't find character 'NULL' (c=3795,u=25991) in current charset (Times-Roman, 316 characters) WARNING Didn't find character 'NULL' (c=3984,u=20449) in current charset (Times-Roman, 316 characters) WARNING Didn't find character 'NULL' (c=3855,u=24687) in current charset (Times-Roman, 316 characters) My system doesn't have the STSong-Light,Bold.ttf file, but what does the warning about Times-Roman mean? What's confusing to me is that I can successfully use pdftotext, a tool in xpdf, to convert the same pdf file to text, extracting the Chinese content correctly. I use "pdftotext -enc GBK test.pdf test.txt". What could be the problem? Your help would be greatly appreciated. Jeff
