-
Notifications
You must be signed in to change notification settings - Fork 2
/
logos.py
87 lines (83 loc) · 12.8 KB
/
logos.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
CISCO_SVG = """<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" version="1.1" id="svg53702" viewBox="0 0 300 159.06394"
width="1em"> <g transform="translate(-446.85715,-442.59426)" id="layer1"> <g
transform="matrix(1.3796296,0,0,-1.3796296,745.85714,492.3076)" id="g53688"> <path id="path53690"
style="fill:#049fd9;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 0,0 C 0,2.587 -2.104,4.684
-4.687,4.684 -7.277,4.684 -9.381,2.587 -9.381,0 l 0,-9.853 c 0,-2.601 2.104,-4.699 4.694,-4.699
2.583,0 4.687,2.098 4.687,4.699 L 0,0 Z m -25.787,12.932 c 0,2.586 -2.098,4.687 -4.746,4.687 -2.59,0
-4.688,-2.101 -4.688,-4.687 l 0,-22.785 c 0,-2.601 2.098,-4.699 4.688,-4.699 2.648,0 4.746,2.098
4.746,4.699 l 0,22.785 z m -25.84,17.692 c 0,2.587 -2.098,4.685 -4.687,4.685 -2.59,0 -4.688,-2.098
-4.688,-4.685 l 0,-49.84 c 0,-2.602 2.098,-4.699 4.688,-4.699 2.589,0 4.687,2.097 4.687,4.699 l
0,49.84 z M -77.473,12.932 c 0,2.586 -2.097,4.687 -4.687,4.687 -2.584,0 -4.688,-2.101 -4.688,-4.687
l 0,-22.785 c 0,-2.601 2.104,-4.699 4.688,-4.699 2.59,0 4.687,2.098 4.687,4.699 l 0,22.785 z M
-103.313,0 c 0,2.587 -2.097,4.684 -4.672,4.684 -2.59,0 -4.702,-2.097 -4.702,-4.684 l 0,-9.853 c
0,-2.601 2.112,-4.699 4.702,-4.699 2.575,0 4.672,2.098 4.672,4.699 l 0,9.853 z m -25.798,12.932 c
0,2.586 -2.113,4.687 -4.702,4.687 -2.59,0 -4.703,-2.101 -4.703,-4.687 l 0,-22.785 c 0,-2.601
2.113,-4.699 4.703,-4.699 2.589,0 4.702,2.098 4.702,4.699 l 0,22.785 z m -25.828,17.692 c 0,2.587
-2.113,4.685 -4.703,4.685 -2.589,0 -4.702,-2.098 -4.702,-4.685 l 0,-49.84 c 0,-2.602 2.113,-4.699
4.702,-4.699 2.59,0 4.703,2.097 4.703,4.699 l 0,49.84 z m -25.829,-17.692 c 0,2.586 -2.112,4.687
-4.702,4.687 -2.59,0 -4.702,-2.101 -4.702,-4.687 l 0,-22.785 c 0,-2.601 2.112,-4.699 4.702,-4.699
2.59,0 4.702,2.098 4.702,4.699 l 0,22.785 z M -206.596,0 c 0,2.587 -2.112,4.684 -4.702,4.684 C
-213.885,4.684 -216,2.587 -216,0 l 0,-9.853 c 0,-2.601 2.115,-4.699 4.702,-4.699 2.59,0 4.702,2.098
4.702,4.699 l 0,9.853 z m 97.076,-40.855 c -0.282,0.077 -4.621,1.196 -9.232,1.196 -8.73,0
-13.986,-4.714 -13.986,-11.734 0,-6.214 4.397,-9.313 9.674,-10.98 0.585,-0.193 1.447,-0.463
2.021,-0.653 2.349,-0.739 4.224,-1.837 4.224,-3.739 0,-2.127 -2.167,-3.504 -6.878,-3.504 -4.14,0
-8.109,1.184 -8.945,1.395 l 0,-8.637 c 0.466,-0.099 5.183,-1.025 10.222,-1.025 7.248,0 15.539,3.167
15.539,12.595 0,4.573 -2.8,8.783 -8.947,10.737 l -2.613,0.832 c -1.559,0.492 -4.342,1.289
-4.342,3.574 0,1.805 2.062,3.076 5.859,3.076 3.276,0 7.263,-1.101 7.404,-1.145 l 0,8.012 z m
80.041,-18.243 c 0,-5.461 -4.183,-9.879 -9.796,-9.879 -5.619,0 -9.791,4.418 -9.791,9.879 0,5.45
4.172,9.87 9.791,9.87 5.613,0 9.796,-4.42 9.796,-9.87 m -9.796,19.427 c -11.544,0 -19.823,-8.707
-19.823,-19.427 0,-10.737 8.279,-19.438 19.823,-19.438 11.543,0 19.834,8.701 19.834,19.438 0,10.72
-8.291,19.427 -19.834,19.427 m -128.655,-1.345 c -0.89,0.264 -4.18,1.345 -8.636,1.345 -11.526,0
-19.987,-8.218 -19.987,-19.427 0,-12.093 9.34,-19.438 19.987,-19.438 4.23,0 7.459,1.002 8.636,1.336
l 0,10.075 c -0.407,-0.226 -3.503,-1.992 -7.957,-1.992 -6.31,0 -10.38,4.441 -10.38,10.019 0,5.748
4.246,10.011 10.38,10.011 4.53,0 7.576,-1.805 7.957,-2.004 l 0,10.075 z m 98.86,0 c -0.897,0.264
-4.19,1.345 -8.631,1.345 -11.543,0 -20.004,-8.218 -20.004,-19.427 0,-12.093 9.351,-19.438
20.004,-19.438 4.207,0 7.441,1.002 8.631,1.336 l 0,10.075 c -0.416,-0.226 -3.516,-1.992
-7.969,-1.992 -6.305,0 -10.371,4.441 -10.371,10.019 0,5.748 4.248,10.011 10.371,10.011 4.529,0
7.582,-1.805 7.969,-2.004 l 0,10.075 z m -76.369,-36.852 -9.472,0 0,37.532 9.472,0 0,-37.532 z" />
</g> </g> </svg>"""
DELL_SVG = """<?xml version="1.0" encoding="UTF-8" standalone="no"?> <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" version="1.1" id="svg3794" viewBox="0 0 300 225"
width="1em"> <g transform="translate(-318.33375,-439.74274)" id="layer1"> <g
transform="matrix(4.579965,0,0,-4.579965,397.87238,588.54693)" id="g3464"> <path id="path3466"
style="fill:#049fd9;fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 0,0 c 0,1.896 -1.258,2.973
-3.039,2.973 l -1.09,0 0,-5.948 1.059,0 C -1.414,-2.975 0,-2.075 0,0 M 19.389,-2.14 11.359,-8.463
4.02,-2.685 C 2.961,-5.229 0.402,-6.996 -2.545,-6.996 l -6.281,0 0,13.992 6.281,0 c 3.293,0
5.666,-2.094 6.563,-4.325 l 7.341,5.772 2.719,-2.14 -6.728,-5.288 1.293,-1.012 6.726,5.285
2.723,-2.134 -6.727,-5.294 1.291,-1.014 6.733,5.295 0,4.855 4.881,0 0,-9.908 4.869,0 0,-4.101
-9.75,0 0,4.873 z m 15.933,-0.774 4.867,0 0,-4.099 -9.753,0 0,14.009 4.886,0 0,-9.91 z" /> </g> </g>
</svg>"""
EBAY_SVG = """<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg
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" version="1.1" width="1em" viewBox="0 0 300 120.32412"> <path
id="e" d="m 38.866448,26.308378 c -21.145729,0 -38.76645103,8.97108 -38.76645103,36.036419
0,21.441707 11.84866003,34.944406 39.31245703,34.944406 32.326175,0 34.3984,-21.294248
34.3984,-21.294248 l -15.663557,0 c 0,0 -3.358398,11.466134 -19.690354,11.466134 -13.301932,0
-22.869203,-8.985845 -22.869203,-21.580814 l 59.861133,0 0,-7.903529 c 0,-12.460384
-7.91007,-31.668368 -36.582425,-31.668368 z m -0.546007,10.101117 c 12.662062,0 21.294248,7.757047
21.294248,19.383225 l -43.680508,0 c 0,-12.34261 11.267202,-19.383225 22.38626,-19.383225 z"
style="fill:#049fd9;fill-opacity:1;stroke:none" /> <path id="b" d="m 75.437762,0.10007279
0,83.59702321 c 0,4.745232 -0.338677,11.408082 -0.338677,11.408082 l 14.939733,0 c 0,0
0.536238,-4.785353 0.536238,-9.1587 0,0 7.381193,11.547477 27.451204,11.547477 21.13453,0
35.49041,-14.673014 35.49041,-35.695165 0,-19.556604 -13.18634,-35.28566 -35.45629,-35.28566
-20.854235,0 -27.33444,11.261381 -27.33444,11.261381 l 0,-37.67443821 z M 114.20421,36.853125 c
14.35199,0 23.47828,10.651661 23.47828,24.945665 0,15.327725 -10.54056,25.35517 -23.3759,25.35517
-15.317854,0 -23.58065,-11.960116 -23.58065,-25.218668 0,-12.354387 7.414449,-25.082167
23.47827,-25.082167 z" style="fill:#049fd9;fill-opacity:1;stroke:none" /> <path id="a" d="m
190.6451,26.308378 c -31.81215,0 -33.85239,17.418776 -33.85239,20.202235 l 15.83418,0 c 0,0
0.83034,-10.169369 16.9262,-10.169369 10.45935,0 18.56422,4.787411 18.56422,13.991413 l 0,3.276038
-18.56422,0 c -24.64532,0 -37.67444,7.20973 -37.67444,21.840254 0,14.398537 12.03849,22.232696
28.30702,22.232696 22.17148,0 29.31371,-12.251017 29.31371,-12.251017 0,4.872784 0.37568,9.67455
0.37568,9.67455 l 14.07643,0 c 0,0 -0.54601,-5.951939 -0.54601,-9.759864 l 0,-32.913945 c
0,-21.581223 -17.40751,-26.122991 -32.76038,-26.122991 z m 17.47221,37.128431 0,4.368051 c
0,5.697129 -3.51553,19.860981 -24.21197,19.860981 -11.3333,0 -16.1925,-5.656156 -16.1925,-12.216892
0,-11.935273 16.36378,-12.01214 40.40447,-12.01214 z"
style="fill:#049fd9;fill-opacity:1;stroke:none" /> <path id="y" d="m 214.87901,29.041161 17.81346,0
25.56479,51.217345 25.5063,-51.217345 16.13644,0 -46.45929,91.183029 -16.9262,0 13.40641,-25.418513
z" style="fill:#049fd9;fill-opacity:1;stroke:none" /> </svg>"""
ORACLE_SVG = """ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.0" width="1em" viewBox="0 0 625 225"> <defs id="defs115847"> <clipPath id="clp82"> <path d="M 1001.6,870.49 L 1036.3,870.49 L 1036.3,857.41 L 1001.6,857.41 L 1001.6,870.49 z " id="path1826" /> </clipPath> <clipPath id="clp83"> <path d="M 1001.6,870.49 L 1036.3,870.49 L 1036.3,857.41 L 1001.6,857.41 L 1001.6,870.49 z " id="path1835" /> </clipPath> <clipPath id="clp84"> <path d="M 1001.6,870.49 L 1036.3,870.49 L 1036.3,857.41 L 1001.6,857.41 L 1001.6,870.49 z " id="path1844" /> </clipPath> <clipPath id="clp81"> <path d="M 1000.9,934.34 L 1038.6,934.34 L 1038.6,922.24 L 1000.9,922.24 L 1000.9,934.34 z " id="path1800" /> </clipPath> <clipPath id="clipPath116030"> <path d="M 1001.6,870.49 L 1036.3,870.49 L 1036.3,857.41 L 1001.6,857.41 L 1001.6,870.49 z " id="path116032" /> </clipPath> <clipPath id="clipPath116038"> <path d="M 1001.6,870.49 L 1036.3,870.49 L 1036.3,857.41 L 1001.6,857.41 L 1001.6,870.49 z " id="path116040" /> </clipPath> <clipPath id="clipPath116046"> <path d="M 1001.6,870.49 L 1036.3,870.49 L 1036.3,857.41 L 1001.6,857.41 L 1001.6,870.49 z " id="path116048" /> </clipPath> </defs> <g transform="translate(-702.6538,-712.5837)" id="layer1"> <g id="g16337"> <path d="M 980.65099,771.70039 L 1021.3029,771.70039 L 999.80762,737.1177 L 960.35637,799.64472 L 942.40142,799.64472 L 990.38729,724.53644 C 992.47368,721.50175 995.95082,719.66834 999.80762,719.66834 C 1003.5375,719.66834 1007.0147,721.43856 1009.0379,724.41 L 1057.2134,799.64472 L 1039.2584,799.64472 L 1030.7865,785.67256 L 989.62847,785.67256 L 980.65099,771.70039 z M 1167.1573,785.67256 L 1167.1573,720.42701 L 1151.9207,720.42701 L 1151.9207,792.05805 C 1151.9207,794.01795 1152.6795,795.9146 1154.1335,797.3687 C 1155.5874,798.82285 1157.5474,799.64472 1159.697,799.64472 L 1229.1786,799.64472 L 1238.1561,785.67256 L 1167.1573,785.67256 z M 915.08933,773.97641 C 929.88361,773.97641 941.89588,762.02739 941.89588,747.23331 C 941.89588,732.43928 929.88361,720.42701 915.08933,720.42701 L 848.43367,720.42701 L 848.43367,799.64472 L 863.66423,799.64472 L 863.66423,734.39918 L 914.07773,734.39918 C 921.15891,734.39918 926.84882,740.15238 926.84882,747.23331 C 926.84882,754.31423 921.15891,760.06749 914.07773,760.06749 L 871.12457,760.00424 L 916.60647,799.64472 L 938.7347,799.64472 L 908.13505,773.97641 L 915.08933,773.97641 z M 754.67521,799.64472 C 732.80632,799.64472 715.05966,781.94244 715.05966,760.06749 C 715.05966,738.19249 732.80632,720.42701 754.67521,720.42701 L 800.71978,720.42701 C 822.59473,720.42701 840.32876,738.19249 840.32876,760.06749 C 840.32876,781.94244 822.59473,799.64472 800.71978,799.64472 L 754.67521,799.64472 z M 799.69555,785.67256 C 813.86396,785.67256 825.33883,774.22928 825.33883,760.06749 C 825.33883,745.90564 813.86396,734.39918 799.69555,734.39918 L 755.69287,734.39918 C 741.53103,734.39918 730.04958,745.90564 730.04958,760.06749 C 730.04958,774.22928 741.53103,785.67256 755.69287,785.67256 L 799.69555,785.67256 z M 1089.0142,799.64472 C 1067.1392,799.64472 1049.3739,781.94244 1049.3739,760.06749 C 1049.3739,738.19249 1067.1392,720.42701 1089.0142,720.42701 L 1143.7016,720.42701 L 1134.7873,734.39918 L 1090.0258,734.39918 C 1075.8639,734.39918 1064.3577,745.90564 1064.3577,760.06749 C 1064.3577,774.22928 1075.8639,785.67256 1090.0258,785.67256 L 1144.9659,785.67256 L 1135.9885,799.64472 L 1089.0142,799.64472 z M 1275.3309,785.67256 C 1263.6346,785.67256 1253.7087,777.83296 1250.6739,767.02192 L 1315.7932,767.02192 L 1324.7707,753.04976 L 1250.6739,753.04976 C 1253.7087,742.30196 1263.6346,734.39918 1275.3309,734.39918 L 1320.0292,734.39918 L 1329.0699,720.42701 L 1274.3193,720.42701 C 1252.4443,720.42701 1234.679,738.19249 1234.679,760.06749 C 1234.679,781.94244 1252.4443,799.64472 1274.3193,799.64472 L 1321.2936,799.64472 L 1330.271,785.67256 L 1275.3309,785.67256" style="fill:#049fd9;fill-rule:nonzero;stroke:none" id="path16197" /> <path d="M 1337.2258,728.8356 C 1337.2258,724.97899 1340.3233,721.88111 1344.1801,721.88111 C 1348.1001,721.88111 1351.1976,724.97899 1351.1976,728.8356 C 1351.1976,732.75534 1348.1001,735.85328 1344.1801,735.85328 C 1340.3233,735.85328 1337.2258,732.75534 1337.2258,728.8356 z M 1344.1801,737.81317 C 1349.1112,737.81317 1353.0944,733.83013 1353.0944,728.89879 C 1353.0944,723.96745 1349.1112,719.98446 1344.1801,719.98446 C 1339.3117,719.98446 1335.329,723.96745 1335.329,728.89879 C 1335.329,733.83013 1339.3117,737.81317 1344.1801,737.81317 z M 1343.3581,723.58814 C 1344.7489,723.58814 1345.3181,723.65133 1345.9505,723.9042 C 1347.7205,724.47325 1347.91,726.05378 1347.91,726.68602 C 1347.91,726.81246 1347.91,727.12857 1347.7836,727.50788 C 1347.7205,727.88725 1347.4677,728.64592 1346.5825,729.21491 C 1346.4561,729.27815 1346.3929,729.34135 1346.1401,729.46778 L 1348.4161,733.57726 L 1346.2033,733.57726 L 1344.1801,729.7839 L 1342.7894,729.7839 L 1342.7894,733.57726 L 1340.8294,733.57726 L 1340.8294,723.58814 L 1343.3581,723.58814 z M 1344.0537,728.14012 C 1344.6857,728.07693 1345.3181,728.07693 1345.6973,727.50788 C 1345.8868,727.25501 1345.9505,727.00214 1345.9505,726.62277 C 1345.9505,726.11703 1345.6341,725.67447 1345.1917,725.42155 C 1344.7489,725.23192 1344.3065,725.23192 1343.3581,725.23192 L 1342.7894,725.23192 L 1342.7894,728.14012 L 1344.0537,728.14012" style="fill:#049fd9;fill-rule:nonzero;stroke:none" id="path16199" /> </g> </g> </svg>"""
custom_logos = dict(cisco=CISCO_SVG, ebay=EBAY_SVG, dell=DELL_SVG, oracle=ORACLE_SVG)