Mercurial > libervia-media
comparison fonts/fontello/README.txt @ 42:9a8a5d8f5b86
fonts: added a set of icon fonts generated by fontello + their plain svg version (cf. README_SAT)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 11 Mar 2018 19:13:35 +0100 |
parents | |
children | df5067fa5d3c |
comparison
equal
deleted
inserted
replaced
41:f8ece5fe01ec | 42:9a8a5d8f5b86 |
---|---|
1 This webfont is generated by http://fontello.com open source project. | |
2 | |
3 | |
4 ================================================================================ | |
5 Please, note, that you should obey original font licenses, used to make this | |
6 webfont pack. Details available in LICENSE.txt file. | |
7 | |
8 - Usually, it's enough to publish content of LICENSE.txt file somewhere on your | |
9 site in "About" section. | |
10 | |
11 - If your project is open-source, usually, it will be ok to make LICENSE.txt | |
12 file publicly available in your repository. | |
13 | |
14 - Fonts, used in Fontello, don't require a clickable link on your site. | |
15 But any kind of additional authors crediting is welcome. | |
16 ================================================================================ | |
17 | |
18 | |
19 Comments on archive content | |
20 --------------------------- | |
21 | |
22 - /font/* - fonts in different formats | |
23 | |
24 - /css/* - different kinds of css, for all situations. Should be ok with | |
25 twitter bootstrap. Also, you can skip <i> style and assign icon classes | |
26 directly to text elements, if you don't mind about IE7. | |
27 | |
28 - demo.html - demo file, to show your webfont content | |
29 | |
30 - LICENSE.txt - license info about source fonts, used to build your one. | |
31 | |
32 - config.json - keeps your settings. You can import it back into fontello | |
33 anytime, to continue your work | |
34 | |
35 | |
36 Why so many CSS files ? | |
37 ----------------------- | |
38 | |
39 Because we like to fit all your needs :) | |
40 | |
41 - basic file, <your_font_name>.css - is usually enough, it contains @font-face | |
42 and character code definitions | |
43 | |
44 - *-ie7.css - if you need IE7 support, but still don't wish to put char codes | |
45 directly into html | |
46 | |
47 - *-codes.css and *-ie7-codes.css - if you like to use your own @font-face | |
48 rules, but still wish to benefit from css generation. That can be very | |
49 convenient for automated asset build systems. When you need to update font - | |
50 no need to manually edit files, just override old version with archive | |
51 content. See fontello source code for examples. | |
52 | |
53 - *-embedded.css - basic css file, but with embedded WOFF font, to avoid | |
54 CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain. | |
55 We strongly recommend to resolve this issue by `Access-Control-Allow-Origin` | |
56 server headers. But if you ok with dirty hack - this file is for you. Note, | |
57 that data url moved to separate @font-face to avoid problems with <IE9, when | |
58 string is too long. | |
59 | |
60 - animate.css - use it to get ideas about spinner rotation animation. | |
61 | |
62 | |
63 Attention for server setup | |
64 -------------------------- | |
65 | |
66 You MUST setup server to reply with proper `mime-types` for font files - | |
67 otherwise some browsers will fail to show fonts. | |
68 | |
69 Usually, `apache` already has necessary settings, but `nginx` and other | |
70 webservers should be tuned. Here is list of mime types for our file extensions: | |
71 | |
72 - `application/vnd.ms-fontobject` - eot | |
73 - `application/x-font-woff` - woff | |
74 - `application/x-font-ttf` - ttf | |
75 - `image/svg+xml` - svg |