Fred,
Now that I see your sample, it's truly grand. Something like that we were contemplating with njh some time ago, but it seemed like a long time away :)
A few points:
1 Why don't you use standard URIs for linking the typeset group with its shape? i.e. instead of non-standard
inkscape:dstShape="[rect1525]"
I propose
inkscape:dstShape="#rect1525"
which will allow you to use the standard URIReference class.
2 You use dx for spacing the line, but since all dx values are the same, it's much easier to add a letter-spacing property, e.g.:
style="font-family:Luxi Sans;font-size:12.000000;letter-spacing:0.345123"
That will work out of the box. Still better would be using word-spacing for small stretches, and add some letter-spacing when stretch becomes too large (with user-settable threshold). The word-spacing property is not yet supported, but it's easy to add it - just let me know and I'll implement it.
3 When all dy values are 0, you don't need to set the dy vector at all.
4 Currently your sample works in Batik, but crashes Inkscape on load :)
typeset 82e0910: n src= The Digital Millennium Copyright Act, better known as the DMCA, is a travesty of law. The act (summary available here in PDF form) was passed in 1998 and since this period of time it has been used in the most egregious ways to shut down Fair Use and competition in the marketplace. From being used to justify illegal subpoenas, to making reverse engineering easily preventable, to shutting down toner cartridge competition, to killing off Fair Use, the law is a major blow to consumer interests. While some uses of the DMCA have met stiff rebuttals from the judiciary (e.g., Lexmark toner ploy was defeated for now), the law remains in need of revocation or serious reworking. Here's the beef: ditch typeset 82e0910: n shape dst= [rect1525]
** (inkscape:20246): CRITICAL **: file desktop-handles.cpp: line 40 (SPDocument* sp_desktop_document(SPDesktop*)): assertion `desktop != NULL' failed
** ERROR **: file document-undo.cpp: line 77 (void sp_document_maybe_done(SPDocument*, const gchar*)): assertion failed: (doc != NULL) aborting...
_________________________________________________________________ http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI...
participants (1)
-
bulia byak