Community
Participate
Working Groups
Build Identifier: M20110119-0834 The current RC2 doesn't apply font mappings that are defined in the *.xml files under plugins\org.eclipse.birt.report.engine.fonts_2.6.2.r262_v20110127. This bug doesn't occur in BIRT 2.6.0. Reproducible: Always Steps to Reproduce: 1. Create a report with some elements with Sans Serif font (which is default). 2. Sans Serif is mapped to Arial on Win32 by default. 3. Preview this report - the font is not Arial. 4. If you change the font mapping, the font won't change when the report is previewed.
Created attachment 188670 [details] Instructions with screenshots
Please fix this before 2.6.2 goes live
Same issue with 2.6.2Stable build (2_6_2-S20110209)
This is a expected result in 2.6.2 build. DOC output will use the user specified font rather than the mapping font in 2.6.2.
Can you please elaborate on why this decision has been made? It will cause reports to have different fonts in PDF and DOC - how is this avoidable then?
We use the user defined font directly and ignore the font mapping configuration. It is reasonable, because unlike PDF, WORD does not embed fonts. The server side font mapping configuration may be not suitable for the client side. We rely on WORD to convert the font. Unfortunately, the rules by which Word automatically selects substitute fonts are not provided. All the generic fonts are converted into "Times new roman" in my machine. In WORD 2010, the font substitution can be configured through options-> Advanced-> Show document content -> Font Substitution... It can be a workaround.