Results 1 to 2 of 2

Thread: Zucker Reports и русские символы

  1. #1
    ButscH is offline Member
    Join Date
    Jan 2010
    Posts
    10

    Default Zucker Reports и русские символы

    Привет всем.

    Столкнулся с проблемой вывода русского текста в pdf. Он либо вообще не выводится либо символы все накладываются друг на друга.

    Кто нибудь сталкивался с такой проблемой?

    Читал про этот вариант, но что-то не помог

    Quote Originally Posted by Del Doss
    it took me some time to figure out how to print out proper pdf reports containing Cyrillic font.

    I will describe my solution gathered from several sources. In the following example I have used Arial.ttf font.
    1. You have to put Arial.ttf in: ..\JasperSoft\iReport-3.0.0\fonts
    2. From Jasper reports: Options -> Reload fonts
    3. On the text field with Cyrillic the properties has to be changed to: PDF font -> arial.ttf; PDF Encoding ->CP1251; PDF embedded - Yes;
    Now you can save your repport.
    The next steps have to be done in the Zucker folder
    4. You have to place Arial.ttf in the following path:
    ..\htdocs\sugarcrm\modules\ZuckerReports\resources

    Now you are ready for Cyrillic reports.
    Last edited by ButscH; 2010-03-16 at 06:53 AM.

  2. #2
    erop is offline Sugar Community Member
    Join Date
    Jan 2005
    Location
    Moscow, Russia
    Posts
    107

    Default Re: Zucker Reports и русские символы

    Под рукой нет рабочего iReports, поэтому пишу по памяти. Попробуй в iReports непосредственно мышью выбрать файл со шрифтом в Properties для каждого <textElement> и чтобы у тебя было как на картинке ниже. Обрати внимание также, что далеко не везде arial.ttf = Arial.ttf


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 2010-01-27, 10:23 AM
  2. Replies: 3
    Last Post: 2007-08-02, 07:52 AM
  3. Replies: 0
    Last Post: 2007-05-15, 03:20 PM
  4. Replies: 0
    Last Post: 2006-03-03, 07:48 AM
  5. Replies: 34
    Last Post: 2006-01-10, 05:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •