gkh-fontcustom 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +21 -0
  3. data/.travis.yml +20 -0
  4. data/CHANGELOG.md +137 -0
  5. data/CONTRIBUTING.md +50 -0
  6. data/Gemfile +4 -0
  7. data/LICENSES.txt +60 -0
  8. data/README.md +112 -0
  9. data/Rakefile +8 -0
  10. data/bin/fontcustom +5 -0
  11. data/fontcustom.gemspec +28 -0
  12. data/gemfiles/Gemfile.listen_1 +6 -0
  13. data/lib/fontcustom.rb +43 -0
  14. data/lib/fontcustom/base.rb +54 -0
  15. data/lib/fontcustom/cli.rb +110 -0
  16. data/lib/fontcustom/error.rb +4 -0
  17. data/lib/fontcustom/generator/font.rb +109 -0
  18. data/lib/fontcustom/generator/template.rb +222 -0
  19. data/lib/fontcustom/manifest.rb +75 -0
  20. data/lib/fontcustom/options.rb +192 -0
  21. data/lib/fontcustom/scripts/eotlitetool.py +466 -0
  22. data/lib/fontcustom/scripts/generate.py +128 -0
  23. data/lib/fontcustom/scripts/sfnt2woff +0 -0
  24. data/lib/fontcustom/templates/_fontcustom-rails.scss +14 -0
  25. data/lib/fontcustom/templates/_fontcustom.scss +16 -0
  26. data/lib/fontcustom/templates/fontcustom-preview.html +174 -0
  27. data/lib/fontcustom/templates/fontcustom.css +14 -0
  28. data/lib/fontcustom/templates/fontcustom.yml +96 -0
  29. data/lib/fontcustom/utility.rb +117 -0
  30. data/lib/fontcustom/version.rb +3 -0
  31. data/lib/fontcustom/watcher.rb +90 -0
  32. data/spec/fixtures/example/_example-rails.scss +50 -0
  33. data/spec/fixtures/example/example-preview.html +253 -0
  34. data/spec/fixtures/example/example.css +50 -0
  35. data/spec/fixtures/example/example.eot +0 -0
  36. data/spec/fixtures/example/example.svg +75 -0
  37. data/spec/fixtures/example/example.ttf +0 -0
  38. data/spec/fixtures/example/example.woff +0 -0
  39. data/spec/fixtures/generators/.fontcustom-manifest-corrupted.json +25 -0
  40. data/spec/fixtures/generators/.fontcustom-manifest-empty.json +0 -0
  41. data/spec/fixtures/generators/.fontcustom-manifest.json +52 -0
  42. data/spec/fixtures/generators/fontcustom.yml +1 -0
  43. data/spec/fixtures/generators/mixed-output/another-font.ttf +0 -0
  44. data/spec/fixtures/generators/mixed-output/dont-delete-me.bro +0 -0
  45. data/spec/fixtures/generators/mixed-output/fontcustom.css +108 -0
  46. data/spec/fixtures/generators/mixed-output/fontcustom_82a59e769bc60192484f2620570bbb59.eot +0 -0
  47. data/spec/fixtures/generators/mixed-output/fontcustom_82a59e769bc60192484f2620570bbb59.svg +56 -0
  48. data/spec/fixtures/generators/mixed-output/fontcustom_82a59e769bc60192484f2620570bbb59.ttf +0 -0
  49. data/spec/fixtures/generators/mixed-output/fontcustom_82a59e769bc60192484f2620570bbb59.woff +0 -0
  50. data/spec/fixtures/options/any-file-name.yml +1 -0
  51. data/spec/fixtures/options/config-is-in-dir/fontcustom.yml +1 -0
  52. data/spec/fixtures/options/fontcustom-empty.yml +1 -0
  53. data/spec/fixtures/options/fontcustom-malformed.yml +1 -0
  54. data/spec/fixtures/options/fontcustom.yml +1 -0
  55. data/spec/fixtures/options/no-config-here/.gitkeep +0 -0
  56. data/spec/fixtures/options/rails-like/config/fontcustom.yml +1 -0
  57. data/spec/fixtures/shared/not-a-dir +0 -0
  58. data/spec/fixtures/shared/templates/custom.css +4 -0
  59. data/spec/fixtures/shared/templates/regular.css +4 -0
  60. data/spec/fixtures/shared/vectors-empty/no_vectors_here.txt +0 -0
  61. data/spec/fixtures/shared/vectors/C.svg +14 -0
  62. data/spec/fixtures/shared/vectors/D.svg +15 -0
  63. data/spec/fixtures/shared/vectors/a_R3ally-eXotic f1Le Name.svg +6 -0
  64. data/spec/fontcustom/base_spec.rb +45 -0
  65. data/spec/fontcustom/cli_spec.rb +30 -0
  66. data/spec/fontcustom/generator/font_spec.rb +72 -0
  67. data/spec/fontcustom/generator/template_spec.rb +99 -0
  68. data/spec/fontcustom/manifest_spec.rb +17 -0
  69. data/spec/fontcustom/options_spec.rb +315 -0
  70. data/spec/fontcustom/utility_spec.rb +82 -0
  71. data/spec/fontcustom/watcher_spec.rb +121 -0
  72. data/spec/spec_helper.rb +103 -0
  73. metadata +252 -0
