typekit

slow / unresponsive / stuck typekit script

旧城冷巷雨未停 提交于 2019-12-05 05:02:52
问题 ive installed typekit on my site, the usual two lines of js just after the opening head tag but its extremely slow / unresponsive to load in the fonts, this is completly remedied by refreshing the page, after that the typekit font load in perfectly and really quickly. But from a users point of view they will never know to do that, so they will be served the default fonts. I have the typekit js as the very first thing under the opening head tag before the metatags and before loading in jquery,

Embedded Fonts Render Then Disappear

随声附和 提交于 2019-12-05 02:11:27
问题 I have a site that is loading in some typekit fonts and an embedded icon font. They all seem to load in well in all browsers. However if the browser window is left inactive for a period of time they disappear and the system fonts are rendered in their place. Re-sizing the browser seems to then fix the issue and the embedded fonts reappear. The issue is very difficult to recreate as it doesn't seem to happen all the time, but it does happen a lot of the time. So far I have only seen it happen

typekit: Failed on Firefox, Worked on Chrome and Safari

可紊 提交于 2019-12-05 02:04:09
I could embed a typekit -hosted font on Chrome and Safari but, for some reasons, not on Firefox. I am running FF v9.0.1 but I don't think it is related to the version (because the same thing happened on FF 8). From the Firebug Console tab, I got the following error message: NetworkError: 403 Forbidden - http://use.typekit.com/k/amh2oiv-d.css?3bb2a6e ... (and a bunch of other chars) The part that I don't understand is it worked well on Chrome and Safari, which validated that my Typekit "kit" and JS code had been configured properly. Any other info that I should find out to resolve this issue?

How to load TypeKit fonts into a CKEditor instance using jQuery

妖精的绣舞 提交于 2019-12-04 20:49:12
I'm trying to load TypeKit fonts into an instance of the CKEditor via jQuery. Here's my code: $('.ck-blog textarea').ckeditor(function () { CKEDITOR.scriptLoader.load( "http://use.typekit.com/zku8fnp.js", function (success) { Typekit.load(); alert(success); }, null, true); }, { resize_enabled: false, skin: 'kama', height: '500px', toolbarCanCollapse: false, toolbar_Full: toolbar, forcePasteAsPlainText: true, autoGrow_onStartup: true, templates_replaceContent: false, extraPlugins: 'autogrow,wordcount', removePlugins: 'resize', contentsCss: '/areas/admin/content/css/ckeditor-blog.css', templates

Web font embedding vs. sifr?

陌路散爱 提交于 2019-12-04 19:36:56
问题 I'd like to use a non-standard web font to improve the appearance of my HTML. Is it preferable to embed a web font or use something like sifr? My understanding is sifr is a flash-based viewer for vector fonts but I've been reluctant to try it because it seems somewhat complicated. There does not seem to be a lot of encouraging talk about web font embedding (because of legal issues) so maybe sifr is more of a standard way to do this? Any feedback would be appreciated. Thanks. 回答1: Web fonts

Embedded Fonts Render Then Disappear

被刻印的时光 ゝ 提交于 2019-12-03 20:13:16
I have a site that is loading in some typekit fonts and an embedded icon font. They all seem to load in well in all browsers. However if the browser window is left inactive for a period of time they disappear and the system fonts are rendered in their place. Re-sizing the browser seems to then fix the issue and the embedded fonts reappear. The issue is very difficult to recreate as it doesn't seem to happen all the time, but it does happen a lot of the time. So far I have only seen it happen in Chrome. Other details: The site is hosted on Heroku, Rails 4, Turbolinks off. Font-face embed for