[ https://issues.apache.org/jira/browse/FOP-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sushmitha updated FOP-2542: --------------------------- Attachment: my-FO.xml > font-weight issue with apache RTF format > ---------------------------------------- > > Key: FOP-2542 > URL: https://issues.apache.org/jira/browse/FOP-2542 > Project: FOP > Issue Type: Bug > Components: fo/block > Reporter: Sushmitha > Attachments: my-FO.xml > > > Hi, > I'm adding new fonts definition to my config file like below font-weight is > given in number. the generated RTF output is not applying those font-weights. > Please suggest me. > FOP Version - 1.0 > OS - Unix, Windows > XSL-FO desc: > <fo:block font-family="'Franklin Gothic Std'" font-weight='600' > > Franklin Gothic Std No.2: > > ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^*(){}[]'""?iui > </fo:block> > > <fo:block font-family="'Franklin Gothic Std'" font-weight='400' > > Franklin Gothic Std ExtraCond: > > ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^*(){}[]'""?iui > </fo:block> > > <fo:block font-family="'Franklin Gothic Std'" font-weight='700' > > Franklin Gothic Std Condensed: > > ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^*(){}[]'""?iui > </fo:block> > fop.xconf: - > <renderers> > <renderer mime="application/pdf"> > <fonts> > <font metrics-url="Franklin Gothic Std Condensed.xml" > kerning="yes" embed-url="Franklin Gothic Std Condensed.ttf"> > <font-triplet name="Franklin Gothic Std" style="normal" > weight="700"/> > </font> > > <font metrics-url="Franklin Gothic Std.xml" kerning="yes" > embed-url="Franklin Gothic Std.ttf"> > <font-triplet name="Franklin Gothic Std" style="normal" > weight="400"/> > </font> > > <font metrics-url="Franklin Gothic Std No.2.xml" kerning="yes" > embed-url="Franklin Gothic Std No.2.ttf"> > <font-triplet name="Franklin Gothic Std" style="normal" > weight="600"/> > </font> > </fonts> > </renderer> > <renderer mime="application/rtf"> > <fonts> > <font metrics-url="Franklin Gothic Std Condensed.xml" > kerning="yes" embed-url="Franklin Gothic Std Condensed.ttf"> > <font-triplet name="Franklin Gothic Std" style="normal" > weight="700"/> > </font> > > <font metrics-url="Franklin Gothic Std.xml" kerning="yes" > embed-url="Franklin Gothic Std.ttf"> > <font-triplet name="Franklin Gothic Std" style="normal" > weight="400"/> > </font> > > <font metrics-url="Franklin Gothic Std No.2.xml" kerning="yes" > embed-url="Franklin Gothic Std No.2.ttf"> > <font-triplet name="Franklin Gothic Std" style="normal" > weight="600"/> > </font> > </fonts> > > </fonts> > </renderer> -- This message was sent by Atlassian JIRA (v6.3.4#6332)