xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ristic <ivan.ris...@gmail.com>
Subject Re: creating pdf add fonts
Date Mon, 18 Jul 2011 20:06:42 GMT
On Mon, Jul 18, 2011 at 2:53 PM, Alberto Priore
<alberto.priore@gmail.com> wrote:
>
> Perfect,
> I want to embed all the fonts.
> But In one case that I posted in another message
> http://old.nabble.com/pdftops-eps-font-issue-tt32014501r0.html
> I have some issues in the conversion
>
> After you read the message that I've posted.
> Can you suggest me something to do?

I can only tell you what I did: I solved my problem by manipulating
the resulting PostScript file to remove unneeded font references.

Perhaps there is an elegant solution, but mine was a fast one.


> Ivan Ristic wrote:
>>
>> As an example of why this is needed: if you want to produce a PDF/X-1a
>> compliant document, you must embed all fonts.
>>
>>
>> On Mon, Jul 18, 2011 at 12:28 PM, Alberto Priore
>> <alberto.priore@gmail.com> wrote:
>>>
>>> Sorry I forgot to write the version of Apache FOP, I'm using the 0.95
>>>
>>> I'm quite sure that I'm not using Helvetica in my xsl-fo
>>> I've only specified the font-family for the other 4 fonts.
>>>
>>> What I want is to create the pdf only with that 4 fonts.
>>>
>>> ----
>>>
>>> Now I expand the scope of the discussion,
>>> I need to create an eps file starting from xsl-fo
>>> so for first I create the pdf from Apache FOP
>>> then I convert it with
>>> acroread -toPostScript file.pdf
>>> ps2eps file.ps
>>>
>>> but when I open the eps file into Adobe Illustrator
>>> this returns me an issue that Helvetica is a missing font...
>>> But I do not use Helvetica, I'm only using the other 4 fonts.
>>>
>>> Can you suggest me a solutions for my scope?
>>>
>>>
>>>
>>> cbowditch wrote:
>>>>
>>>> On 18/07/2011 11:05, Alberto Priore wrote:
>>>>> Hi!
>>>>
>>>> Hi Alberto,
>>>>
>>>>> I'm creating with Apache FOP a pdf
>>>>
>>>> Can you please let us know FOP version you are using when reporting an
>>>> issue.
>>>>> I'm embedding 4 fonts inside the pdf
>>>>> but when I run the command from linux
>>>>> pdffonts file.pdf
>>>>> this is the result:
>>>>>
>>>>> name                                            
 type
>>>>> emb
>>>>> sub uni object ID
>>>>> ------------------------------------ ----------------- --- --- ---
>>>>> ---------
>>>>> Helvetica                                        
Type 1
>>>>> no
>>>>> no  no      18  0
>>>>> EAAAFB+HelveticaNeueLTStd-XBlkCn     CID TrueType      yes yes yes
>>>>> 22
>>>>> 0
>>>>> EAAAFC+HelveticaNeueLTStd-Md          CID TrueType      yes yes
yes
>>>>> 28
>>>>> 0
>>>>> EAAAFA+HelveticaNeueLTStd-BlkCn       CID TrueType      yes yes
yes
>>>>> 40
>>>>> 0
>>>>> EAAAFD+HelveticaNeueLTStd-MdCnO     CID TrueType      yes yes yes
>>>>> 34
>>>>> 0
>>>>>
>>>>> the Helvetica fonts makes me issues when I convert it into eps
>>>>> with the command acroread
>>>>>
>>>>> How can I produce the pdf without embed the "Helvetica" fonts
>>>>> but the other 4 have to be embedded?
>>>>
>>>> Helvetica is not embedded. The above table clearly states "no" in the
>>>> column titled "emb" This means your XSL-FO uses Helvetica, but since its
>>>> a Base 14 font, FOP doesn't embed it. The 4 custom HelveticaNeue fonts
>>>> are embedded. Perhaps I misunderstood your question. If so, could you
>>>> re-phrase it?
>>>>
>>>> Thanks,
>>>>
>>>> Chris
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/creating-pdf-add-fonts-tp32082046p32082454.html
>>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Ivan Ristić
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/creating-pdf-add-fonts-tp32082046p32083420.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>



-- 
Ivan Ristić

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message