Jump to content
We've recently updated our Privacy Statement, available here ×

mreynolds0404

Members
  • Posts

    2
  • Joined

  • Last visited

mreynolds0404's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. After migrating our application from JasperReports 3.5.2 to 4.0.2, I noticed that reportFont elements are no longer defining the font attributes of the text elements that reference them when rendering reports in PDF. Defining the font attributes directly on a font element that belongs to the text element forks fine. Has anyone else encountered this problem?
  2. After migrating from JasperReports 3.5.2 to 4.0.2, all my reports are prematurely wrapping text when exported to PDF. After doing some forum searching, it seems the problem may have to do with font matching between the JVM and iText. But, I have not been able to find a font pair that fixes the issue. here is a standard font line we have in our reports that works in 3.5.2: <reportFont name="normal" isDefault="false" fontName="Lucida Sans Typewriter" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/> I tried changing the font name to Arial (we are on Windows systems) with no luck. I also tried removing all font defs in a report and just seeing if the default fonts worked...also no luck (see attached pdf). Does anyone have any tips for resolving this? Does anyone know where in JasperReports would be a good place to debug font loading?
×
×
  • Create New...