Replying to myself. Oops it is workijng. The capital was coming from XML i mean the xml said REGULAR TEXT instead of regular text. Thanks, Abhi
--- Abhijit Junnare <[EMAIL PROTECTED]> wrote: > I am having trouble with the font variant property. > Here is my sample FO > > <fo:inline font-family="Arial" > font-variant="small-caps">some small caps text > <fo:inline font-family="Arial" > font-variant="normal">regular text</fo:inline> some > small caps text</fo:inline> > > I expect the output to be > > SOME SMALL CAPS TEXT regular text SOME SMALL CAPS > TEXT > > but here is what I get > > SOME SMALL CAPS TEXT REGULAR TEXT SOME SMALL CAPS > TEXT > > I am using xsl and fop to render a PDF. the sample > FO > above i generated using xalan utility that comes > with > fop. > > Is there anything that I need to modify in my > stylesheet. Depending on the attributes on the > elements in XML I am setting the font-variant > property > in XSL and looks like XSL is working correctly as > verified from the intermediate FO. > Any help is appreciated. > Thanks, > Abhi > > > > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
