groff
[Top][All Lists]
Advanced

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

Re: [Groff] questions about "Adding TrueType fonts to groff for PDF docu


From: Jeff Zhang
Subject: Re: [Groff] questions about "Adding TrueType fonts to groff for PDF documents" on http://www.groff-wiki.info/
Date: Fri, 16 Mar 2007 12:22:49 +0800

On 3/16/07, Werner LEMBERG <address@hidden> wrote:


> So I want to know is it possible in these way and whether or not
> ps2pdf can make an cid embeded pdf file from the one produced by
> grops?


It works for english fonts  like budmo.ttf after I changed from gs-esp(8.15)
to gs-gpl(8.54), however the chines ones totally turned out blank in window
of xpdf and acroread, though it has been embeded into pdf file indeed.

Like:
% pdffonts new.pdf
name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
YPQYOV+BudmoJiggler                  TrueType     yes yes no      14  0
CMEHSL+BudmoJigglerBold              TrueType     yes yes no      12  0
JLUYCX+SimSun                        TrueType     yes yes yes     10  0
QHZIXO+SimSun                        TrueType     yes yes yes      8  0

I've already tested processed it with `groff sample >new1.ps` without -Kutf8
but it still can't show in pdf. And pdffonts gives similar  results.

The chinese fonts  converted into afm by ttf2afm together with -u option, as
groff wouldn't work if not to be converted into unicode.

I don't know whether or not groff can produce correct ps file from CJK
truetype font. And it seems ps2pdf just use Fontmap not cidfmap.

If so, I think it maybe groff should convert the input into cid font embeded
ps file when using CJK truetype fonts. And it will much simple to use groff
together with CJK fonts.


reply via email to

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