@@ -0,0 +1,50 @@
1
+ /*
2
+ Icon Font: example
3
+ */
4
+
5
+ @font-face {
6
+ font-family: "example";
7
+ src: url("./example.eot?") format("embedded-opentype");
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ }
11
+
12
+ @font-face {
13
+ font-family: "example";
14
+ src: url("data:application/x-font-woff;charset=utf-8;base64,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") format("woff"),
15
+ url("./example.ttf") format("truetype"),
16
+ url("./example.svg#example") format("svg");
17
+ font-weight: normal;
18
+ font-style: normal;
19
+ }
20
+
21
+ @media screen and (-webkit-min-device-pixel-ratio:0) {
22
+ @font-face {
23
+ font-family: "example";
24
+ src: url("./example.svg#example") format("svg");
25
+ }
26
+ }
27
+
28
+ [data-icon]:before { content: attr(data-icon); }
29
+
30
+ [data-icon]:before,
31
+ .icon-C:before,
32
+ .icon-D:before,
33
+ .icon-a_R3ally-eXotic-f1Le-Name:before {
34
+ display: inline-block;
35
+ font-family: "example";
36
+ font-style: normal;
37
+ font-weight: normal;
38
+ font-variant: normal;
39
+ line-height: 1;
40
+ text-decoration: inherit;
41
+ text-rendering: optimizeLegibility;
42
+ text-transform: none;
43
+ -moz-osx-font-smoothing: grayscale;
44
+ -webkit-font-smoothing: antialiased;
45
+ font-smoothing: antialiased;
46
+ }
47
+
48
+ .icon-C:before { content: "\f100"; }
49
+ .icon-D:before { content: "\f101"; }
50
+ .icon-a_R3ally-eXotic-f1Le-Name:before { content: "\f102"; }
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <!--
4
+ 2014-11-25: Created with FontForge (http://fontforge.org)
5
+ -->
6
+ <svg xmlns="http://www.w3.org/2000/svg">
7
+ <metadata>
8
+ Created by FontForge 20141021 at Tue Nov 25 18:43:34 2014
9
+ By Kai
10
+ Copyright (c) 2014, Kai
11
+ </metadata>
12
+ <defs>
13
+ <font id="example" horiz-adv-x="512" >
14
+ <font-face
15
+ font-family="example"
16
+ font-weight="400"
17
+ font-stretch="normal"
18
+ units-per-em="512"
19
+ panose-1="2 0 5 9 0 0 0 0 0 0"
20
+ ascent="448"
21
+ descent="-64"
22
+ bbox="17.9187 -10.3193 488.962 442.989"
23
+ underline-thickness="25.6"
24
+ underline-position="-51.2"
25
+ unicode-range="U+F100-F102"
26
+ />
27
+ <missing-glyph />
28
+ <glyph glyph-name="uniF100" unicode="&#xf100;"
29
+ d="M237.539 129.747c-4.83398 0 -8.75391 3.91992 -8.75391 8.75391c0 7.89844 -6.4248 14.3184 -14.3184 14.3184s-14.3174 -6.41992 -14.3174 -14.3184c0 -4.83398 -3.91992 -8.75391 -8.75488 -8.75391c-4.83398 0 -8.75391 3.91992 -8.75391 8.75391
30
+ c0 17.5527 14.2793 31.8311 31.8262 31.8311s31.8262 -14.2783 31.8262 -31.8311c0 -4.83887 -3.91992 -8.75391 -8.75391 -8.75391zM325.231 129.747c-4.83496 0 -8.75488 3.91992 -8.75488 8.75391c0 7.89844 -6.42383 14.3184 -14.3174 14.3184
31
+ c-7.89844 0 -14.3184 -6.41992 -14.3184 -14.3184c0 -4.83398 -3.9248 -8.75391 -8.75879 -8.75391c-4.8291 0 -8.75391 3.91992 -8.75391 8.75391c0 17.5527 14.2793 31.8311 31.8311 31.8311c17.5469 0 31.8262 -14.2783 31.8262 -31.8311
32
+ c-0.00488281 -4.83887 -3.91992 -8.75391 -8.75391 -8.75391zM255.193 -10.3193c-90.4941 0 -120.496 73.627 -128.569 101.28c-7.91797 1.52246 -14.8965 5.4668 -20.5625 11.6729c-27.8916 30.6006 -14.3955 112.126 -12.7666 121.322
33
+ c0.875977 4.94141 4.49414 8.9541 9.31836 10.3301c4.80957 1.37109 10.0137 -0.102539 13.3691 -3.8418l39.3945 -43.7715c4.85352 -5.3877 4.41504 -13.6855 -0.972656 -18.5391c-5.38867 -4.8584 -13.6914 -4.41602 -18.54 0.972656l-20.1533 22.3916
34
+ c-2.14062 -27.8428 -0.871094 -59.5088 9.76562 -71.1709c2.75195 -3.01562 5.89453 -4.12012 10.4463 -3.75977c6.70215 0.646484 12.8828 -4.15332 14.0312 -10.8799c0.641602 -3.62793 16.7783 -89.7393 105.239 -89.7393c88.46 0 104.598 86.1113 105.244 89.7734
35
+ c1.17676 6.69238 7.29492 11.4482 14.0312 10.8457c4.79004 -0.370117 8.04395 0.753906 10.8447 3.85645c10.2227 11.293 11.1377 41.3486 9.25 66.5605l-15.9131 -17.834c-4.8291 -5.39844 -13.126 -5.87988 -18.5391 -1.05078
36
+ c-5.4082 4.83008 -5.88477 13.1318 -1.05469 18.54l35.1621 39.3984c3.3457 3.72949 8.50586 5.25684 13.335 3.89551c4.82031 -1.34277 8.45801 -5.3252 9.37695 -10.252c1.62402 -8.78809 15.1104 -86.749 -12.1387 -116.873
37
+ c-5.75391 -6.35645 -12.8984 -10.3691 -21.0342 -11.8809c-8.09277 -27.6924 -38.1152 -101.247 -128.564 -101.247zM255.174 42.2061c-27.4053 0 -53.5947 10.3828 -71.8428 28.4893c-3.42871 3.4043 -3.45801 8.94434 -0.0478516 12.3779
38
+ c3.39453 3.43848 8.94336 3.45801 12.377 0.0527344c14.999 -14.8818 36.6943 -23.4072 59.5137 -23.4072s44.5098 8.53027 59.5088 23.4072c3.43359 3.40039 8.98242 3.38086 12.3818 -0.0527344c3.4043 -3.43359 3.37988 -8.97363 -0.0537109 -12.3779
39
+ c-18.2471 -18.1064 -44.4316 -28.4893 -71.8369 -28.4893zM255.052 427.388c24.1328 0 43.7715 -19.6387 43.7715 -43.7705s-19.6387 -43.7705 -43.7715 -43.7705c-24.1367 0 -43.7705 19.6387 -43.7705 43.7705s19.6338 43.7705 43.7705 43.7705zM255.052 366.109
40
+ c9.6543 0 17.5088 7.84863 17.5088 17.5078s-7.84961 17.5078 -17.5088 17.5078c-9.6582 0 -17.5127 -7.84863 -17.5127 -17.5078s7.85938 -17.5078 17.5127 -17.5078zM259.424 357.354h-21.8848l-96.291 -113.804s91.9189 21.8857 113.804 21.8857zM250.675 357.354
41
+ h21.8857l96.2949 -113.799s-91.9131 21.8857 -113.799 21.8857zM362.042 171.047c-113.195 68.7256 -204.793 3.46289 -208.635 0.647461l-15.5879 21.1357c1.08008 0.802734 109.267 78.7295 237.851 0.671875zM114.981 208.529
42
+ c-5.50098 0 -10.6221 3.48242 -12.4561 8.9873c-2.29492 6.87695 1.42578 14.3135 8.30664 16.6045l35.8438 11.9541l19.4971 23.3975c3.08398 3.69629 7.94727 5.41309 12.665 4.46484l38.6543 -7.72754l30.5957 19.1172c4.25977 2.66113 9.6582 2.66113 13.9189 0
43
+ l30.5957 -19.1172l38.6592 7.72754c4.70801 0.948242 9.58105 -0.768555 12.6592 -4.46484l19.3564 -23.2275l39.9873 -11.998c6.9502 -2.08594 10.8838 -9.40527 8.80273 -16.3506c-2.08203 -6.94531 -9.37695 -10.9082 -16.3457 -8.80273l-43.7705 13.1309
44
+ c-2.4707 0.739258 -4.66406 2.18848 -6.31836 4.16309l-16.8857 20.2607l-36.1104 -7.2168c-3.27344 -0.651367 -6.69238 -0.0341797 -9.53223 1.74121l-28.0576 17.5273l-28.0615 -17.5273c-2.83984 -1.77051 -6.25879 -2.39258 -9.53223 -1.74121l-36.1113 7.2168
45
+ l-16.8857 -20.2607c-1.56543 -1.87695 -3.61816 -3.27734 -5.9375 -4.0459l-39.3984 -13.1318c-1.3623 -0.461914 -2.7627 -0.680664 -4.13867 -0.680664zM281.305 90.3535c-1.90625 0 -3.81738 0.612305 -5.42773 1.8916
46
+ c-1.74609 1.35254 -17.1484 12.5918 -32.8711 0.0292969c-3.76465 -3.02051 -9.28027 -2.41211 -12.2998 1.36719c-3.02051 3.77344 -2.40723 9.28418 1.36621 12.2988c21.6328 17.3145 45.2441 7.57715 54.7041 0c3.77832 -3.01465 4.3916 -8.52539 1.36621 -12.2988
47
+ c-1.72168 -2.16016 -4.26953 -3.28809 -6.83789 -3.28809z" />
48
+ <glyph glyph-name="uniF102" unicode="&#xf102;"
49
+ d="M392.324 192.766l64.0146 -200.619h-397.195l41.6094 94.125v190.088l88.9336 72.4111l-60.6377 23.5332s26.2734 57.9336 66.7002 70.6055c6.46973 2.02734 10.1797 -35.1309 20.1074 -35.9619c9.38086 -0.776367 19.4023 37.9482 30.3867 35.4521
50
+ c50.0283 -11.3584 114.625 -39.3115 114.625 -39.3115l-1.86426 -23.5342l-86.4424 -16.292l88.3105 -55.2832zM242.392 74.7188c52.5439 0 95.1455 42.5986 95.1455 95.1455c0 52.543 -42.5977 95.1416 -95.1455 95.1416c-52.5469 0 -95.1455 -42.5986 -95.1455 -95.1416
51
+ c0 -52.5469 42.5986 -95.1455 95.1455 -95.1455zM240.356 183.593v0v24.9326c-5.4541 -2.23828 -9.6748 -6.3916 -9.6748 -13.9043c0 -5.11426 3.86914 -8.31055 9.6748 -11.0283zM248.622 156.583v0v-24.4541c5.80078 2.23926 10.1934 6.22949 10.1934 12.1436
52
+ c0 5.91797 -4.2207 9.59277 -10.1934 12.3105zM240.356 239.215v-0.0136719h8.26562v-11.5029c10.3691 0 19.8633 -1.27734 28.6572 -3.99902l-2.28906 -18.3789c-7.7373 3.03418 -16.3506 4.79492 -24.9648 4.79492c-0.527344 0 -0.875 0 -1.40332 -0.158203v-29.5693
53
+ c15.4619 -5.59375 35.8623 -11.3447 35.8623 -34.3594c0 -20.9463 -15.6475 -30.8516 -35.8623 -33.0908v-13.1006h-8.26562v12.627c-0.705078 -0.162109 -1.40918 -0.162109 -1.9375 -0.162109c-13.3623 0 -19.335 1.60254 -31.4697 4.31543l2.28906 20.1387
54
+ c8.4375 -4.14844 18.1074 -6.86621 27.7773 -6.86621c1.05566 0 2.1084 0 3.34082 0.31543v29.8906c-15.8232 5.59766 -35.3389 11.3486 -35.3389 33.5645c0 21.8945 16.5273 31.6504 35.3389 33.7266v11.8281z" />
55
+ <glyph glyph-name="uniF101" unicode="&#xf101;"
56
+ d="M91.8887 131.287c6.78418 5.73438 17.1367 6.44629 23.5771 0.445312c6.68164 -6.22559 6.68164 -16.3584 0 -22.584l-25.0264 -23.3271c-0.890625 -0.833984 -2.33984 -0.833984 -3.22559 0l-25.0312 23.3271c-6.68164 6.23047 -6.68164 16.3525 0 22.584
57
+ c6.43555 6.00098 16.793 5.28906 23.5723 -0.445312l3.06641 -2.60059zM185.058 105.923c6.7832 5.73438 17.1309 6.44531 23.5771 0.445312c6.68164 -6.22656 6.68164 -16.3584 0 -22.585l-25.0264 -23.3262c-0.890625 -0.834961 -2.33984 -0.834961 -3.22559 0
58
+ l-25.0322 23.3262c-6.68066 6.23145 -6.68066 16.3535 0 22.585c6.43652 6 16.7939 5.28906 23.5732 -0.445312l3.06641 -2.60156zM246.574 212.485c6.78418 5.73438 17.1367 6.44629 23.5771 0.445312c6.68164 -6.22559 6.68164 -16.3584 0 -22.584l-25.0264 -23.3271
59
+ c-0.890625 -0.834961 -2.33984 -0.834961 -3.22559 0l-25.0312 23.3271c-6.68164 6.23047 -6.68164 16.3525 0 22.584c6.43555 6.00098 16.793 5.28906 23.5723 -0.445312l3.06641 -2.60156zM388.792 238.981c6.67676 -6.22656 6.67676 -16.3535 0.00585938 -22.585
60
+ l-25.0273 -23.3262c-0.890625 -0.834961 -2.33984 -0.834961 -3.22559 0l-25.0312 23.3262c-6.68164 6.23145 -6.68164 16.3535 0 22.585c6.43555 6 16.7939 5.28906 23.5723 -0.445312l3.06738 -2.60156l3.06641 2.60156c6.78418 5.73438 17.1318 6.44531 23.5723 0.445312
61
+ zM319.575 130.565c6.78418 5.73926 17.1367 6.45117 23.5771 0.445312c6.68164 -6.22656 6.68164 -16.3584 0 -22.585l-25.0264 -23.3262c-0.890625 -0.834961 -2.33984 -0.834961 -3.22559 0l-25.0312 23.3262c-6.68164 6.23145 -6.68164 16.3535 0 22.585
62
+ c6.43555 6 16.793 5.28906 23.5723 -0.445312l3.06641 -2.60156zM168.259 228.94c-0.890625 -0.829102 -2.33984 -0.829102 -3.2207 0l-25.0312 23.3271c-6.68164 6.23145 -6.68164 16.3535 0 22.584c6.43555 6.00098 16.793 5.28906 23.5723 -0.445312l3.06641 -2.60059
63
+ l3.06738 2.60059c6.78418 5.73438 17.1309 6.44629 23.5723 0.445312c6.68164 -6.22559 6.68164 -16.3584 0 -22.584zM488.781 50.2891c0.470703 -2.12988 0.00976562 -4.3623 -1.26465 -6.13379c-1.27539 -1.77148 -3.24121 -2.91895 -5.41211 -3.1543l-189.44 -20.4805
64
+ c-3.50684 -0.358398 -6.75781 1.63867 -7.99707 4.90039l-33.3057 87.4141l-29.0352 -87.1074c-1.05469 -3.16406 -4.00977 -5.25293 -7.28125 -5.25293c-0.276367 0 -0.547852 0.015625 -0.829102 0.0458984l-189.44 20.4805
65
+ c-2.1709 0.235352 -4.13672 1.38281 -5.41113 3.1543c-1.27539 1.77148 -1.73633 4.00391 -1.26465 6.13379l56.1406 255.186v60.6055c0 4.24414 3.44043 7.67969 7.67969 7.67969h343.04c4.23926 0 7.67969 -3.43555 7.67969 -7.67969v-60.6055zM417.28 358.4h-327.681
66
+ v-46.0801h325.12c0.901367 0 1.75684 -0.18457 2.56055 -0.47168v46.5518zM426.46 50.4375l45.4814 4.91016l-17.4746 79.4316c-0.834961 -1.9668 -2.08887 -3.80957 -3.79395 -5.39648l-25.0264 -23.3271c-0.891602 -0.834961 -2.33984 -0.834961 -3.22559 0
67
+ l-25.0322 23.3271c-6.68164 6.23047 -6.68164 16.3525 0 22.584c6.43555 6.00098 16.7939 5.28906 23.5723 -0.445312l3.06738 -2.60156l3.06641 2.60156c6.78418 5.73438 17.1318 6.44629 23.5732 0.445312
68
+ c0.00976562 -0.00488281 0.00976562 -0.015625 0.0205078 -0.0205078l-18.6172 84.6084c-0.649414 -0.0615234 -1.32031 0.117188 -1.82227 0.583008l-25.0322 23.3271c-6.68066 6.23047 -6.68066 16.3535 0 22.584c4.29102 3.99902 10.3066 4.96094 15.8623 3.49707
69
+ l-2.52441 11.4795c-1.13672 -0.661133 -2.43164 -1.06543 -3.83496 -1.06543h-83.3379c-0.307617 -3.65527 -1.88379 -7.23438 -4.87988 -10.0254l-25.0264 -23.3262c-0.890625 -0.834961 -2.33984 -0.834961 -3.22559 0l-25.0312 23.3262
70
+ c-2.99512 2.79102 -4.56738 6.37012 -4.87988 10.0254h-180.244l-16.6963 -75.8682c6.05176 2.33496 13.3994 0.942383 18.627 -3.48145l3.06641 -2.60059l3.06738 2.60059c6.7832 5.73438 17.1309 6.44629 23.5723 0.445312c6.68164 -6.22559 6.68164 -16.3584 0 -22.584
71
+ l-25.0264 -23.3271c-0.891602 -0.833984 -2.33984 -0.833984 -3.22559 0l-25.0322 23.3271c-0.209961 0.194336 -0.347656 0.419922 -0.542969 0.624023l-30.9658 -140.738l174.771 -18.8926l33.8848 101.647c1.02832 3.07715 3.875 5.18066 7.12695 5.24805h0.158203
72
+ c3.17969 0 6.04199 -1.96094 7.17871 -4.94141l38.8506 -101.979l70.1641 7.58203c-5.10449 6.25195 -4.66406 15.2012 1.45898 20.9102c6.43652 6.00098 16.7939 5.28906 23.5723 -0.445312l3.06738 -2.60059l3.06641 2.60059
73
+ c6.78418 5.73438 17.1318 6.44629 23.5732 0.445312c4.21387 -3.93164 5.75488 -9.41504 4.64844 -14.4941z" />
74
+ </font>
75
+ </defs></svg>
@@ -0,0 +1,25 @@
1
+ 'Totally invalid JSON.'
2
+ {
3
+ "checksum": {
4
+ "current": "82a59e769bc60192484f2620570bbb59e225db97c1aac3f242a2e49d6060a19c",
5
+ "previous": "82a59e769bc60192484f2620570bbb59e225db97c1aac3f242a2e49d6060a19c"
6
+ },
7
+ "fonts": [
8
+ "fontcustom_cc5ce52f2ae4f9ce2e7ee8131bbfee1e.woff",
9
+ "fontcustom_cc5ce52f2ae4f9ce2e7ee8131bbfee1e.ttf",
10
+ "fontcustom_cc5ce52f2ae4f9ce2e7ee8131bbfee1e.eot",
11
+ "fontcustom_cc5ce52f2ae4f9ce2e7ee8131bbfee1e.svg"
12
+ ],
13
+ "glyphs": [
14
+ "a_r3ally-exotic-f1le-name",
15
+ "c",
16
+ "d"
17
+ ],
18
+ "options": {
19
+ "foo": "bar",
20
+ "baz": "bum"
21
+ },
22
+ "templates": [
23
+ "fontcustom.css"
24
+ ]
25
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "checksum": {
3
+ "current": "82a59e769bc60192484f2620570bbb59e225db97c1aac3f242a2e49d6060a19c",
4
+ "previous": "82a59e769bc60192484f2620570bbb59e225db97c1aac3f242a2e49d6060a19c"
5
+ },
6
+ "fonts": [
7
+ "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/fontcustom/fontcustom_82a59e769bc60192484f2620570bbb59.ttf",
8
+ "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/fontcustom/fontcustom_82a59e769bc60192484f2620570bbb59.svg",
9
+ "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/fontcustom/fontcustom_82a59e769bc60192484f2620570bbb59.woff",
10
+ "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/fontcustom/fontcustom_82a59e769bc60192484f2620570bbb59.eot"
11
+ ],
12
+ "glyphs": {
13
+ "a_r3ally-exotic-f1le-name": {
14
+ "codepoint": 61696,
15
+ "source": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/vectors/a_R3ally-eXotic f1Le Name.svg"
16
+ },
17
+ "c": {
18
+ "codepoint": 61697,
19
+ "source": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/vectors/C.svg"
20
+ },
21
+ "d": {
22
+ "codepoint": 61698,
23
+ "source": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/vectors/D.svg"
24
+ }
25
+ },
26
+ "options": {
27
+ "autowidth": false,
28
+ "config": false,
29
+ "css_prefix": "test-",
30
+ "debug": false,
31
+ "font_name": "fontcustom",
32
+ "input": {
33
+ "templates": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/vectors",
34
+ "vectors": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/vectors"
35
+ },
36
+ "manifest": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/.fontcustom-manifest-fonts.json",
37
+ "no_hash": false,
38
+ "output": {
39
+ "css": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/fontcustom",
40
+ "fonts": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/fontcustom",
41
+ "preview": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test/fontcustom"
42
+ },
43
+ "preprocessor_path": null,
44
+ "project_root": "/Users/kz/Projects/fontcustom/spec/fixtures/sandbox/test",
45
+ "quiet": true,
46
+ "templates": [
47
+ "/Users/kz/Projects/fontcustom/lib/fontcustom/templates/fontcustom.css",
48
+ "/Users/kz/Projects/fontcustom/lib/fontcustom/templates/fontcustom-preview.html"
49
+ ]
50
+ },
51
+ "templates": []
52
+ }
@@ -0,0 +1,108 @@
1
+ /*
2
+ Font Custom - icon webfonts made simple
3
+ */
4
+
5
+ @font-face {
6
+ font-family: "fontcustom";
7
+ src: url("fontcustom_cc5ce52f2ae4f9ce2e7ee8131bbfee1e.eot?#iefix") format("embedded-opentype"),
8
+ url("fontcustom_cc5ce52f2ae4f9ce2e7ee8131bbfee1e.woff") format("woff"),
9
+ url("fontcustom_cc5ce52f2ae4f9ce2e7ee8131bbfee1e.ttf") format("truetype"),
10
+ url("fontcustom_cc5ce52f2ae4f9ce2e7ee8131bbfee1e.svg#fontcustom") format("svg");
11
+ font-weight: normal;
12
+ font-style: normal;
13
+ }
14
+
15
+ /*
16
+ Bootstrap Overrides
17
+ */
18
+
19
+ [class^="icon-"],
20
+ [class*=" icon-"] {
21
+ display: inherit;
22
+ width: auto;
23
+ height: auto;
24
+ margin-top: auto;
25
+ *margin-right: auto;
26
+ vertical-align: text-top;
27
+ background-image: none;
28
+ }
29
+
30
+ [class^="icon-"]:before, [class*=" icon-"]:before {
31
+ font-family: "fontcustom";
32
+ font-weight: normal;
33
+ font-style: normal;
34
+ display: inline-block;
35
+ text-decoration: inherit;
36
+ }
37
+
38
+ a [class^="icon-"], a [class*=" icon-"] {
39
+ display: inline-block;
40
+ text-decoration: inherit;
41
+ }
42
+
43
+ [class^="icon-"]:before, [class*=" icon-"]:before {
44
+ font-family: "fontcustom";
45
+ font-weight: normal;
46
+ font-style: normal;
47
+ display: inline-block;
48
+ text-decoration: inherit;
49
+ }
50
+
51
+ a [class^="icon-"], a [class*=" icon-"] {
52
+ display: inline-block;
53
+ text-decoration: inherit;
54
+ }
55
+
56
+ /* makes the font 33% larger relative to the icon container */
57
+ .icon-large:before {
58
+ vertical-align: top;
59
+ font-size: 1.333em;
60
+ }
61
+
62
+ /* keeps button heights with and without icons the same */
63
+ .btn [class^="icon-"], .btn [class*=" icon-"] {
64
+ line-height: 0.9em;
65
+ }
66
+
67
+ li [class^="icon-"], li [class*=" icon-"] {
68
+ display: inline-block;
69
+ width: 1.25em;
70
+ text-align: center;
71
+ }
72
+
73
+ /* 1.5 increased font size for icon-large * 1.25 width */
74
+ li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] {
75
+ width: 1.875em;
76
+ }
77
+
78
+ li[class^="icon-"], li[class*=" icon-"] {
79
+ margin-left: 0;
80
+ list-style-type: none;
81
+ }
82
+
83
+ li[class^="icon-"]:before, li[class*=" icon-"]:before {
84
+ text-indent: -2em;
85
+ text-align: center;
86
+ }
87
+
88
+ li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before {
89
+ text-indent: -1.333em;
90
+ }
91
+
92
+ /*
93
+ Icon Classes
94
+ */
95
+
96
+ .icon-browser:before { content: "\f100"; }
97
+ .icon-customize:before { content: "\f101"; }
98
+ .icon-factory:before { content: "\f102"; }
99
+ .icon-glasses:before { content: "\f103"; }
100
+ .icon-graffiti:before { content: "\f104"; }
101
+ .icon-lightning:before { content: "\f105"; }
102
+ .icon-outlet:before { content: "\f106"; }
103
+ .icon-pen:before { content: "\f107"; }
104
+ .icon-pinch:before { content: "\f108"; }
105
+ .icon-scale:before { content: "\f109"; }
106
+ .icon-star:before { content: "\f10a"; }
107
+ .icon-walk:before { content: "\f10b"; }
108
+ .icon-windmill:before { content: "\f10c"; }
@@ -0,0 +1,56 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <!--
4
+ 2013-11-10: Created.
5
+ -->
6
+ <svg xmlns="http://www.w3.org/2000/svg">
7
+ <metadata>
8
+ Created by FontForge 20120731 at Sun Nov 10 12:45:07 2013
9
+ By Kai Zau
10
+ Created by Kai Zau with FontForge 2.0 (http://fontforge.sf.net)
11
+ </metadata>
12
+ <defs>
13
+ <font id="fontcustom" horiz-adv-x="512" >
14
+ <font-face
15
+ font-family="fontcustom"
16
+ font-weight="500"
17
+ font-stretch="normal"
18
+ units-per-em="512"
19
+ panose-1="2 0 6 9 0 0 0 0 0 0"
20
+ ascent="448"
21
+ descent="-64"
22
+ bbox="0 -64 513.92 448"
23
+ underline-thickness="25.6"
24
+ underline-position="-51.2"
25
+ unicode-range="U+F100-F102"
26
+ />
27
+ <missing-glyph />
28
+ <glyph glyph-name="uniF100" unicode="&#xf100;"
29
+ d="M496.112 255.934c-3.53223 0 -6.81934 1.03906 -9.58398 2.81543l-50.8467 -43.3096l54.9375 -76.9023c0.15332 0.00976562 0.306641 0.0253906 0.460938 0.0253906c5.75977 0 10.4346 -4.66895 10.4346 -10.4297c0 -5.75977 -4.66992 -10.4287 -10.4297 -10.4287
30
+ s-10.4189 4.66895 -10.4189 10.4287c0 1.35156 0.276367 2.63672 0.74707 3.81445l-57.2363 80.1543l-68.2598 40.1816c-2.20703 -2.04785 -2.62695 -3.61523 -7.74707 -4.49609v-90.5977c15.3604 -2.64746 23.8643 -14.6533 23.8643 -29.0664
31
+ c0 -5.73438 -1.74512 -11.0752 -4.57227 -15.6162l34.873 -32.374c2.6875 2.02246 6.02051 3.23145 9.64062 3.23145c8.87793 0 16.0713 -7.19922 16.0713 -16.0723c0 -8.88281 -7.19336 -16.0762 -16.0713 -16.0762s-16.0771 7.19824 -16.0771 16.0762
32
+ c0 1.04492 0.108398 2.06836 0.302734 3.05664l-36.4551 33.8486c-4.89453 -3.56836 -10.9053 -5.7041 -17.4229 -5.7041c-11.2949 0 -21.1045 6.32324 -26.1064 15.6162l-81.4902 -25.2061c-2.59082 -10.2344 -11.8379 -17.8271 -22.8916 -17.8271
33
+ c-13.0664 0 -23.6387 10.5928 -23.6387 23.6387c0 2.97461 0.69043 5.77051 1.70996 8.40234l-35.8047 25.5537c-6.41992 -6.375 -15.2627 -10.3223 -25.001 -10.3223c-5.29883 0 -10.3066 1.19824 -14.8174 3.28223l-3.63477 -4.49023l-27.4639 -40.4688
34
+ c1.22852 -2.05273 1.94531 -4.44922 1.94531 -7.01465c0 -7.57227 -6.13867 -13.7109 -13.7109 -13.7109s-13.7109 6.13867 -13.7109 13.7109c0 7.57812 6.13867 13.7119 13.7109 13.7119c0.839844 0 1.65332 -0.0869141 2.44727 -0.225586l30.582 45.0664
35
+ c-0.0205078 0.0205078 -0.0410156 0.0458984 -0.0615234 0.0712891l0.0869141 0.0673828c-6.66602 6.44531 -10.8291 15.4668 -10.8291 25.4717c0 1.84863 0.276367 3.62012 0.553711 5.40137l-0.287109 0.0976562
36
+ c0.0302734 0.0615234 0.0507812 0.123047 0.0771484 0.189453l-60.0225 27.2842c-3.36914 -3.69629 -8.20703 -6.02637 -13.6035 -6.02637c-10.1836 0 -18.4375 8.25391 -18.4375 18.4375s8.25391 18.4365 18.4375 18.4365s18.4375 -8.25293 18.4375 -18.4365
37
+ c0 -0.707031 -0.046875 -1.4082 -0.128906 -2.09473l58.7676 -26.7051c0.00488281 0.0605469 0.0205078 0.117188 0.0253906 0.178711l0.492188 -0.164062c5.97461 11.1768 17.6123 18.8623 31.1396 18.8623c7.66504 0 14.6787 -2.47266 20.4951 -6.625l42.1533 42.1729
38
+ c-2.05371 3.50781 -3.55371 7.36328 -3.55371 11.7256c0 4.25977 1.1416 8.24316 3.1084 11.6934l-75.1719 33.6689c-4.04492 -4.98145 -10.21 -8.1709 -17.1318 -8.1709c-12.1855 0 -22.0615 9.87598 -22.0615 22.0615s9.88086 22.0625 22.0615 22.0625
39
+ c12.1855 0 22.0625 -9.87695 22.0625 -22.0625c0 -1.20312 -0.123047 -2.375 -0.307617 -3.52734l79.043 -35.4043c3.52734 2.08887 7.63379 3.3125 12.0371 3.3125c1.40234 0 2.76465 -0.148438 4.0957 -0.378906l29.875 63.9385
40
+ c-2.29883 2.58496 -3.70703 5.98535 -3.70703 9.71777c0 8.08984 6.55859 14.6484 14.6484 14.6484s14.6484 -6.55371 14.6484 -14.6484c0 -1.20898 -0.164062 -2.37598 -0.44043 -3.50195l59.5098 -47.2529c3.30762 2.47266 7.39844 3.95312 11.8477 3.95312
41
+ c10.9668 0 19.8555 -8.88867 19.8555 -19.8555c0 -1.63867 -0.219727 -3.22559 -0.59375 -4.74609l65.8633 -38.7432l51.9834 44.2822c-0.706055 1.91992 -1.11035 3.9834 -1.11035 6.14453c0 9.83008 7.97168 17.8076 17.8066 17.8076
42
+ c9.83594 0 17.8076 -7.97754 17.8076 -17.8076c0 -9.83594 -7.97168 -17.8125 -17.8076 -17.8125zM312.679 128.133c0 7.43457 2.75977 14.208 7.27539 19.415l-88.1768 76.3604c-4.18848 -6.60547 -11.5459 -10.9932 -19.9531 -10.9932
43
+ c-4.36719 0 -8.2168 1.5 -11.7295 3.55371l-42.1533 -42.1738c4.11133 -5.77539 6.60547 -12.8359 6.60547 -20.4746c0 -5.56543 -1.38281 -10.7363 -3.6709 -15.4473l36.0342 -25.7129c4.09082 3.38965 9.16504 5.69922 14.9141 5.69922
44
+ c10.9678 0 20.1523 -7.47559 22.8252 -17.5879l78.208 24.1875c-0.112305 1.04395 -0.178711 2.09863 -0.178711 3.17383zM337.92 157.199v90.583c-10.2402 2.44238 -14.8223 10.0254 -14.8223 19.0205c0 2.3916 -0.194336 4.6748 0.578125 6.7998l-59.499 47.2529
45
+ c-2.18164 -1.29102 -4.70508 -2.04297 -7.41895 -2.04297c-0.235352 0 -0.450195 0.0253906 -0.686523 0.0351562l-29.6904 -63.6309c5.57031 -4.32129 9.24707 -11.0645 9.24707 -18.668c0 -0.265625 0.12793 -0.521484 0.117188 -0.788086l94.0029 -81.1318
46
+ c2.36035 1.17285 3.05176 2.05859 8.17188 2.57031z" />
47
+ <glyph glyph-name="uniF101" unicode="&#xf101;"
48
+ d="M256 448c141.399 0 256 -114.601 256 -255.97v-256.03h-512v256.03c0 141.369 114.632 255.97 256 255.97zM494.935 -46.9346v238.965c0 131.733 -107.202 238.899 -238.935 238.899s-238.935 -107.166 -238.935 -238.899v-238.965h477.869zM256 396.8
49
+ c113.101 0 204.8 -91.6992 204.8 -204.77v-204.83l-153.6 153.6v51.2002c0 28.2676 -22.9326 51.2002 -51.2002 51.2002s-51.2002 -22.9326 -51.2002 -51.2002v-51.2002l-153.6 -153.6v204.83c0 113.07 91.7344 204.77 204.8 204.77z" />
50
+ <glyph glyph-name="uniF102" unicode="&#xf102;"
51
+ d="M448 64c35.374 0 64 -28.6924 64 -64s-28.626 -64 -64 -64s-64 28.6924 -64 64c0 8.05859 1.87402 15.626 4.62891 22.748l-96.9375 69.1914c-17.3818 -17.249 -41.3184 -27.9395 -67.6914 -27.9395c-53.002 0 -96 42.998 -96 96c0 5.00195 0.74707 9.80957 1.5 14.6279
52
+ l-76.626 25.5645c-5.62109 -4.94141 -12.8154 -8.19238 -20.874 -8.19238c-17.6895 0 -32 14.3105 -32 32s14.3105 32 32 32c15.3086 0 27.5 -10.9414 30.623 -25.3135l77.0654 -25.748c16.1846 30.2539 47.6885 51.0615 84.3115 51.0615
53
+ c20.751 0 39.752 -6.69141 55.501 -17.9404l114.125 114.191c-5.56543 9.49707 -9.62598 19.9375 -9.62598 31.749c0 35.374 28.626 64 64 64s64 -28.626 64 -64s-28.626 -64 -64 -64c-11.8115 0 -22.252 4.06055 -31.7539 9.62598l-114.125 -114.187
54
+ c11.126 -15.6318 17.874 -34.75 17.874 -55.4395c0 -15.0576 -3.74805 -29.0615 -9.93848 -41.8096l97.5674 -69.6328c11.0645 9.19043 24.8164 15.4424 40.376 15.4424z" />
55
+ </font>
56
+ </defs></svg>
@@ -0,0 +1 @@
1
+ font_name: Custom Name From Config
@@ -0,0 +1 @@
1
+ font_name: Config Is in Dir
@@ -0,0 +1 @@
1
+ font_name: Custom: Name From Config
@@ -0,0 +1 @@
1
+ font_name: Custom Name From Config
@@ -0,0 +1 @@
1
+ font_name: Rails Like
File without changes
@@ -0,0 +1,4 @@
1
+ /*
2
+ <%= @glyphs.inspect %>
3
+ */
4
+ .foo { color: black; }
@@ -0,0 +1,4 @@
1
+ /*
2
+ <%= @glyphs.inspect %>
3
+ */
4
+ .foo { color: blue; }
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:boxy="http://www.boxy-svg.com/boxyNS" version="1.1" id="Layer_1" x="0px" y="0px" width="100" height="100" enable-background="new 0 0 100 100" xml:space="preserve" boxy:zoom="494" boxy:scrollX="-53" boxy:scrollY="-3" viewBox="0 0 100 100">
3
+ <defs/>
4
+ <path d="M45.403,66.2c-0.994,0-1.8-0.806-1.8-1.8c0-1.624-1.321-2.944-2.944-2.944s-2.944,1.32-2.944,2.944 c0,0.994-0.806,1.8-1.8,1.8s-1.8-0.806-1.8-1.8c0-3.609,2.936-6.545,6.544-6.545s6.544,2.936,6.544,6.545 C47.203,65.395,46.397,66.2,45.403,66.2z" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
5
+ <path d="M63.434,66.2c-0.994,0-1.8-0.806-1.8-1.8c0-1.624-1.321-2.944-2.944-2.944c-1.624,0-2.944,1.32-2.944,2.944 c0,0.994-0.807,1.8-1.801,1.8c-0.993,0-1.8-0.806-1.8-1.8c0-3.609,2.936-6.545,6.545-6.545c3.608,0,6.544,2.936,6.544,6.545 C65.233,65.395,64.428,66.2,63.434,66.2z" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
6
+ <path d="M49.033,95c-18.607,0-24.776-15.139-26.436-20.825c-1.628-0.313-3.063-1.124-4.228-2.4 c-5.735-6.292-2.96-23.055-2.625-24.946c0.18-1.016,0.924-1.841,1.916-2.124c0.989-0.282,2.059,0.021,2.749,0.79l8.1,9 c0.998,1.108,0.908,2.814-0.2,3.812c-1.108,0.999-2.815,0.908-3.812-0.2l-4.144-4.604c-0.44,5.725-0.179,12.236,2.008,14.634 c0.566,0.62,1.212,0.847,2.148,0.773c1.378-0.133,2.649,0.854,2.885,2.237c0.132,0.746,3.45,18.452,21.639,18.452 c18.189,0,21.507-17.706,21.64-18.459c0.242-1.376,1.5-2.354,2.885-2.23c0.985,0.076,1.654-0.155,2.23-0.793 c2.102-2.322,2.29-8.502,1.902-13.686l-3.272,3.667c-0.993,1.11-2.699,1.209-3.812,0.216c-1.112-0.993-1.21-2.7-0.217-3.812 l7.23-8.101c0.688-0.767,1.749-1.081,2.742-0.801c0.991,0.276,1.739,1.095,1.928,2.108c0.334,1.807,3.107,17.837-2.496,24.031 c-1.183,1.307-2.652,2.132-4.325,2.443C73.804,79.876,67.631,95,49.033,95z" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
7
+ <path d="M49.029,84.2c-5.635,0-11.02-2.135-14.772-5.858c-0.705-0.7-0.711-1.839-0.01-2.545c0.698-0.707,1.839-0.711,2.545-0.011 c3.084,3.06,7.545,4.813,12.237,4.813s9.152-1.754,12.236-4.813c0.706-0.699,1.847-0.695,2.546,0.011 c0.7,0.706,0.695,1.845-0.011,2.545C60.048,82.065,54.664,84.2,49.029,84.2z" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
8
+ <path d="M49.004,5c-4.963,0-9,4.038-9,9s4.037,9,9,9c4.962,0,9-4.038,9-9S53.966,5,49.004,5z M49.004,17.6 c-1.985,0-3.601-1.614-3.601-3.6s1.615-3.6,3.601-3.6s3.6,1.614,3.6,3.6S50.989,17.6,49.004,17.6z" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
9
+ <path d="M49.903,19.4h-4.5L25.604,42.8c0,0,18.9-4.5,23.4-4.5" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
10
+ <path d="M48.104,19.4h4.5l19.8,23.399c0,0-18.899-4.5-23.399-4.5" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
11
+ <path d="M71.003,57.708c-23.275-14.131-42.109-0.712-42.899-0.133l-3.205-4.346c0.222-0.165,22.467-16.188,48.906-0.138 L71.003,57.708z" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
12
+ <path d="M20.203,50.001c-1.131,0-2.184-0.716-2.561-1.848c-0.472-1.414,0.293-2.943,1.708-3.414l7.37-2.458l4.009-4.811 c0.634-0.76,1.634-1.113,2.604-0.918l7.948,1.589l6.291-3.931c0.876-0.547,1.986-0.547,2.862,0l6.291,3.931l7.949-1.589 c0.968-0.195,1.97,0.158,2.603,0.918l3.98,4.776l8.222,2.467c1.429,0.429,2.238,1.934,1.81,3.362 c-0.428,1.428-1.928,2.243-3.361,1.81l-9-2.7c-0.508-0.152-0.959-0.45-1.299-0.856l-3.472-4.166l-7.425,1.484 c-0.673,0.134-1.376,0.007-1.96-0.358l-5.769-3.604l-5.77,3.604c-0.584,0.364-1.287,0.492-1.96,0.358l-7.425-1.484l-3.472,4.166 c-0.322,0.386-0.744,0.674-1.221,0.832l-8.101,2.7C20.774,49.956,20.486,50.001,20.203,50.001z" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
13
+ <path d="M54.402,74.3c-0.392,0-0.785-0.126-1.116-0.389c-0.359-0.278-3.526-2.589-6.759-0.006c-0.774,0.621-1.908,0.496-2.529-0.281 c-0.621-0.776-0.495-1.909,0.281-2.529c4.448-3.56,9.303-1.558,11.248,0c0.777,0.62,0.903,1.753,0.281,2.529 C55.454,74.068,54.93,74.3,54.402,74.3z" transform="matrix(0.949885 0 0 0.949885 3.2667 -0.723619)"/>
14
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
2
+ <g id="Layer_2">
3
+ </g>
4
+ <g id="Layer_1">
5
+ <g>
6
+ <path fill="#000000" d="M17.947,61.858l-0.599,0.508l-0.599-0.508c-1.324-1.12-3.347-1.259-4.604-0.087 c-1.305,1.217-1.305,3.194,0,4.411l4.889,4.556c0.173,0.163,0.456,0.163,0.63,0l4.888-4.556c1.305-1.216,1.305-3.195,0-4.411 C21.294,60.599,19.272,60.738,17.947,61.858z"/>
7
+ <path fill="#000000" d="M36.144,66.812l-0.599,0.508l-0.599-0.508c-1.324-1.12-3.347-1.259-4.604-0.087 c-1.305,1.217-1.305,3.194,0,4.411l4.889,4.556c0.173,0.163,0.456,0.163,0.63,0l4.888-4.556c1.305-1.216,1.305-3.195,0-4.411 C39.49,65.553,37.469,65.692,36.144,66.812z"/>
8
+ <path fill="#000000" d="M48.159,45.999l-0.599,0.508l-0.599-0.508c-1.324-1.12-3.347-1.259-4.604-0.087 c-1.305,1.217-1.305,3.194,0,4.411l4.889,4.556c0.173,0.163,0.456,0.163,0.63,0l4.888-4.556c1.305-1.216,1.305-3.195,0-4.411 C51.506,44.74,49.484,44.879,48.159,45.999z"/>
9
+ <path fill="#000000" d="M75.936,40.824c-1.258-1.172-3.279-1.033-4.604,0.087l-0.599,0.508l-0.599-0.508 c-1.324-1.12-3.347-1.259-4.604-0.087c-1.305,1.217-1.305,3.194,0,4.411l4.889,4.556c0.173,0.163,0.456,0.163,0.63,0l4.888-4.556 C77.24,44.018,77.24,42.04,75.936,40.824z"/>
10
+ <path fill="#000000" d="M62.417,61.999l-0.599,0.508l-0.599-0.508c-1.324-1.12-3.347-1.259-4.604-0.087 c-1.305,1.217-1.305,3.194,0,4.411l4.889,4.556c0.173,0.163,0.456,0.163,0.63,0l4.888-4.556c1.305-1.216,1.305-3.195,0-4.411 C65.764,60.739,63.742,60.878,62.417,61.999z"/>
11
+ <path fill="#000000" d="M32.863,42.785l4.888-4.556c1.305-1.216,1.305-3.195,0-4.411c-1.258-1.172-3.279-1.033-4.604,0.087 l-0.599,0.508l-0.599-0.508c-1.324-1.12-3.347-1.259-4.604-0.087c-1.305,1.217-1.305,3.194,0,4.411l4.889,4.556 C32.406,42.947,32.689,42.947,32.863,42.785z"/>
12
+ <path fill="#000000" d="M95.465,77.678L84.5,27.837V16c0-0.829-0.672-1.5-1.5-1.5H16c-0.828,0-1.5,0.671-1.5,1.5v11.837 L3.535,77.678c-0.092,0.416-0.002,0.852,0.247,1.198s0.633,0.57,1.057,0.616l37,4c0.055,0.006,0.108,0.009,0.162,0.009 c0.639,0,1.216-0.408,1.422-1.026l5.671-17.013l6.505,17.073c0.242,0.637,0.877,1.027,1.562,0.957l37-4 c0.424-0.046,0.808-0.27,1.057-0.616S95.557,78.094,95.465,77.678z M81.5,17.5v9.092C81.343,26.536,81.176,26.5,81,26.5H17.5v-9 H81.5z M83.293,77.649c0.216-0.992-0.085-2.063-0.908-2.831c-1.258-1.172-3.279-1.033-4.604,0.087l-0.599,0.508l-0.599-0.508 c-1.324-1.12-3.347-1.259-4.604-0.087c-1.196,1.115-1.282,2.863-0.285,4.084l-13.704,1.481l-7.588-19.918 C50.18,59.883,49.621,59.5,49,59.5c-0.011,0-0.021,0-0.031,0c-0.635,0.013-1.191,0.424-1.392,1.025l-6.618,19.853l-34.135-3.69 L12.872,49.2c0.038,0.04,0.065,0.084,0.106,0.122l4.889,4.556c0.173,0.163,0.456,0.163,0.63,0l4.888-4.556 c1.305-1.216,1.305-3.195,0-4.411c-1.258-1.172-3.279-1.033-4.604,0.087l-0.599,0.508l-0.599-0.508 c-1.021-0.864-2.456-1.136-3.638-0.68L17.206,29.5H52.41c0.061,0.714,0.368,1.413,0.953,1.958l4.889,4.556 c0.173,0.163,0.456,0.163,0.63,0l4.888-4.556c0.585-0.545,0.893-1.244,0.953-1.958H81c0.274,0,0.527-0.079,0.749-0.208 l0.493,2.242c-1.085-0.286-2.26-0.098-3.098,0.683c-1.305,1.217-1.305,3.194,0,4.411l4.889,4.556 c0.098,0.091,0.229,0.126,0.356,0.114l3.636,16.525c-0.002-0.001-0.002-0.003-0.004-0.004c-1.258-1.172-3.279-1.033-4.604,0.087 l-0.599,0.508l-0.599-0.508c-1.324-1.12-3.347-1.259-4.604-0.087c-1.305,1.217-1.305,3.194,0,4.411l4.889,4.556 c0.173,0.163,0.456,0.163,0.63,0l4.888-4.556c0.333-0.31,0.578-0.67,0.741-1.054l3.413,15.514L83.293,77.649z"/>
13
+ </g>
14
+ </g>
15
+ </svg>