I'm  trying to have jasperreports integrated in my application and the
thing  is  that  I  must  point out the font file for jasperreports to
render cyrillic.

I do this by:
<style name="Arial_Normal" isDefault="true" fontName="Arial" fontSize="8"
isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"
pdfFontName="Arial.ttf" pdfEncoding="utf-8" isPdfEmbedded="true"/>

The main attribute is, of cource, "pdfFontName".

In  standalone  jasper  generator  iReport  everything  works  fine as
"arial.ttf"   is   placed   under   src/main/resources/arial.ttf   and
src/main/resources is manually placed in classpath.

In  working  tapestry  application  this  file  goes  from  src/..  to
WEB-INF/classes/arial.ttf   (and  I've  thought  that  is  enough  for
"arial.ttf" to be considered as being exist in classpath).

But  during  report  generation  this  file  is not found and thus all
cyrillic characters are silently stripped.

(thoughts  while  writing:  log4j  for  jasperreports internals to see
exact path list, maybe).

I  would  like some thoughts about "What is considered to be classpath
in running tapestry application?" (the one listed on exception page is
not quite right) and "how to reference a file placed in that classpath
in  files  that  are not managed by tapestry?". And all other thoughts
you may put about my problem :)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to