keeely Posted May 12, 2017 Share Posted May 12, 2017 I noticed Excel 2010 does a good job of exporting a CSV to a PDF. I get a PDF version 1.3 document and all unicode characters (including Japanese) appear to be visible on all PDF viewers. Jasper Reports seems to default to Helvetica with codepage cp1252, so Japanese characters aren't displayed.I'd like to do the same thing with Jasper Reports. How do I go about taking the following strings (extracted from the Excel PDF) and turn them into instructions for Jasper Reports? Which font(s) should I specify?Thanks!<< /ProcSet [ /PDF /Text ] /ColorSpace << /Cs1 7 0 R >> /Font << /TT2 9 0 R/G1 10 0 R >> >><< /Type /Font /Subtype /TrueType /BaseFont /YBNGKU+Calibri /FontDescriptor14 0 R /ToUnicode 15 0 R /FirstChar 33 /LastChar 45 /Widths [ 525 525 799525 498 349 507 507 507 527 400 335 715 ] >><< /Type /FontDescriptor /FontName /YBNGKU+Calibri /Flags 4 /FontBBox [-503 -307 1240 1026]/ItalicAngle 0 /Ascent 952 /Descent -269 /CapHeight 644 /StemV 0 /XHeight476 /AvgWidth 521 /MaxWidth 1328 /FontFile2 17 0 R >><< /Type /Font /Subtype /Type0 /Encoding /Identity-H /DescendantFonts [19 0 R]/BaseFont /CVQVSA+MS-Mincho /ToUnicode 20 0 R >><< /Type /Font /Subtype /CIDFontType2 /BaseFont /CVQVSA+MS-Mincho /CIDSystemInfo<< /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> /W 22 0 R /DW 1000/FontDescriptor 23 0 R /CIDToGIDMap 24 0 R >><< /Type /FontDescriptor /FontName /CVQVSA+MS-Mincho /Flags 5 /FontBBox [-977 -137 996 859]/ItalicAngle 0 /Ascent 859 /Descent -141 /CapHeight 668 /StemV 0 /XHeight438 /AvgWidth 500 /MaxWidth 1000 /FontFile2 25 0 R >> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now