Hi Manish,

Chopra, Manish wrote:
I am drawing text using following font.

Font:java.awt.Font[family=dialog,name=Times,style=bolditalic,size=12]

My font is gettign replaced with following

<g font-family="'dialog'">

   What do you mean 'replaced'?  The family name from above
is also 'dialog', so it looks right to me:

> Font:java.awt.Font[family=dialog,name=Times,style=bolditalic,size=12]
                     ^^^^^^^^^^^^^

   IIRC 'dialog' is one of the allowed
psudo CSS font-families so there shouldn't be a problem
with this.

   If you really want something like 'Times' then you
should construct the font with that name.


      <text stroke="none" x="2" xml:space="preserve"
y="12.0645">Normal</text>
    </g>

Do I need to set some font config etc.
Please help

Manish

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to