Project

General

Profile

Actions

Defect #19410

closed

Export to PDF problem while exporting Arabic text to pdf

Added by vijay krishna over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

We have a problem in exporting arabic text in issues list to pdf report using redmine version 2.5.1.
We upgraded to version 2.6.2 including rbpdf 1.18.3 and "DejaVuSans" font Arabic locale.
Still we are facing the same issue.


Files

Actions #1

Updated by Toshi MARUYAMA over 9 years ago

Please give us examples.

Actions #2

Updated by Jun NAITOH over 9 years ago

vijay krishna wrote:

We upgraded to version 2.6.2 including rbpdf 1.18.3 and "DejaVuSans" font Arabic locale.

rbpdf 1.18.3 has problem on Arabic text.
please use rbpdf 1.18.5 or later.

Actions #3

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from New to Needs feedback
Actions #4

Updated by Toshi MARUYAMA over 9 years ago

  • Affected version changed from 2.5.1 to 2.6.2
Actions #5

Updated by Toshi MARUYAMA over 9 years ago

Do you really use 2.6.2?
2.6.2 requires rbpdf 1.18.5.
source:tags/2.6.2/Gemfile#L10

Actions #6

Updated by vijay krishna over 9 years ago

i have attached screenshots of pdf report and gem file for your reference. Please let me know if you need any other info.

Actions #7

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

You need to change your locale to Arabic on user preference.
If you want to use DejaVuSans font on English locale, you need to change this line.
source:tags/2.6.3/config/locales/en.yml#L144

Actions #8

Updated by vijay krishna over 9 years ago

  • Status changed from Closed to Reopened

Thanks. How can we fix this in export to excel in csv format.

Actions #9

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from Reopened to Closed

vijay krishna wrote:

Thanks. How can we fix this in export to excel in csv format.

#16040.

Actions #10

Updated by vijay krishna over 9 years ago

  • Status changed from Closed to Reopened

i have changed the "general_csv_encoding: UTF-8" in en.yml config file. still issue not resolved. please help on this.

general_lang_name: 'English'
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: DejaVuSans
general_first_day_of_week: '7'
Actions #11

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from Reopened to Closed

Do not post to unrelated issue.

Actions

Also available in: Atom PDF