prawn-icon 2.0.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +34 -1
- data/README.md +1 -1
- data/data/fonts/fa4/shims.yml +462 -0
- data/data/fonts/fab/LICENSE +1 -1
- data/data/fonts/fab/fa-brands.ttf +0 -0
- data/data/fonts/fab/fab.yml +107 -3
- data/data/fonts/far/LICENSE +1 -1
- data/data/fonts/far/fa-regular.ttf +0 -0
- data/data/fonts/far/far.yml +37 -1
- data/data/fonts/fas/LICENSE +1 -1
- data/data/fonts/fas/fa-solid.ttf +0 -0
- data/data/fonts/fas/fas.yml +462 -1
- data/examples/paymentfont.rb +1 -1
- data/lib/prawn/icon.rb +1 -0
- data/lib/prawn/icon/compatibility.rb +57 -0
- data/lib/prawn/icon/interface.rb +9 -3
- data/lib/prawn/icon/parser.rb +4 -5
- data/lib/prawn/icon/version.rb +1 -1
- data/spec/integration/icon_spec.rb +6 -6
- data/spec/unit/compatibility_spec.rb +44 -0
- data/spec/unit/errors/icon_key_empty_spec.rb +1 -3
- data/spec/unit/errors/icon_not_found_spec.rb +1 -3
- data/spec/unit/font_data_spec.rb +9 -9
- data/spec/unit/icon_spec.rb +15 -15
- data/spec/unit/parser_spec.rb +6 -4
- metadata +6 -3
data/data/fonts/fab/LICENSE
CHANGED
@@ -3,7 +3,7 @@ Font Awesome Free License
|
|
3
3
|
|
4
4
|
Font Awesome Free is free, open source, and GPL friendly. You can use it for
|
5
5
|
commercial projects, open source projects, or really almost whatever you want.
|
6
|
-
Full Font Awesome Free license: https://fontawesome.com/license.
|
6
|
+
Full Font Awesome Free license: https://fontawesome.com/license/free.
|
7
7
|
|
8
8
|
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
|
9
9
|
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
|
Binary file
|
data/data/fonts/fab/fab.yml
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
---
|
2
2
|
fab:
|
3
|
-
__font_version__: 5.
|
3
|
+
__font_version__: 5.11.2
|
4
4
|
500px: ""
|
5
5
|
accessible-icon: ""
|
6
6
|
accusoft: ""
|
7
|
+
acquisitions-incorporated: ""
|
7
8
|
adn: ""
|
9
|
+
adobe: ""
|
8
10
|
adversal: ""
|
9
11
|
affiliatetheme: ""
|
12
|
+
airbnb: ""
|
10
13
|
algolia: ""
|
14
|
+
alipay: ""
|
11
15
|
amazon: ""
|
12
16
|
amazon-pay: ""
|
13
17
|
amilia: ""
|
@@ -20,13 +24,16 @@ fab:
|
|
20
24
|
apper: ""
|
21
25
|
apple: ""
|
22
26
|
apple-pay: ""
|
27
|
+
artstation: ""
|
23
28
|
asymmetrik: ""
|
29
|
+
atlassian: ""
|
24
30
|
audible: ""
|
25
31
|
autoprefixer: ""
|
26
32
|
avianex: ""
|
27
33
|
aviato: ""
|
28
34
|
aws: ""
|
29
35
|
bandcamp: ""
|
36
|
+
battle-net: ""
|
30
37
|
behance: ""
|
31
38
|
behance-square: ""
|
32
39
|
bimobject: ""
|
@@ -39,9 +46,13 @@ fab:
|
|
39
46
|
blogger-b: ""
|
40
47
|
bluetooth: ""
|
41
48
|
bluetooth-b: ""
|
49
|
+
bootstrap: ""
|
42
50
|
btc: ""
|
51
|
+
buffer: ""
|
43
52
|
buromobelexperte: ""
|
53
|
+
buy-n-large: ""
|
44
54
|
buysellads: ""
|
55
|
+
canadian-maple-leaf: ""
|
45
56
|
cc-amazon-pay: ""
|
46
57
|
cc-amex: ""
|
47
58
|
cc-apple-pay: ""
|
@@ -53,25 +64,47 @@ fab:
|
|
53
64
|
cc-stripe: ""
|
54
65
|
cc-visa: ""
|
55
66
|
centercode: ""
|
67
|
+
centos: ""
|
56
68
|
chrome: ""
|
69
|
+
chromecast: ""
|
57
70
|
cloudscale: ""
|
58
71
|
cloudsmith: ""
|
59
72
|
cloudversify: ""
|
60
73
|
codepen: ""
|
61
74
|
codiepie: ""
|
75
|
+
confluence: ""
|
62
76
|
connectdevelop: ""
|
63
77
|
contao: ""
|
78
|
+
cotton-bureau: ""
|
64
79
|
cpanel: ""
|
65
80
|
creative-commons: ""
|
81
|
+
creative-commons-by: ""
|
82
|
+
creative-commons-nc: ""
|
83
|
+
creative-commons-nc-eu: ""
|
84
|
+
creative-commons-nc-jp: ""
|
85
|
+
creative-commons-nd: ""
|
86
|
+
creative-commons-pd: ""
|
87
|
+
creative-commons-pd-alt: ""
|
88
|
+
creative-commons-remix: ""
|
89
|
+
creative-commons-sa: ""
|
90
|
+
creative-commons-sampling: ""
|
91
|
+
creative-commons-sampling-plus: ""
|
92
|
+
creative-commons-share: ""
|
93
|
+
creative-commons-zero: ""
|
94
|
+
critical-role: ""
|
66
95
|
css3: ""
|
67
96
|
css3-alt: ""
|
68
97
|
cuttlefish: ""
|
69
98
|
d-and-d: ""
|
99
|
+
d-and-d-beyond: ""
|
70
100
|
dashcube: ""
|
71
101
|
delicious: ""
|
72
102
|
deploydog: ""
|
73
103
|
deskpro: ""
|
104
|
+
dev: ""
|
74
105
|
deviantart: ""
|
106
|
+
dhl: ""
|
107
|
+
diaspora: ""
|
75
108
|
digg: ""
|
76
109
|
digital-ocean: ""
|
77
110
|
discord: ""
|
@@ -85,21 +118,29 @@ fab:
|
|
85
118
|
drupal: ""
|
86
119
|
dyalog: ""
|
87
120
|
earlybirds: ""
|
121
|
+
ebay: ""
|
88
122
|
edge: ""
|
89
123
|
elementor: ""
|
124
|
+
ello: ""
|
90
125
|
ember: ""
|
91
126
|
empire: ""
|
92
127
|
envira: ""
|
93
128
|
erlang: ""
|
94
129
|
ethereum: ""
|
95
130
|
etsy: ""
|
131
|
+
evernote: ""
|
96
132
|
expeditedssl: ""
|
97
133
|
facebook: ""
|
98
134
|
facebook-f: ""
|
99
135
|
facebook-messenger: ""
|
100
136
|
facebook-square: ""
|
137
|
+
fantasy-flight-games: ""
|
138
|
+
fedex: ""
|
139
|
+
fedora: ""
|
140
|
+
figma: ""
|
101
141
|
firefox: ""
|
102
142
|
first-order: ""
|
143
|
+
first-order-alt: ""
|
103
144
|
firstdraft: ""
|
104
145
|
flickr: ""
|
105
146
|
flipboard: ""
|
@@ -107,6 +148,7 @@ fab:
|
|
107
148
|
font-awesome: ""
|
108
149
|
font-awesome-alt: ""
|
109
150
|
font-awesome-flag: ""
|
151
|
+
font-awesome-logo-full: ""
|
110
152
|
fonticons: ""
|
111
153
|
fonticons-fi: ""
|
112
154
|
fort-awesome: ""
|
@@ -115,10 +157,14 @@ fab:
|
|
115
157
|
foursquare: ""
|
116
158
|
free-code-camp: ""
|
117
159
|
freebsd: ""
|
160
|
+
fulcrum: ""
|
161
|
+
galactic-republic: ""
|
162
|
+
galactic-senate: ""
|
118
163
|
get-pocket: ""
|
119
164
|
gg: ""
|
120
165
|
gg-circle: ""
|
121
166
|
git: ""
|
167
|
+
git-alt: ""
|
122
168
|
git-square: ""
|
123
169
|
github: ""
|
124
170
|
github-alt: ""
|
@@ -145,25 +191,35 @@ fab:
|
|
145
191
|
gulp: ""
|
146
192
|
hacker-news: ""
|
147
193
|
hacker-news-square: ""
|
194
|
+
hackerrank: ""
|
148
195
|
hips: ""
|
149
196
|
hire-a-helper: ""
|
150
197
|
hooli: ""
|
198
|
+
hornbill: ""
|
151
199
|
hotjar: ""
|
152
200
|
houzz: ""
|
153
201
|
html5: ""
|
154
202
|
hubspot: ""
|
155
203
|
imdb: ""
|
156
204
|
instagram: ""
|
205
|
+
intercom: ""
|
157
206
|
internet-explorer: ""
|
207
|
+
invision: ""
|
158
208
|
ioxhost: ""
|
209
|
+
itch-io: ""
|
159
210
|
itunes: ""
|
160
211
|
itunes-note: ""
|
212
|
+
java: ""
|
213
|
+
jedi-order: ""
|
161
214
|
jenkins: ""
|
215
|
+
jira: ""
|
162
216
|
joget: ""
|
163
217
|
joomla: ""
|
164
218
|
js: ""
|
165
219
|
js-square: ""
|
166
220
|
jsfiddle: ""
|
221
|
+
kaggle: ""
|
222
|
+
keybase: ""
|
167
223
|
keycdn: ""
|
168
224
|
kickstarter: ""
|
169
225
|
kickstarter-k: ""
|
@@ -180,12 +236,19 @@ fab:
|
|
180
236
|
linux: ""
|
181
237
|
lyft: ""
|
182
238
|
magento: ""
|
239
|
+
mailchimp: ""
|
240
|
+
mandalorian: ""
|
241
|
+
markdown: ""
|
242
|
+
mastodon: ""
|
183
243
|
maxcdn: ""
|
244
|
+
mdb: ""
|
184
245
|
medapps: ""
|
185
246
|
medium: ""
|
186
247
|
medium-m: ""
|
187
248
|
medrt: ""
|
188
249
|
meetup: ""
|
250
|
+
megaport: ""
|
251
|
+
mendeley: ""
|
189
252
|
microsoft: ""
|
190
253
|
mix: ""
|
191
254
|
mixcloud: ""
|
@@ -193,7 +256,8 @@ fab:
|
|
193
256
|
modx: ""
|
194
257
|
monero: ""
|
195
258
|
napster: ""
|
196
|
-
|
259
|
+
neos: ""
|
260
|
+
nimblr: ""
|
197
261
|
node: ""
|
198
262
|
node-js: ""
|
199
263
|
npm: ""
|
@@ -201,22 +265,27 @@ fab:
|
|
201
265
|
nutritionix: ""
|
202
266
|
odnoklassniki: ""
|
203
267
|
odnoklassniki-square: ""
|
268
|
+
old-republic: ""
|
204
269
|
opencart: ""
|
205
270
|
openid: ""
|
206
271
|
opera: ""
|
207
272
|
optin-monster: ""
|
273
|
+
orcid: ""
|
208
274
|
osi: ""
|
209
275
|
page4: ""
|
210
276
|
pagelines: ""
|
211
277
|
palfed: ""
|
212
278
|
patreon: ""
|
213
279
|
paypal: ""
|
280
|
+
penny-arcade: ""
|
214
281
|
periscope: ""
|
215
282
|
phabricator: ""
|
216
283
|
phoenix-framework: ""
|
284
|
+
phoenix-squadron: ""
|
217
285
|
php: ""
|
218
286
|
pied-piper: ""
|
219
287
|
pied-piper-alt: ""
|
288
|
+
pied-piper-hat: ""
|
220
289
|
pied-piper-pp: ""
|
221
290
|
pinterest: ""
|
222
291
|
pinterest-p: ""
|
@@ -228,20 +297,27 @@ fab:
|
|
228
297
|
qq: ""
|
229
298
|
quinscape: ""
|
230
299
|
quora: ""
|
300
|
+
r-project: ""
|
301
|
+
raspberry-pi: ""
|
231
302
|
ravelry: ""
|
232
303
|
react: ""
|
304
|
+
reacteurope: ""
|
305
|
+
readme: ""
|
233
306
|
rebel: ""
|
234
307
|
red-river: ""
|
235
308
|
reddit: ""
|
236
309
|
reddit-alien: ""
|
237
310
|
reddit-square: ""
|
238
|
-
|
311
|
+
redhat: ""
|
239
312
|
renren: ""
|
240
313
|
replyd: ""
|
314
|
+
researchgate: ""
|
241
315
|
resolving: ""
|
316
|
+
rev: ""
|
242
317
|
rocketchat: ""
|
243
318
|
rockrms: ""
|
244
319
|
safari: ""
|
320
|
+
salesforce: ""
|
245
321
|
sass: ""
|
246
322
|
schlix: ""
|
247
323
|
scribd: ""
|
@@ -250,8 +326,11 @@ fab:
|
|
250
326
|
sellsy: ""
|
251
327
|
servicestack: ""
|
252
328
|
shirtsinbulk: ""
|
329
|
+
shopware: ""
|
253
330
|
simplybuilt: ""
|
254
331
|
sistrix: ""
|
332
|
+
sith: ""
|
333
|
+
sketch: ""
|
255
334
|
skyatlas: ""
|
256
335
|
skype: ""
|
257
336
|
slack: ""
|
@@ -261,10 +340,14 @@ fab:
|
|
261
340
|
snapchat-ghost: ""
|
262
341
|
snapchat-square: ""
|
263
342
|
soundcloud: ""
|
343
|
+
sourcetree: ""
|
264
344
|
speakap: ""
|
345
|
+
speaker-deck: ""
|
265
346
|
spotify: ""
|
347
|
+
squarespace: ""
|
266
348
|
stack-exchange: ""
|
267
349
|
stack-overflow: ""
|
350
|
+
stackpath: ""
|
268
351
|
staylinked: ""
|
269
352
|
steam: ""
|
270
353
|
steam-square: ""
|
@@ -278,10 +361,18 @@ fab:
|
|
278
361
|
stumbleupon-circle: ""
|
279
362
|
superpowers: ""
|
280
363
|
supple: ""
|
364
|
+
suse: ""
|
365
|
+
swift: ""
|
366
|
+
symfony: ""
|
367
|
+
teamspeak: ""
|
281
368
|
telegram: ""
|
282
369
|
telegram-plane: ""
|
283
370
|
tencent-weibo: ""
|
371
|
+
the-red-yeti: ""
|
372
|
+
themeco: ""
|
284
373
|
themeisle: ""
|
374
|
+
think-peaks: ""
|
375
|
+
trade-federation: ""
|
285
376
|
trello: ""
|
286
377
|
tripadvisor: ""
|
287
378
|
tumblr: ""
|
@@ -291,10 +382,14 @@ fab:
|
|
291
382
|
twitter-square: ""
|
292
383
|
typo3: ""
|
293
384
|
uber: ""
|
385
|
+
ubuntu: ""
|
294
386
|
uikit: ""
|
387
|
+
umbraco: ""
|
295
388
|
uniregistry: ""
|
296
389
|
untappd: ""
|
390
|
+
ups: ""
|
297
391
|
usb: ""
|
392
|
+
usps: ""
|
298
393
|
ussunnah: ""
|
299
394
|
vaadin: ""
|
300
395
|
viacoin: ""
|
@@ -308,6 +403,8 @@ fab:
|
|
308
403
|
vk: ""
|
309
404
|
vnv: ""
|
310
405
|
vuejs: ""
|
406
|
+
waze: ""
|
407
|
+
weebly: ""
|
311
408
|
weibo: ""
|
312
409
|
weixin: ""
|
313
410
|
whatsapp: ""
|
@@ -315,19 +412,26 @@ fab:
|
|
315
412
|
whmcs: ""
|
316
413
|
wikipedia-w: ""
|
317
414
|
windows: ""
|
415
|
+
wix: ""
|
416
|
+
wizards-of-the-coast: ""
|
417
|
+
wolf-pack-battalion: ""
|
318
418
|
wordpress: ""
|
319
419
|
wordpress-simple: ""
|
320
420
|
wpbeginner: ""
|
321
421
|
wpexplorer: ""
|
322
422
|
wpforms: ""
|
423
|
+
wpressr: ""
|
323
424
|
xbox: ""
|
324
425
|
xing: ""
|
325
426
|
xing-square: ""
|
326
427
|
y-combinator: ""
|
327
428
|
yahoo: ""
|
429
|
+
yammer: ""
|
328
430
|
yandex: ""
|
329
431
|
yandex-international: ""
|
432
|
+
yarn: ""
|
330
433
|
yelp: ""
|
331
434
|
yoast: ""
|
332
435
|
youtube: ""
|
333
436
|
youtube-square: ""
|
437
|
+
zhihu: ""
|
data/data/fonts/far/LICENSE
CHANGED
@@ -3,7 +3,7 @@ Font Awesome Free License
|
|
3
3
|
|
4
4
|
Font Awesome Free is free, open source, and GPL friendly. You can use it for
|
5
5
|
commercial projects, open source projects, or really almost whatever you want.
|
6
|
-
Full Font Awesome Free license: https://fontawesome.com/license.
|
6
|
+
Full Font Awesome Free license: https://fontawesome.com/license/free.
|
7
7
|
|
8
8
|
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
|
9
9
|
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
|
Binary file
|
data/data/fonts/far/far.yml
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
---
|
2
2
|
far:
|
3
|
-
__font_version__: 5.
|
3
|
+
__font_version__: 5.11.2
|
4
4
|
address-book: ""
|
5
5
|
address-card: ""
|
6
|
+
angry: ""
|
6
7
|
arrow-alt-circle-down: ""
|
7
8
|
arrow-alt-circle-left: ""
|
8
9
|
arrow-alt-circle-right: ""
|
@@ -31,15 +32,18 @@ far:
|
|
31
32
|
closed-captioning: ""
|
32
33
|
comment: ""
|
33
34
|
comment-alt: ""
|
35
|
+
comment-dots: ""
|
34
36
|
comments: ""
|
35
37
|
compass: ""
|
36
38
|
copy: ""
|
37
39
|
copyright: ""
|
38
40
|
credit-card: ""
|
41
|
+
dizzy: ""
|
39
42
|
dot-circle: ""
|
40
43
|
edit: ""
|
41
44
|
envelope: ""
|
42
45
|
envelope-open: ""
|
46
|
+
eye: ""
|
43
47
|
eye-slash: ""
|
44
48
|
file: ""
|
45
49
|
file-alt: ""
|
@@ -53,11 +57,28 @@ far:
|
|
53
57
|
file-video: ""
|
54
58
|
file-word: ""
|
55
59
|
flag: ""
|
60
|
+
flushed: ""
|
56
61
|
folder: ""
|
57
62
|
folder-open: ""
|
63
|
+
font-awesome-logo-full: ""
|
58
64
|
frown: ""
|
65
|
+
frown-open: ""
|
59
66
|
futbol: ""
|
60
67
|
gem: ""
|
68
|
+
grimace: ""
|
69
|
+
grin: ""
|
70
|
+
grin-alt: ""
|
71
|
+
grin-beam: ""
|
72
|
+
grin-beam-sweat: ""
|
73
|
+
grin-hearts: ""
|
74
|
+
grin-squint: ""
|
75
|
+
grin-squint-tears: ""
|
76
|
+
grin-stars: ""
|
77
|
+
grin-tears: ""
|
78
|
+
grin-tongue: ""
|
79
|
+
grin-tongue-squint: ""
|
80
|
+
grin-tongue-wink: ""
|
81
|
+
grin-wink: ""
|
61
82
|
hand-lizard: ""
|
62
83
|
hand-paper: ""
|
63
84
|
hand-peace: ""
|
@@ -79,12 +100,21 @@ far:
|
|
79
100
|
image: ""
|
80
101
|
images: ""
|
81
102
|
keyboard: ""
|
103
|
+
kiss: ""
|
104
|
+
kiss-beam: ""
|
105
|
+
kiss-wink-heart: ""
|
106
|
+
laugh: ""
|
107
|
+
laugh-beam: ""
|
108
|
+
laugh-squint: ""
|
109
|
+
laugh-wink: ""
|
82
110
|
lemon: ""
|
83
111
|
life-ring: ""
|
84
112
|
lightbulb: ""
|
85
113
|
list-alt: ""
|
86
114
|
map: ""
|
87
115
|
meh: ""
|
116
|
+
meh-blank: ""
|
117
|
+
meh-rolling-eyes: ""
|
88
118
|
minus-square: ""
|
89
119
|
money-bill-alt: ""
|
90
120
|
moon: ""
|
@@ -97,9 +127,13 @@ far:
|
|
97
127
|
plus-square: ""
|
98
128
|
question-circle: ""
|
99
129
|
registered: ""
|
130
|
+
sad-cry: ""
|
131
|
+
sad-tear: ""
|
100
132
|
save: ""
|
101
133
|
share-square: ""
|
102
134
|
smile: ""
|
135
|
+
smile-beam: ""
|
136
|
+
smile-wink: ""
|
103
137
|
snowflake: ""
|
104
138
|
square: ""
|
105
139
|
star: ""
|
@@ -107,9 +141,11 @@ far:
|
|
107
141
|
sticky-note: ""
|
108
142
|
stop-circle: ""
|
109
143
|
sun: ""
|
144
|
+
surprise: ""
|
110
145
|
thumbs-down: ""
|
111
146
|
thumbs-up: ""
|
112
147
|
times-circle: ""
|
148
|
+
tired: ""
|
113
149
|
trash-alt: ""
|
114
150
|
user: ""
|
115
151
|
user-circle: ""
|