summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2008-05-27 02:28:04 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2008-05-27 02:28:04 +0000
commitd09b53dab660ebfddd575d8f09446ae9f190183f (patch)
tree06be69dc05575659c9f19af38df000c5fe45c1c9 /share/examples
parentimplemented new classes for horizontal and vertical line segments; path.h has... (diff)
downloadinkscape-d09b53dab660ebfddd575d8f09446ae9f190183f.tar.gz
inkscape-d09b53dab660ebfddd575d8f09446ae9f190183f.zip
* converted nr-svgfont.cpp to C++ code so that we can render multiple instances of fonts. Currently we have one auxiliary GtkWindow for each <font> in a document.
* Implemented C++ binding for cairo userfonts. This will probably be sent to cairomm soon. * Added a second font to the svgfont.svg test file. (bzr r5756)
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/svgfont.svg11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/examples/svgfont.svg b/share/examples/svgfont.svg
index 10bac6e91..6ac420df0 100644
--- a/share/examples/svgfont.svg
+++ b/share/examples/svgfont.svg
@@ -14,6 +14,17 @@
<hkern u1="!" u2="@" k="1000" />
</font>
+ <font id="Font2" horiz-adv-x="1000">
+ <font-face font-family="Super Sans2" font-style="oblique" font-stretch="ultra-expanded" />
+ <glyph unicode="!" d="M0,0h500v500h-500v-300h100v200h300v-300h-400z">
+ <circle r='500' cx='500' cy='500' style="fill:none;stroke:green;"/>
+ </glyph>
+ <glyph unicode="@" d="M500,500h250v250h-250z">
+ <circle r='250' cx='500' cy='500' style="fill:blue;"/>
+ </glyph>
+ <missing-glyph d="M0,0h1000v1000z"></missing-glyph>
+ <hkern u1="!" u2="@" k="1000" />
+ </font>
<text x="100" y="100" style="font-size:70;font-family:'Super Sans';fill:red;">This text is not used yet. Currently test strings are hardcoded...</text>
</svg>