RE: Cisco icons for Dia

Ah - that would have saved me a weekend. 

I will look at doing this instead of tracing the outlines as I do at the
moment - in particular, my 'S' looks pretty awful.

Can you put a list in font-family e.g. Helvetica, Arial, sans-serif? How
do you indicate bold for Windows users - in the family name?

Ian Redfern.

On Tue, 2002-06-25 at 04:02, Young, Robert wrote:
Ian Redfern wrote:
would also be much simpler if I could put text in shape 
files, although
I admit that cross-platform font issues would make this impractical.

It is possible to put text in shape files. I may even have be caught saying
you can't, but when I looked into it, it is possible. As you say, there may
be cross-platform issues.

Anyway, here's how to do it:

To place text in a shape, use the svg:text element. It has the following
style attributes which may be set:
text-anchor: start or end
The text is then placed in the svg:text element. For example
<svg:text x="0" y="0" style="text-anchor:start;">Test</svg:text>
will place the text Test starting at (0,0).

I note that this feature was added on 2001-05-18 but is completely
undocumented (excluding ChangeLog and objects/custom/test.xml). I will
submit a bug regarding the lack of doco (#86402). I should write the doco...

Dia-list mailing list
Dia-list gnome org
Ian Redfern
Telecoms Solutions
Logica UK
Tel: +44 (0) 20 7446 1686
Email: RedfernI logica com

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain 
proprietary material, confidential information and/or be subject to legal privilege.  It should not be 
copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please 
promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]