You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Balajee Chandrasekaran <ba...@mastek.com> on 2002/10/07 06:30:05 UTC

Font Width

Hi All,
I want to change the font width of  my report. Basically I want to accomodate more charaters perline of the report. So I beleive I have to reduce the font width of the characters so as to squeeze in more characters.

I'm usinf FOP 0.20.4. I tried using "fot-stretch" property. 
But FOP gave me

[ERROR] property - "font-stretch" is not implemented yet.

I saw the xslfoRef.pdf that came with FOP 0.20.4 download, It did mention "font-stretch" property usage.

My FO content is something like this

      <fo:block font-size="8pt" 
            font-family="Courier" 
            line-height="12pt"
            text-align="center"
            padding-top="0pt"
            font-stretch="wider" >
        Extensible Markup Language (XML) 1.0
      </fo:block>

Is there any errorin my usage of the property??

How else can i acheive my objective?

Thanks in advance for the help

regards
Balajee Chandrasekaran


MASTEK
Investing in relationships
In the US, we're called MAJESCO

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Font Width

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Balajee Chandrasekaran wrote:
 > I want to change the font width of  my report. Basically I want to accomodate
 > more charaters perline of the report. So I beleive I have to reduce the font
 > width of the characters so as to squeeze in more characters.
 >
 > I'm usinf FOP 0.20.4. I tried using "fot-stretch" property. But FOP gave me
 >
 > [ERROR] property - "font-stretch" is not implemented yet.
...
 > Is there any errorin my usage of the property??

Not really. It just isn't implemented.
Also, it isn't really recommended to use this property, because
it may distort the writing, especially for smaller font sizes.

Furthermore:
  font-stretch="wider"
this would expand the characters, rather than makeing them narrower.

 > How else can i acheive my objective?
Use another font, or try to get a "narrow" or "condensed" variant of the
font you want to use.

J.Pietschmann



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org