| Summary: | Problems with Hindi and Arabian fonts | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | lucanus81 <lucanus81> | ||||
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | wyan, zqian | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
lucanus81
Created attachment 167719 [details]
The sample report with Hindi and Arabic text.
The hindi character can't be displayed using Tahoma, you can use "Mangal". For example, in windows 7, you can add the statment in the fontConfigs.xml below <font font-family="Tahoma" />: <font font-family="Mangal"/> To decide which font should be used for the specific language, you can simply input the text into Word to see the font used for that text. Hi, let me first of all thank you for this, I have never thought about this trick (to check with Word). After this, <block name="Arabic" range-start="0600" range-end="06ff" index="12" font-family="Times New Roman"/> <block name="Arabic Supplement" range-start="0750" range-end="077f" index="14" font-family="Times New Roman"/> <block name="Devanagari" range-start="900" range-end="97f" index="17" font-family="Mangal"/> <block name="Arabic Presentation Forms-A" range-start="fb50" range-end="fdff" index="117" font-family="Times New Roman"/> <block name="Arabic Presentation Forms-B" range-start="fe70" range-end="feff" index="123" font-family="Times New Roman"/> and magically all my fonts started working (for PS I have added those lines to fontConfig_postscript_linux.xml). You really should consider to add a section to BIRT documentation online regarding this trick. Regarding the arabian problem, I have only now noticed that - in HTML the arabian is well displayed, let's say the pattern is <A,B,...,Z>, - in PDF/PS the order is inverted: <Z,...,B,A>. If this is a limitation for BIRT 2.2.X, well, I don't think there's much to do. In such a case, you can close the defect. Again thank you. Luca |