Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Revise font configuration implementation.

- Summary:

Revise font configuration implementation. Use <composite-font> section to define composite fonts

 

- Bugzilla Bug(s)

 

- Description:

User can use composite-font to define a composite font so that different fonts can be used for different characters.

 

For example, use can define a composite font like this:

         <composite-font name="testFont">

                  <block name="Basic Latin" range-start="0" range-end="7f" index="0" font-family="Courier"/>

                  <block name="default" font-family="Times-Roman"/>

         </composite-font>

“testFont” consists of two fonts: “Courier” will be used for character with unicode between 0 and 7f, “Times-Roman” will be used for other characters.

 

- Tests Description:

Manuel/Unit Test

 

- Notes to Build Team:

 

- Notes to Developers:

 

- Notes to QA:

 

- Notes to Documentation:

 

- Files Edited:

/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/layout/pdf/font/FontConfigReaderTest.java

/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/layout/pdf/font/fontsConfig.xml

/org.eclipse.birt.report.engine.fonts/fontsConfig.xml

/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/font/FontConfigReader.java

/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/font/FontMappingManager.java

/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/font/FontHandler.java

 

- Files Added:

/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/layout/pdf/font/fontsConfigCompatible.xml

/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/layout/pdf/font/fontsConfig2.xml

/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/layout/pdf/font/fontsConfig1.xml

/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/layout/pdf/font/fontsConfigParser.xml

 

-Jun Ouyang

 


Back to the top