├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── dist ├── onfontready.js ├── onfontready.legacy.js ├── onfontready.legacy.min.js ├── onfontready.min.js ├── onfontready.promiseshim.js ├── onfontready.promiseshim.min.js ├── onfontsready.js └── onfontsready.min.js ├── docs ├── README.md ├── buildingOnfontready.md ├── compressionTechniques.md ├── handlingDisabledJavascript.md ├── howItWorks.md ├── howToBreakOnfontready.md ├── legacyVersionDifferences.md ├── multiFontDetection.md ├── promiseShimUsage.md └── recipesAndUsagePatterns.md ├── gulpfile.js ├── package.json ├── src ├── onfontready.js ├── onfontready.promiseshim.js └── onfontsready.js └── tests ├── TestingOldIE.md ├── browserMemoryLeakTest └── index.html ├── contentWindowAvailabilityTest └── index.html ├── index.html ├── inlineAbsoluteOverflowTest ├── html4strict.html ├── html4transitional.html ├── html5.html ├── index.html ├── quirks.html └── xhtml.html ├── mainTests ├── customFonts │ ├── OFL.txt │ ├── f1.eot │ ├── f1.ttf │ ├── f1.woff │ ├── f10.eot │ ├── f10.ttf │ ├── f10.woff │ ├── f2.eot │ ├── f2.ttf │ ├── f2.woff │ ├── f3.eot │ ├── f3.ttf │ ├── f3.woff │ ├── f4.eot │ ├── f4.ttf │ ├── f4.woff │ ├── f5.eot │ ├── f5.ttf │ ├── f5.woff │ ├── f6.eot │ ├── f6.ttf │ ├── f6.woff │ ├── f7.eot │ ├── f7.ttf │ ├── f7.woff │ ├── f8.eot │ ├── f8.ttf │ ├── f8.woff │ ├── f9.eot │ ├── f9.ttf │ ├── f9.woff │ ├── f_F1.eot │ ├── f_F1.ttf │ ├── f_F1.woff │ ├── f_F2.eot │ ├── f_F2.ttf │ ├── f_F2.woff │ ├── f_Fo.eot │ ├── f_Fo.ttf │ ├── f_Fo.woff │ ├── f_Yu.eot │ ├── f_Yu.ttf │ ├── f_Yu.woff │ └── fontFaces.css ├── helpers │ ├── addFontFace.js │ ├── jsonPolyfill.js │ ├── log.js │ ├── styles.css │ └── testRunner.js └── index.html ├── memoryLeakTest └── index.html ├── scrollBasedResizeDetectionTest └── index.html └── spaceCharacterWidths ├── fontsizes.txt └── index.html /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/README.md -------------------------------------------------------------------------------- /dist/onfontready.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/dist/onfontready.js -------------------------------------------------------------------------------- /dist/onfontready.legacy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/dist/onfontready.legacy.js -------------------------------------------------------------------------------- /dist/onfontready.legacy.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/dist/onfontready.legacy.min.js -------------------------------------------------------------------------------- /dist/onfontready.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/dist/onfontready.min.js -------------------------------------------------------------------------------- /dist/onfontready.promiseshim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/dist/onfontready.promiseshim.js -------------------------------------------------------------------------------- /dist/onfontready.promiseshim.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/dist/onfontready.promiseshim.min.js -------------------------------------------------------------------------------- /dist/onfontsready.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/dist/onfontsready.js -------------------------------------------------------------------------------- /dist/onfontsready.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/dist/onfontsready.min.js -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/buildingOnfontready.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/buildingOnfontready.md -------------------------------------------------------------------------------- /docs/compressionTechniques.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/compressionTechniques.md -------------------------------------------------------------------------------- /docs/handlingDisabledJavascript.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/handlingDisabledJavascript.md -------------------------------------------------------------------------------- /docs/howItWorks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/howItWorks.md -------------------------------------------------------------------------------- /docs/howToBreakOnfontready.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/howToBreakOnfontready.md -------------------------------------------------------------------------------- /docs/legacyVersionDifferences.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/legacyVersionDifferences.md -------------------------------------------------------------------------------- /docs/multiFontDetection.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/multiFontDetection.md -------------------------------------------------------------------------------- /docs/promiseShimUsage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/promiseShimUsage.md -------------------------------------------------------------------------------- /docs/recipesAndUsagePatterns.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/docs/recipesAndUsagePatterns.md -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/gulpfile.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/package.json -------------------------------------------------------------------------------- /src/onfontready.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/src/onfontready.js -------------------------------------------------------------------------------- /src/onfontready.promiseshim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/src/onfontready.promiseshim.js -------------------------------------------------------------------------------- /src/onfontsready.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/src/onfontsready.js -------------------------------------------------------------------------------- /tests/TestingOldIE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/TestingOldIE.md -------------------------------------------------------------------------------- /tests/browserMemoryLeakTest/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/browserMemoryLeakTest/index.html -------------------------------------------------------------------------------- /tests/contentWindowAvailabilityTest/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/contentWindowAvailabilityTest/index.html -------------------------------------------------------------------------------- /tests/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/index.html -------------------------------------------------------------------------------- /tests/inlineAbsoluteOverflowTest/html4strict.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/inlineAbsoluteOverflowTest/html4strict.html -------------------------------------------------------------------------------- /tests/inlineAbsoluteOverflowTest/html4transitional.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/inlineAbsoluteOverflowTest/html4transitional.html -------------------------------------------------------------------------------- /tests/inlineAbsoluteOverflowTest/html5.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/inlineAbsoluteOverflowTest/html5.html -------------------------------------------------------------------------------- /tests/inlineAbsoluteOverflowTest/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/inlineAbsoluteOverflowTest/index.html -------------------------------------------------------------------------------- /tests/inlineAbsoluteOverflowTest/quirks.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/inlineAbsoluteOverflowTest/quirks.html -------------------------------------------------------------------------------- /tests/inlineAbsoluteOverflowTest/xhtml.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/inlineAbsoluteOverflowTest/xhtml.html -------------------------------------------------------------------------------- /tests/mainTests/customFonts/OFL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/OFL.txt -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f1.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f1.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f1.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f1.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f1.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f1.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f10.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f10.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f10.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f10.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f10.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f10.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f2.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f2.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f2.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f2.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f2.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f2.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f3.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f3.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f3.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f3.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f3.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f3.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f4.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f4.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f4.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f4.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f4.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f4.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f5.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f5.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f5.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f5.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f5.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f5.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f6.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f6.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f6.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f6.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f6.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f6.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f7.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f7.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f7.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f7.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f7.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f7.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f8.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f8.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f8.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f8.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f8.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f8.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f9.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f9.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f9.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f9.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f9.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f9.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_F1.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_F1.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_F1.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_F1.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_F1.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_F1.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_F2.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_F2.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_F2.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_F2.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_F2.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_F2.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_Fo.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_Fo.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_Fo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_Fo.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_Fo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_Fo.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_Yu.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_Yu.eot -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_Yu.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_Yu.ttf -------------------------------------------------------------------------------- /tests/mainTests/customFonts/f_Yu.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/f_Yu.woff -------------------------------------------------------------------------------- /tests/mainTests/customFonts/fontFaces.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/customFonts/fontFaces.css -------------------------------------------------------------------------------- /tests/mainTests/helpers/addFontFace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/helpers/addFontFace.js -------------------------------------------------------------------------------- /tests/mainTests/helpers/jsonPolyfill.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/helpers/jsonPolyfill.js -------------------------------------------------------------------------------- /tests/mainTests/helpers/log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/helpers/log.js -------------------------------------------------------------------------------- /tests/mainTests/helpers/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/helpers/styles.css -------------------------------------------------------------------------------- /tests/mainTests/helpers/testRunner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/helpers/testRunner.js -------------------------------------------------------------------------------- /tests/mainTests/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/mainTests/index.html -------------------------------------------------------------------------------- /tests/memoryLeakTest/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/memoryLeakTest/index.html -------------------------------------------------------------------------------- /tests/scrollBasedResizeDetectionTest/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/scrollBasedResizeDetectionTest/index.html -------------------------------------------------------------------------------- /tests/spaceCharacterWidths/fontsizes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/spaceCharacterWidths/fontsizes.txt -------------------------------------------------------------------------------- /tests/spaceCharacterWidths/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwighthouse/onfontready/HEAD/tests/spaceCharacterWidths/index.html --------------------------------------------------------------------------------