| 1 |
<?xml version="1.0" standalone="no"?> |
| 2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" |
| 3 |
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> |
| 4 |
|
| 5 |
<!-- |
| 6 |
|
| 7 |
Licensed to the Apache Software Foundation (ASF) under one or more |
| 8 |
contributor license agreements. See the NOTICE file distributed with |
| 9 |
this work for additional information regarding copyright ownership. |
| 10 |
The ASF licenses this file to You under the Apache License, Version 2.0 |
| 11 |
(the "License"); you may not use this file except in compliance with |
| 12 |
the License. You may obtain a copy of the License at |
| 13 |
|
| 14 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 15 |
|
| 16 |
Unless required by applicable law or agreed to in writing, software |
| 17 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 18 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 |
See the License for the specific language governing permissions and |
| 20 |
limitations under the License. |
| 21 |
|
| 22 |
--> |
| 23 |
<!-- ========================================================================= --> |
| 24 |
<!-- Alternate stylesheets --> |
| 25 |
<!-- --> |
| 26 |
<!-- @author [email protected] --> |
| 27 |
<!-- @version $Id$ --> |
| 28 |
<!-- ========================================================================= --> |
| 29 |
|
| 30 |
<?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> |
| 31 |
|
| 32 |
<?xml-stylesheet type="text/css" title="Hot" href="../../resources/style/hot.css" alternate="yes" ?> |
| 33 |
<?xml-stylesheet type="text/css" title="Cold" href="../../resources/style/cold.css" alternate="yes" ?> |
| 34 |
|
| 35 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500"> |
| 36 |
<title>Alternate stylesheets</title> |
| 37 |
|
| 38 |
<style type="text/css"><![CDATA[ |
| 39 |
|
| 40 |
.title { |
| 41 |
font-family: Arial, Helvetica; |
| 42 |
font-size: 16; |
| 43 |
text-anchor: middle; |
| 44 |
} |
| 45 |
|
| 46 |
.legend { |
| 47 |
font-family: Arial, Helvetica; |
| 48 |
font-size: 10; |
| 49 |
text-anchor: middle; |
| 50 |
} |
| 51 |
|
| 52 |
.light { |
| 53 |
lighting-color: #eee; |
| 54 |
} |
| 55 |
|
| 56 |
]]></style> |
| 57 |
|
| 58 |
<!-- ============================================================= --> |
| 59 |
<!-- Test content --> |
| 60 |
<!-- ============================================================= --> |
| 61 |
<g id="testContent"> |
| 62 |
<text x="225" y="50" class="title">Alternate Stylesheets 2</text> |
| 63 |
|
| 64 |
<text x="20" y="80" style="font-size:12; text-anchor:start"> |
| 65 |
<tspan>Choose your alternate stylesheet using the 'View->Use Stylesheet'</tspan> |
| 66 |
<tspan x="20" y="100"> submenu items.</tspan> |
| 67 |
</text> |
| 68 |
|
| 69 |
<defs> |
| 70 |
<font horiz-adv-x="838" > |
| 71 |
<font-face font-family="SVGImpact" |
| 72 |
units-per-em="2048" |
| 73 |
panose-1="2 11 8 6 3 9 2 5 2 4" |
| 74 |
ascent="2066" |
| 75 |
descent="-432"/> |
| 76 |
|
| 77 |
<missing-glyph horiz-adv-x="1536" d="M256 0V1280H1280V0H256ZM288 32H1248V1248H288V32Z" /> |
| 78 |
|
| 79 |
<glyph unicode="B" glyph-name="B" horiz-adv-x="1131" d="M84 1619H504Q703 1619 805 1588T971 1463T1034 1158Q1034 1016 990 960T814 874Q960 841 1012 765T1064 530V380Q1064 216 1027 137T907 29T571 0H84V1619ZM505 1342V982Q532 983 547 983Q609 983 626 |
| 80 |
1013T643 1188Q643 1264 629 1294T593 1333T505 1342ZM505 730V277Q594 280 618 305T643 428V579Q643 683 621 705T505 730Z" /> |
| 81 |
|
| 82 |
<glyph unicode="a" glyph-name="a" horiz-adv-x="1032" d="M433 813H54V902Q54 1056 89 1139T232 1287T510 1351Q715 1351 819 1279T944 1101T965 666V0H572V118Q535 47 477 12T337 -24Q231 -24 143 35T54 296V405Q54 554 101 608T334 734Q533 812 547 839T561 |
| 83 |
949Q561 1053 546 1084T494 1116Q453 1116 443 1090T433 952V813ZM561 631Q464 560 449 512T433 374Q433 271 446 241T500 211Q538 211 549 234T561 358V631Z" /> |
| 84 |
|
| 85 |
<glyph unicode="b" glyph-name="b" horiz-adv-x="1064" d="M476 1619V1236Q526 1294 587 1322T721 1351Q804 1351 865 1325T958 1252T996 1160T1003 968V370Q1003 224 984 153T892 29T721 -24Q650 -24 589 7T476 100L450 0H72V1619H476ZM599 950Q599 1053 586 |
| 86 |
1084T535 1116Q498 1116 487 1089T476 950V378Q476 271 488 241T538 211Q576 211 587 242T599 391V950Z" /> |
| 87 |
|
| 88 |
<glyph unicode="i" glyph-name="i" horiz-adv-x="561" d="M488 1619V1408H72V1619H488ZM488 1327V0H72V1327H488Z" /> |
| 89 |
|
| 90 |
<glyph unicode="k" glyph-name="k" horiz-adv-x="979" d="M942 1327L778 798L991 0H602L476 578V0H72V1619H476V939L602 1327H942Z" /> |
| 91 |
|
| 92 |
<glyph unicode="t" glyph-name="t" horiz-adv-x="624" d="M498 1504V1295H607V1085H498V375Q498 244 511 229T624 214V0H461Q323 0 264 11T160 64T104 159T93 411V1085H6V1295H93V1504H498Z" /> |
| 93 |
</font> |
| 94 |
|
| 95 |
<filter id="emboss" > |
| 96 |
<feGaussianBlur in="SourceAlpha" stdDeviation="6" result="blur"/> |
| 97 |
<feSpecularLighting in="blur" surfaceScale="-3" class="light" |
| 98 |
specularConstant="1" specularExponent="20" |
| 99 |
result="spec" kernelUnitLength="1" > |
| 100 |
<feDistantLight azimuth="45" elevation="45" /> |
| 101 |
</feSpecularLighting> |
| 102 |
|
| 103 |
<feComposite in="spec" in2="SourceGraphic" |
| 104 |
operator="in" result="specOut"/> |
| 105 |
<feComposite in="SourceGraphic" in2="specOut" operator="arithmetic" |
| 106 |
k1="0" k2="1" k3="1" k4="0" result="litPaint2"/> |
| 107 |
</filter> |
| 108 |
|
| 109 |
<filter id="dropShadow" width="1.5" height="1.5"> |
| 110 |
<feGaussianBlur in="SourceGraphic" stdDeviation="4 4"/> |
| 111 |
<feOffset dx="4" dy="4" /> |
| 112 |
</filter> |
| 113 |
|
| 114 |
</defs> |
| 115 |
|
| 116 |
<g> |
| 117 |
|
| 118 |
<g style="text-anchor:middle; font-size:128; font-family:SVGImpact;"> |
| 119 |
<text x="50%" y="50%" style="filter:url(#dropShadow); fill:black">Batik</text> |
| 120 |
<text x="50%" y="50%" class="logo" style="filter:url(#emboss);">Batik</text> |
| 121 |
</g> |
| 122 |
|
| 123 |
</g> |
| 124 |
|
| 125 |
</g> |
| 126 |
|
| 127 |
<!-- ============================================================= --> |
| 128 |
<!-- Batik sample mark --> |
| 129 |
<!-- ============================================================= --> |
| 130 |
<use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> |
| 131 |
|
| 132 |
</svg> |