Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||
0011514 | Openbravo ERP | A. Platform | public | 2009-11-26 12:41 | 2022-02-01 08:08 | |||||||||||||||||||
Reporter | franck_routier | |||||||||||||||||||||||
Assigned To | Triage Platform Base | |||||||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||||||||||||||
Status | acknowledged | Resolution | open | |||||||||||||||||||||
Platform | OS | 30 | OS Version | Professional Appliance | ||||||||||||||||||||
Product Version | 2.50MP8 | |||||||||||||||||||||||
Target Version | Fixed in Version | |||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||
Review Assigned To | ||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||
Web browser | ||||||||||||||||||||||||
Modules | Core | |||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||
Summary | 0011514: Unable to generate pdf report unsing Identity-H encoding | |||||||||||||||||||||||
Description | When generating pdf reports with encodings other than werstern (cp1252), eg cp1251 for cyrillic, reports in OB fail, as then use a default font that does not contain cyrillic characters, and use a default encoding not suited for those characters. Issue https://issues.openbravo.com/view.php?id=4139 [^] gives a workaround, than implies modifying the jrxml to set a report-wide font and encoding. This works as far a you use CP1251, but then you cannot diplay western european texts... My need is to have invoices that are labelled in both bulgarian (cyrillic) and english (western). In jasper, this is supposed to be done using the 'Identity-H' (~UTF-8) pdf encoding. But setting a report-wide font with Identity-H encoding results in a blank pdf being generated... | |||||||||||||||||||||||
Steps To Reproduce | 1) In 'Text Interfaces', add a translation for a string in RptC_Invoice.jrxml than contains cyrillic characters. Print an invoice : the translated sentence is blank. 2) use workaround as in issue 4139, ie add <reportFont name="Helvetica" isDefault="true" pdfEncoding="CP1251" pdfFontName="/usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf"/> in the jrxml Print an invoice : translated sentence appears 3) Modifiy the translation to include both cyrillic and western characters Print an invoice : western characters are not shown... 4) Try to replace CP1251 with Identity-H in the reportFont tag. Print an invoice : report in blank... | |||||||||||||||||||||||
Proposed Solution | Don't know :-) Maybe related to JasperReports/Itext version ?? | |||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||
Tags | OB3-Reviewed | |||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||
2009-11-26 12:41 | franck_routier | New Issue | ||||||||||||||||||||||
2009-11-26 12:41 | franck_routier | Assigned To | => rafaroda | |||||||||||||||||||||
2009-11-26 18:55 | franck_routier | Note Added: 0022213 | ||||||||||||||||||||||
2009-11-30 12:23 | franck_routier | Note Added: 0022254 | ||||||||||||||||||||||
2009-12-02 11:18 | rafaroda | Relationship added | depends on 0004139 | |||||||||||||||||||||
2009-12-02 12:54 | shuehner | Issue Monitored: shuehner | ||||||||||||||||||||||
2010-02-11 18:26 | rafaroda | Assigned To | rafaroda => alostale | |||||||||||||||||||||
2010-02-15 12:55 | alostale | Assigned To | alostale => adrianromero | |||||||||||||||||||||
2011-06-03 11:00 | dalsasua | Assigned To | adrianromero => dalsasua | |||||||||||||||||||||
2011-07-20 18:11 | dalsasua | Assigned To | dalsasua => jonalegriaesarte | |||||||||||||||||||||
2011-09-29 11:58 | psarobe | Note Added: 0041368 | ||||||||||||||||||||||
2011-09-29 11:58 | psarobe | Status | new => scheduled | |||||||||||||||||||||
2011-11-25 18:03 | jonalegriaesarte | Tag Attached: OB3-Reviewed | ||||||||||||||||||||||
2012-02-15 19:03 | iciordia | Assigned To | jonalegriaesarte => vmromanos | |||||||||||||||||||||
2012-02-16 18:17 | vmromanos | Assigned To | vmromanos => alostale | |||||||||||||||||||||
2012-02-17 11:45 | alostale | Relationship added | related to 0019325 | |||||||||||||||||||||
2012-02-28 10:37 | alostale | Note Added: 0045510 | ||||||||||||||||||||||
2012-02-28 10:37 | alostale | Type | defect => design defect | |||||||||||||||||||||
2012-02-28 10:37 | alostale | Note Added: 0045511 | ||||||||||||||||||||||
2017-03-31 14:36 | alostale | Status | scheduled => acknowledged | |||||||||||||||||||||
2017-04-10 14:35 | alostale | Assigned To | alostale => platform | |||||||||||||||||||||
2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|