xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Broughton <anto...@flerwin.net>
Subject Re: PDFTranscoder custom fonts
Date Wed, 02 Aug 2006 22:49:43 GMT
Hi,

Yes it now works fine.

Thanks for that
Antonio Broughton


Jeremias Maerki wrote:
> You did everything correctly. The problem was that this functionality
> got broken during the last few months and you're the first to notice.
> I've fixed it: http://svn.apache.org/viewvc?rev=428137&view=rev
>
> We should really automate some tests for things like that but it's a
> little difficult to write JUnit test which test the generated PDF files
> without a PDF library that can read PDF. I guess one day we'll have to
> adopt PDFBox.
>
> Please let me know if it works now for you, too.
>
> On 28.07.2006 00:40:28 Antonio Broughton wrote:
>   
>> Hi,
>>
>> I have a question about using custom fonts when converting from SVG to
>> PDF using PDFTranscoder.
>>
>> There is a zip file containing all the information available at
>> http://www.flerwin.net/fopquestion.zip
>>
>> It includes
>>  * Java source code
>>  * SVG trying to convert to PDF
>>  * XML generated from TTFReader
>>  * The TTF font
>>  * Configuration file read in via Avalon
>>
>> The problem that I am having is that I cannot add the Tahoma font, so
>> that the PDF contains the same font as that in the SVG.
>>
>> As you can see in the code, I have followed the example given at
>> http://wiki.apache.org/xmlgraphics-fop/SvgNotes/PdfTranscoderTrueTypeEmbedding
>>
>> Am I doing something wrong?
>>
>> I am currently using SVN Trunk version of Batik and SVN Trunk version FOP
>>     
>
>   


---------------------------------------------------------------------
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