swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] pdf2swf issue with Font Display on WinCharSetFFFF-H en


From: Irving Popovetsky
Subject: [Swftools-common] pdf2swf issue with Font Display on WinCharSetFFFF-H encoded fonts
Date: Wed, 13 Oct 2010 11:24:45 -0700

swftools team,

I'm trying to solve a font display issue with a set of Traditional Chinese (Taiwan) PDFs.   After pdf2swf conversion, users complain that the Chinese fonts are unreadable.  The font in question is "DKMEZV+�з���-WinCharSetFFFF-H       CID TrueType",  it is embedded in the document.  I think it is unreadable due to broken font hinting.

With stock Ubuntu 10.04 xpdf, the fonts are also unreadable.  After installing the "xpdf-chinese-traditional" CMAPs, the fonts become readable in xpdf.   However, pdf2swf on the same system (reading the same xpdfrc) shows no improvement.

I have tested with stock swftools-0.9.0 on Ubuntu,  as well as swftools 0.9.1 and 2010-08-14-1108 - output is identical with all three.  See attachment for verbose output.    pdfinfo and pdffonts output below:

My questions:
  1. Why would the system xpdf start displaying the fonts correctly after the CMAPs are installed, but not the version of xpdf built into pdf2swf?  
  2. How can I control font hinting for embedded fonts in PDFs?
  3. How can I substitute embedded PDF fonts with system fonts?
Thanks,
-Irving


pdfinfo:
Title:          <AC47BBD9B1C6B0A3B3A1A4C02E786C73>
Author:         user
Creator:        PScript5.dll Version 5.2
Producer:       GPL Ghostscript 8.64
CreationDate:   Thu Apr 22 10:24:40 2010
ModDate:        Thu Apr 22 10:24:40 2010
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      612 x 792 pts (letter)
File size:      69371 bytes
Optimized:      no
PDF version:    1.3

pdffonts:
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
DKMEZV+�з���-WinCharSetFFFF-H       CID TrueType      yes yes yes      9  0
UOQWLQ+Times-Bold                    Type 1C           yes yes no      12  0
YTPGZM+Times-Roman                   Type 1C           yes yes no      14  0



Attachment: pdf2swf-fontissue-notes.txt
Description: Text document


reply via email to

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