-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy and Reference All Downloadable Fonts to OUJS Pro/Dev Server #227
Comments
I don't know why we're using CDNs for our hosting of client side JS |
Is it possible to use the 2nd drone as our CDN? Do we have a virtual domain name capability for that? e.g. maybe |
That would decrease overall performance and is unnecessary since traffic is distributed across them (non-blocking i/o and the way drones work). They're just text files (we even used the minified versions) and are compressed efficiently, plus express implements cache control for static files. It's not like we're talking about hosting videos here. |
* Leaving fontawesome CSS uncompressed for the time being... this is better to find and fix any bugs on a specific line rather than all one one single line. * Dereferenced googleusercontent font and added to bootstrap.css Applies to OpenUserJS#227
Closed by #248 |
* Add missing bootstrap .woff2 to static route for more current browsers * Google has core ttf now only ... ref: https://fonts.gstatic.com/s/squadaone/v5/DIbfqh10Zkwc_Qd08Y0saS3USBnSvpkopQaUR-2r7iU.ttf * Create .woff with FontForge *(Generate Fonts...)* from ttf ... smaller than original * Create .woff2 with https://github.com/google/woff2 from ttf ... pretty good compression here * Create .eot with `$ sudo npm install ttf2eot -g` and run their commandline with current *node* * Create .svg with FontForge ... not compressible in current toolkit * File rename to their current naming schema * Draft specs at https://drafts.csswg.org/css-fonts-3/#src-desc for format hint ... ttf/otf both fall under `opentype` according to the specs and it is SIL Open Font but google of course isn't... defer to theirs... we can blame them for any breakage. ;) **NOTES** * Should be useful to save some transfer bandwidth in browsers that support it * PaleMoon is still .woff compatible so need that... SeaMonkey 2.39 PASS with .woff2 * Older browsers don't support WOFF/WOFF2 at all so assuming that's why only the ttf exists * Same licensing * Cover some older browsers/devices with eot and svg Followup from OpenUserJS#227
* Currently ttf was chosen on a clean profile/no-cache... the browser might be FIFO on these CSS3 rules Post fix for OpenUserJS#827 and followup for OpenUserJS#227
* Recreate woff with https://github.com/fontello/ttf2woff ... produces smaller output Followup from OpenUserJS#227 and post change from OpenUserJS#827
May apply to #186 too.
The text was updated successfully, but these errors were encountered: