Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0011514 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
design defect | [Openbravo ERP] A. Platform | minor | always | 2009-11-26 12:41 | 2022-02-01 08:08 | ||||||
Reporter | franck_routier | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | normal | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_16 | ||||||
OS Version | Professional Appliance | Database version | 8.3.8 | Ant version | 1.7.1 | ||||||
Product Version | 2.50MP8 | SCM revision | |||||||||
Review Assigned To | |||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
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 ?? | ||||||||||
Tags | OB3-Reviewed | ||||||||||
Attached Files | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||
|
Notes | |
(0022213) franck_routier (reporter) 2009-11-26 18:55 |
When asked if the document should be archived after printing, if I answer yes, I get an error message : net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font : pdfFontName : Helvetica pdfEncoding : Identity-H isPdfEmbedded : true |
(0022254) franck_routier (reporter) 2009-11-30 12:23 |
In fact with CP1251, report is also blank if there are some lines in the invoice... |
(0041368) psarobe (manager) 2011-09-29 11:58 |
JasperReports has been updated. Needs to be verified |
(0045510) alostale (manager) 2012-02-28 10:37 |
Setting as design defect: it must be verified whether it is a jasper reports issue or something incorrectly done in OB platform. |
(0045511) alostale (manager) 2012-02-28 10:37 |
See http://forge.openbravo.com/projects/openbravoerp/forum/viewtopic.php?f=549512&t=7026638#p7028414 [^] |
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 |
Copyright © 2000 - 2009 MantisBT Group |