Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0016048 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 09. Financial management | major | always | 2011-02-24 16:31 | 2011-03-22 12:16 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | egoitz | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP28 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 4addfde43b68 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP26 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0016048: Error when visualizing Balance sheet and P&L structure report in Japanese | |||||||
Description | Error when visualizing Balance sheet and P&L structure report in Japanese. Japanese characters are not properly handled and showed as # | |||||||
Steps To Reproduce | 1. Install Japanese translation 2. Follow http://wiki.openbravo.com/wiki/Balance_sheet_and_PL_structure [^] to configure reports 3. Execute report in PDF | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0034658) hgbot (developer) 2011-03-08 13:47 |
Repository: erp/stable/2.50 Changeset: 4addfde43b68af8a91ec3eeaef7d1898a8ac9b9f Author: Egoitz Castillo <egoitz.castillo <at> openbravo.com> Date: Tue Mar 08 13:46:34 2011 +0100 URL: http://code.openbravo.com/erp/stable/2.50/rev/4addfde43b68af8a91ec3eeaef7d1898a8ac9b9f [^] Fixed bug 16048. Error when visualizing Balance sheet in Japanese --- M src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReportsPDF.fo --- |
(0034659) egoitz (viewer) 2011-03-08 13:47 |
* How to test the issue It is not a bug, but a configuration problem, so the only change done is to allow configuring the report properly. A font-family has been defined for the whole document, because this fix only some fields had a font-family. *Other areas affected It has only been modified a property on a fo file, no other areas are affected by this fix |
(0034660) egoitz (viewer) 2011-03-08 13:47 |
How to configure the application to allow using Japanese in fo reports: 1- Get the needed fonts that include special characters for Japanse. It has been tested with: Ms Gothc, Ms PGothic, Ms UI Gothc and Ms Micho. 2- Convert the font file to xml using the same fop version that version used on Openbravo (fop 0.20.5) http://archive.apache.org/dist/xmlgraphics/fop/binaries/fop-0.20.5-bin.tar.gz [^] [^] To convert use the following order on the fop application downloaded: For example to use MS UI Gothic font, after get the ttc file needed. java -cp build/fop.jar:lib/avalon-framework-4.2.0.jar:lib/commons-logging-1.0.4.jar:lib/commons-io-1.3.1.jar:lib/xmlgraphics-commons-1.3.1.jar org.apache.fop.fonts.apps.TTFReader -ttcname "MS UI Gothic" /home/openbravo/fonts/msgothic.ttc /home/openbravo/fonts/msgothic.xml 3-Configure the config/userconfig.xml file to use this new font: Add this new source, on configuration tag of the file: <fonts> <font metrics-file="/home/openbravo/fonts/msgothic.xml" embed-file="/home/openbravo/fonts/msgothic.ttc" kerning="yes"> <font-triplet name="Helvetica" style="normal" weight="normal"/> <font-triplet name="Helvetica" style="normal" weight="bold"/> <font-triplet name="Helvetica" style="italic" weight="normal"/> <font-triplet name="Helvetica" style="italic" weight="bold"/> <font-triplet name="Helvetica" weight="bold"/> <font-triplet name="Helvetica"/> </font> </fonts> 4-Ejecute: ant smartbuild 5-Restart tomcat. Now the report should be shown correctly on Japanese |
(0035141) jonalegriaesarte (viewer) 2011-03-22 12:16 |
Verified |
![]() |
|||
Date Modified | Username | Field | Change |
2011-02-24 16:31 | adrianromero | New Issue | |
2011-02-24 16:31 | adrianromero | Assigned To | => dalsasua |
2011-02-24 16:31 | adrianromero | Modules | => Core |
2011-02-24 16:31 | adrianromero | OBNetwork customer | => Yes |
2011-02-24 16:31 | adrianromero | Issue generated from | 0015812 |
2011-02-24 16:31 | adrianromero | Relationship added | depends on 0015812 |
2011-02-24 16:31 | adrianromero | Status | new => scheduled |
2011-02-24 16:31 | adrianromero | fix_in_branch | => pi |
2011-02-28 10:10 | egoitz | Assigned To | dalsasua => egoitz |
2011-02-28 10:10 | egoitz | fix_in_branch | pi => |
2011-03-08 13:47 | hgbot | Checkin | |
2011-03-08 13:47 | hgbot | Note Added: 0034658 | |
2011-03-08 13:47 | hgbot | Status | scheduled => resolved |
2011-03-08 13:47 | hgbot | Resolution | open => fixed |
2011-03-08 13:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/4addfde43b68af8a91ec3eeaef7d1898a8ac9b9f [^] |
2011-03-08 13:47 | egoitz | Note Added: 0034659 | |
2011-03-08 13:47 | egoitz | Note Added: 0034660 | |
2011-03-22 12:16 | jonalegriaesarte | Note Added: 0035141 | |
2011-03-22 12:16 | jonalegriaesarte | Status | resolved => closed |
2011-03-22 12:16 | jonalegriaesarte | Fixed in Version | => 2.50MP28 |
Copyright © 2000 - 2009 MantisBT Group |