Browse Source

Merge pull request #3656 from timvandermeij/annotation-svg

Fixing annotation icon issues
Brendan Dahl 12 years ago
parent
commit
da1c944929
  1. 1
      src/shared/annotation.js
  2. 3
      web/images/annotation-check.svg
  3. 3
      web/images/annotation-comment.svg
  4. 3
      web/images/annotation-help.svg
  5. 3
      web/images/annotation-insert.svg
  6. 3
      web/images/annotation-key.svg
  7. 3
      web/images/annotation-newparagraph.svg
  8. 3
      web/images/annotation-note.svg
  9. 3
      web/images/annotation-paragraph.svg

1
src/shared/annotation.js

@ -543,7 +543,6 @@ var TextAnnotation = (function TextAnnotationClosure() {
container.className = 'annotText'; container.className = 'annotText';
var image = document.createElement('img'); var image = document.createElement('img');
image.style.width = container.style.width;
image.style.height = container.style.height; image.style.height = container.style.height;
var iconName = item.name; var iconName = item.name;
image.src = PDFJS.imageResourcesPath + 'annotation-' + image.src = PDFJS.imageResourcesPath + 'annotation-' +

3
web/images/annotation-check.svg

@ -2,7 +2,8 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="40" width="40"
height="40"> height="40"
viewBox="0 0 40 40">
<path <path
d="M 1.5006714,23.536225 6.8925879,18.994244 14.585721,26.037937 34.019683,4.5410479 38.499329,9.2235032 14.585721,35.458952 z" d="M 1.5006714,23.536225 6.8925879,18.994244 14.585721,26.037937 34.019683,4.5410479 38.499329,9.2235032 14.585721,35.458952 z"
id="path4" id="path4"

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 415 B

3
web/images/annotation-comment.svg

@ -2,7 +2,8 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
height="40" height="40"
width="40"> width="40"
viewBox="0 0 40 40">
<rect <rect
style="fill:#ffff00;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" style="fill:#ffff00;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
width="33.76017" width="33.76017"

Before

Width:  |  Height:  |  Size: 860 B

After

Width:  |  Height:  |  Size: 883 B

3
web/images/annotation-help.svg

@ -2,7 +2,8 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="40" width="40"
height="40"> height="40"
viewBox="0 0 40 40">
<g <g
transform="translate(0,-60)" transform="translate(0,-60)"
id="layer1"> id="layer1">

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

3
web/images/annotation-insert.svg

@ -2,7 +2,8 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="64" width="64"
height="64"> height="64"
viewBox="0 0 64 64">
<path <path
d="M 32.003143,1.4044602 57.432701,62.632577 6.5672991,62.627924 z" d="M 32.003143,1.4044602 57.432701,62.632577 6.5672991,62.627924 z"
style="fill:#ffff00;fill-opacity:0.94117647;fill-rule:nonzero;stroke:#000000;stroke-width:1.00493038;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> style="fill:#ffff00;fill-opacity:0.94117647;fill-rule:nonzero;stroke:#000000;stroke-width:1.00493038;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />

Before

Width:  |  Height:  |  Size: 385 B

After

Width:  |  Height:  |  Size: 408 B

3
web/images/annotation-key.svg

@ -2,7 +2,8 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="64" width="64"
height="64"> height="64"
viewBox="0 0 64 64">
<path <path
d="M 25.470843,9.4933766 C 25.30219,12.141818 30.139101,14.445969 34.704831,13.529144 40.62635,12.541995 41.398833,7.3856498 35.97505,5.777863 31.400921,4.1549155 25.157674,6.5445892 25.470843,9.4933766 z M 4.5246282,17.652051 C 4.068249,11.832873 9.2742983,5.9270407 18.437379,3.0977088 29.751911,-0.87185184 45.495663,1.4008022 53.603953,7.1104009 c 9.275765,6.1889221 7.158128,16.2079421 -3.171076,21.5939521 -1.784316,1.635815 -6.380222,1.21421 -7.068351,3.186186 -1.04003,0.972427 -1.288046,2.050158 -1.232864,3.168203 1.015111,2.000108 -3.831548,1.633216 -3.270553,3.759574 0.589477,5.264544 -0.179276,10.53738 -0.362842,15.806257 -0.492006,2.184998 1.163456,4.574232 -0.734888,6.610642 -2.482919,2.325184 -7.30604,2.189143 -9.193497,-0.274767 -2.733688,-1.740626 -8.254447,-3.615254 -6.104247,-6.339626 3.468112,-1.708686 -2.116197,-3.449897 0.431242,-5.080274 5.058402,-1.39256 -2.393215,-2.304318 -0.146889,-4.334645 3.069198,-0.977415 2.056986,-2.518352 -0.219121,-3.540397 1.876567,-1.807151 1.484149,-4.868919 -2.565455,-5.942205 0.150866,-1.805474 2.905737,-4.136876 -1.679967,-5.20493 C 10.260902,27.882167 4.6872697,22.95045 4.5245945,17.652051 z" d="M 25.470843,9.4933766 C 25.30219,12.141818 30.139101,14.445969 34.704831,13.529144 40.62635,12.541995 41.398833,7.3856498 35.97505,5.777863 31.400921,4.1549155 25.157674,6.5445892 25.470843,9.4933766 z M 4.5246282,17.652051 C 4.068249,11.832873 9.2742983,5.9270407 18.437379,3.0977088 29.751911,-0.87185184 45.495663,1.4008022 53.603953,7.1104009 c 9.275765,6.1889221 7.158128,16.2079421 -3.171076,21.5939521 -1.784316,1.635815 -6.380222,1.21421 -7.068351,3.186186 -1.04003,0.972427 -1.288046,2.050158 -1.232864,3.168203 1.015111,2.000108 -3.831548,1.633216 -3.270553,3.759574 0.589477,5.264544 -0.179276,10.53738 -0.362842,15.806257 -0.492006,2.184998 1.163456,4.574232 -0.734888,6.610642 -2.482919,2.325184 -7.30604,2.189143 -9.193497,-0.274767 -2.733688,-1.740626 -8.254447,-3.615254 -6.104247,-6.339626 3.468112,-1.708686 -2.116197,-3.449897 0.431242,-5.080274 5.058402,-1.39256 -2.393215,-2.304318 -0.146889,-4.334645 3.069198,-0.977415 2.056986,-2.518352 -0.219121,-3.540397 1.876567,-1.807151 1.484149,-4.868919 -2.565455,-5.942205 0.150866,-1.805474 2.905737,-4.136876 -1.679967,-5.20493 C 10.260902,27.882167 4.6872697,22.95045 4.5245945,17.652051 z"
id="path604" id="path604"

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

3
web/images/annotation-newparagraph.svg

@ -2,7 +2,8 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="64" width="64"
height="64"> height="64"
viewBox="0 0 64 64">
<path <path
d="M 32.003143,10.913072 57.432701,53.086929 6.567299,53.083723 z" d="M 32.003143,10.913072 57.432701,53.086929 6.567299,53.083723 z"
id="path2985" id="path2985"

Before

Width:  |  Height:  |  Size: 403 B

After

Width:  |  Height:  |  Size: 426 B

3
web/images/annotation-note.svg

@ -2,7 +2,8 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="40" width="40"
height="40"> height="40"
viewBox="0 0 40 40">
<rect <rect
width="36.075428" width="36.075428"
height="31.096582" height="31.096582"

Before

Width:  |  Height:  |  Size: 1018 B

After

Width:  |  Height:  |  Size: 1.0 KiB

3
web/images/annotation-paragraph.svg

@ -2,7 +2,8 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="40" width="40"
height="40"> height="40"
viewBox="0 0 40 40">
<rect <rect
width="33.76017" width="33.76017"
height="33.76017" height="33.76017"

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Loading…
Cancel
Save