Fix SVG icon rendering issue in old browsers

Convert texts to paths and apply a small resizing
This commit is contained in:
Saivann 2014-06-11 14:59:48 -04:00
parent bce06938d6
commit 82e38c5c88
2 changed files with 16 additions and 19 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 B

After

Width:  |  Height:  |  Size: 858 B

Before After
Before After

View file

@ -13,8 +13,8 @@
height="48"
id="svg3896"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="hashbang.svg">
inkscape:version="0.48.4 r9939"
sodipodi:docname="main_ico_hash.svg">
<defs
id="defs3898" />
<sodipodi:namedview
@ -24,16 +24,16 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="45.392857"
inkscape:cy="37.178572"
inkscape:zoom="5.6568542"
inkscape:cx="55.632372"
inkscape:cy="37.643328"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1278"
inkscape:window-height="778"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-x="65"
inkscape:window-y="24"
inkscape:window-maximized="0" />
<metadata
id="metadata3901">
@ -43,7 +43,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@ -52,16 +52,13 @@
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1004.3622)">
<text
xml:space="preserve"
style="font-size:67.09772491px;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;-inkscape-font-specification:Droid Sans"
x="2.3275659"
y="1052.3116"
id="text3904"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3906"
x="2.3275659"
y="1052.3116">#</tspan></text>
<g
style="font-size:60.4116478px;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;-inkscape-font-specification:Droid Sans"
id="text3904">
<path
d="m 33.788573,1023.6719 -1.858366,9.6754 8.259405,0 0,4.0412 -9.055848,0 -2.418826,12.625 -4.336187,0 2.477821,-12.625 -8.583881,0 -2.418826,12.625 -4.247694,0 2.300834,-12.625 -7.6104514,0 0,-4.0412 8.4068944,0 1.917362,-9.6754 -8.0824179,0 0,-4.0412 8.8198649,0 2.418825,-12.743 4.336188,0 -2.418826,12.743 8.642878,0 2.477821,-12.743 4.247694,0 -2.477821,12.743 7.728443,0 0,4.0412 -8.524886,0 m -14.748937,9.6754 8.583881,0 1.887864,-9.6754 -8.583881,0 -1.887864,9.6754"
style=""
id="path2985" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before After
Before After