What steps will reproduce the problem?
1. Embedd custom font with
FontsResourceFactory.getInstance().registerFont(BaseFont.HELVETICA, new
embeddedFont());
2. Try to use PdfPTable class to generate table.
What is the expected output? What do you see instead?
Error: missing StartCharMetrics
at org.purepdf::Font/getCalculatedBaseFont()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/Font.as:356]
at org.purepdf.pdf::PdfChunk$/fromChunk()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/pdf/PdfChunk.as:600]
at org.purepdf.pdf::ColumnText/addWaitingPhrase()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/pdf/ColumnText.as:1389]
at org.purepdf.pdf::ColumnText/go()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/pdf/ColumnText.as:397]
at org.purepdf.pdf::PdfPCell/get maxHeight()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/pdf/PdfPCell.as:535]
at org.purepdf.pdf::PdfPRow/calculateHeights()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/pdf/PdfPRow.as:122]
at org.purepdf.pdf::PdfPRow/get maxHeights()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/pdf/PdfPRow.as:75]
at org.purepdf.pdf::PdfPTable/getRowHeight1()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/pdf/PdfPTable.as:375]
at org.purepdf.pdf::PdfPTable/calculateHeights()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/pdf/PdfPTable.as:237]
at org.purepdf.pdf::PdfPTable/setNumberWidths()[/Users/alessandro/Documents/Workspaces/Flash/Opensource/purePDF/src/org/purepdf/pdf/PdfPTable.as:634]
Please provide any additional information below.
Is there any possibilty to use custom fonts in table or multi column text?
Original issue reported on code.google.com by flexphpe...@gmail.com on 10 Dec 2011 at 2:25
Original issue reported on code.google.com by
flexphpe...@gmail.com
on 10 Dec 2011 at 2:25