Thứ Năm, 24 tháng 2, 2011

Use external font in Jasper Report

How to use external font in iReport:
  1. In iReport design screen you must select 3 fields with the following values:
    - Font name: Arial
    - Pdf Font name is now deprecated. You should use a Font extension when using a not standard font. See Tools->Options->Fonts: arial.ttf
    - Pdf Encoding: Identity-H (Unicode with horizontal writing)
  2. Create a folder named font in lib folder of you project.
  3. Reference classpath to font folder.
Enjoy.

Không có nhận xét nào:

Đăng nhận xét