Created
September 9, 2013 11:30
-
-
Save edouard-lopez/6494377 to your computer and use it in GitHub Desktop.
Hanzi Pinyin Font from multiple <svg:text> elements to a single <svg:path> (Union path operations)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<!-- Created with Inkscape (http://www.inkscape.org/) --> | |
<svg | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:cc="http://creativecommons.org/ns#" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:svg="http://www.w3.org/2000/svg" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | |
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | |
version="1.0" | |
width="1000" | |
height="1000" | |
id="gid" | |
inkscape:version="0.48+devel r" | |
inkscape:output_extension="org.inkscape.output.svg.inkscape" | |
sodipodi:docname="丂-x4E02.svg"> | |
<sodipodi:namedview | |
pagecolor="#ffffff" | |
bordercolor="#666666" | |
borderopacity="1" | |
objecttolerance="10" | |
gridtolerance="10" | |
guidetolerance="10" | |
inkscape:pageopacity="0" | |
inkscape:pageshadow="2" | |
inkscape:window-width="640" | |
inkscape:window-height="480" | |
id="namedview14" | |
showgrid="false" | |
inkscape:zoom="0.236" | |
inkscape:cx="500" | |
inkscape:cy="500" | |
inkscape:window-x="0" | |
inkscape:window-y="0" | |
inkscape:window-maximized="0" | |
inkscape:current-layer="gid" /> | |
<metadata | |
id="metadata5594"> | |
<rdf:RDF> | |
<cc:Work | |
rdf:about=""> | |
<dc:format>image/svg+xml</dc:format> | |
<dc:type | |
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | |
<dc:title /> | |
</cc:Work> | |
</rdf:RDF> | |
</metadata> | |
<defs | |
id="defs5498"> | |
<inkscape:perspective | |
sodipodi:type="inkscape:persp3d" | |
inkscape:vp_x="0 : 500 : 1" | |
inkscape:vp_y="0 : 1000 : 0" | |
inkscape:vp_z="1000 : 500 : 1" | |
inkscape:persp3d-origin="500 : 333.33333 : 1" | |
id="perspective3931" /> | |
<font | |
horiz-adv-x="1024" | |
id="font3933" | |
inkscape:label="Hanzi-Pinyin Font"> | |
<font-face | |
units-per-em="1024" | |
id="font-face3935" | |
font-family="Hanzi-Pinyin Font" /> | |
<missing-glyph | |
d="M0,0h1000v1024h-1000z" | |
id="missing-glyph3937" /> | |
<glyph | |
id="font-glyph" | |
glyph-name="U+4E02: 丂/kǎo/" | |
unicode="丂" | |
d="" /> | |
</font> | |
</defs> | |
<path | |
style="font-size:800px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Droid Sans Fallback;-inkscape-font-specification:Droid Sans Fallback" | |
d="M 0 164.0625 L 0 226.5625 L 165.625 226.5625 L 121.875 460.9375 L 553.125 460.9375 C 553.125 600.52083 545.83333 688.02083 531.25 723.4375 C 518.75 756.77083 491.66667 773.4375 450 773.4375 C 402.08333 773.4375 348.95833 769.27083 290.625 760.9375 L 309.375 823.4375 C 359.375 831.77083 407.29167 835.9375 453.125 835.9375 C 530.20833 835.9375 577.08333 808.85417 593.75 754.6875 C 612.5 698.4375 621.875 579.6875 621.875 398.4375 L 200 398.4375 L 234.375 226.5625 L 684.375 226.5625 L 684.375 164.0625 L 0 164.0625 z M 770.3125 280.27344 L 770.3125 306.05469 L 832.42188 306.05469 L 844.14062 322.46094 L 770.3125 371.67969 L 770.3125 402.14844 L 861.71875 340.03906 L 930.85938 398.63281 L 930.85938 366.99219 L 853.51562 304.88281 L 853.51562 303.71094 L 893.35938 306.05469 L 998.82812 306.05469 L 998.82812 280.27344 L 770.3125 280.27344 z M 814.84375 417.38281 C 800 417.38281 788.28125 421.28906 779.6875 429.10156 C 771.875 437.69531 767.96875 449.41406 767.96875 464.25781 C 767.96875 485.35156 776.17188 501.75781 792.57812 513.47656 L 792.57812 514.64844 L 770.3125 519.33594 L 770.3125 539.25781 L 880.46875 539.25781 C 899.21875 539.25781 912.89062 534.57031 921.48438 525.19531 C 930.07812 515.82031 934.375 500.97656 934.375 480.66406 C 934.375 463.47656 929.6875 446.28906 920.3125 429.10156 L 900.39062 438.47656 C 908.20312 453.32031 912.10938 467.38281 912.10938 480.66406 C 912.10938 491.60156 908.98438 499.41406 902.73438 504.10156 C 897.26562 509.57031 888.67188 512.30469 876.95312 512.30469 L 867.57812 512.30469 L 866.40625 485.35156 C 864.84375 440.03906 847.65625 417.38281 814.84375 417.38281 z M 996.48438 436.13281 L 970.70312 458.39844 C 963.67188 464.64844 957.42188 468.94531 951.95312 471.28906 L 951.95312 499.41406 C 959.76562 502.53906 974.60938 513.86719 996.48438 533.39844 L 1000 533.39844 L 1000 515.82031 C 993.75 506.44531 984.76562 496.28906 973.04688 485.35156 C 985.54688 472.85156 994.53125 462.30469 1000 453.71094 L 1000 436.13281 L 996.48438 436.13281 z M 814.84375 444.33594 C 825 444.33594 832.8125 447.46094 838.28125 453.71094 C 843.75 460.74219 846.875 473.24219 847.65625 491.21094 L 848.82812 512.30469 L 834.76562 512.30469 C 819.92188 512.30469 808.59375 508.39844 800.78125 500.58594 C 792.96875 493.55469 789.0625 483.39844 789.0625 470.11719 C 789.0625 461.52344 791.01562 454.88281 794.92188 450.19531 C 799.60938 446.28906 806.25 444.33594 814.84375 444.33594 z M 851.17188 579.10156 C 824.60938 579.10156 803.90625 585.35156 789.0625 597.85156 C 775 611.13281 767.96875 628.32031 767.96875 649.41406 C 767.96875 670.50781 775 687.30469 789.0625 699.80469 C 803.125 713.08594 823.82812 719.72656 851.17188 719.72656 C 876.95312 719.72656 897.26562 713.08594 912.10938 699.80469 C 926.95312 686.52344 934.375 669.72656 934.375 649.41406 C 934.375 628.32031 926.95312 611.13281 912.10938 597.85156 C 898.04688 585.35156 877.73438 579.10156 851.17188 579.10156 z M 851.17188 607.22656 C 871.48438 607.22656 886.71875 610.74219 896.875 617.77344 C 907.03125 624.80469 912.10938 635.35156 912.10938 649.41406 C 912.10938 663.47656 907.03125 674.02344 896.875 681.05469 C 886.71875 688.08594 871.48438 691.60156 851.17188 691.60156 C 830.85938 691.60156 815.23438 688.08594 804.29688 681.05469 C 794.14062 674.02344 789.0625 663.47656 789.0625 649.41406 C 789.0625 635.35156 794.14062 624.80469 804.29688 617.77344 C 815.23438 610.74219 830.85938 607.22656 851.17188 607.22656 z " | |
id="hanzi" /> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment