[ http://jira.codehaus.org/browse/DOXIA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_109341 ]
David Roussel commented on DOXIA-158: ------------------------------------- Ask and you shall receive! :) I've attached 3 files. * doxia-modules-itext-updgrade.1.4.8.patch * before.pdf * after.pdf The patch is a first draft, but it does seem to work fine in generating PDF from XML. But this approach seems to be discouraged from the iText guys. We should be firing our events directly into a PdfWriter, not writing an intermediate XML file. Also note that I've broken RTF generation in the process. Should be a similar fix, but using RtfWriter2 instead of PdfWriter. So until the RTF gets fixed the patch is not ready. Also see before.pdf and after.pdf. The changes I've noticed (using Apple Preview application to view them) is the headings are slightly more bold. The monospaced fonts work !!!! Wooo!!!! And the table headings are in the after but not before. So that must fix another issue too! Ok it's getting late. So the RTF fix can wait for another day. David > doxia book with APT verbatim text not monospaced in PDF > ------------------------------------------------------- > > Key: DOXIA-158 > URL: http://jira.codehaus.org/browse/DOXIA-158 > Project: Maven Doxia > Issue Type: Bug > Components: Module - Itext > Affects Versions: 1.0-alpha-9 > Environment: Java 5 on WinXP > Reporter: David Roussel > Assignee: Vincent Siveton > Attachments: after.pdf, before.pdf, > doxia-modules-itext-updgrade.1.4.8.patch, doxia-test.zip, > verbatim_font_change.patch > > > I'm using doxia-maven-plugin 1.0-alpha-9 with APT as an imput source. When > I generate xhtml then the verbatim text comes out fine as a pre tag. When I > generate PDF the verbatim text is rendered with a variable width font, thus > my code examples are all over the place. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira