Gildas
|
5caad0c8f8
add timeout when loading fonts (fix #799)
|
4 лет назад |
Gildas
|
eb2fc5c8d4
use modules in the library code of SingleFile
|
5 лет назад |
Gildas
|
0cf671ed45
use globalthis
|
5 лет назад |
Gildas
|
2543e54075
move inline functions out of returned objects
|
5 лет назад |
Gildas
|
4e6235fa11
call window.set/clearTimeout in the lib part of SingleFile
|
5 лет назад |
Gildas
|
4be877ca1e
remove .call usage
|
5 лет назад |
Gildas
|
27c6a565ba
cache the results of font tests
|
5 лет назад |
Gildas
|
55f18377ec
fixed issue with fonts containing no src (fix #512)
|
5 лет назад |
Gildas
|
e12002dbfb
parse fonts found in @supports
|
5 лет назад |
Gildas
|
f229690629
added fallback in the catch block
|
5 лет назад |
Gildas
|
597ec5fe2d
added try/catch
|
5 лет назад |
Gildas
|
fd418ac8ce
ignore font src ending with "\9" (IE hack)
|
5 лет назад |
Gildas
|
aa7410e69f
replaced helper.getFontFamily with helper.normalizeFontFamily
|
5 лет назад |
Gildas
|
56390d5596
fixed issue on franceinter.fr (fix #385)
|
5 лет назад |
Gildas
|
7d52e80340
ensure the URL is defined
|
5 лет назад |
Gildas
|
3a81f980ea
fixed font validation testing
|
5 лет назад |
Gildas
|
ec370c9c1a
moved getFontFamily into single-file-helper
|
5 лет назад |
Gildas
|
71875f7afc
moved getFontWeight into single-file-helper
|
5 лет назад |
=
|
d9e59a3e46
use call
|
6 лет назад |
=
|
4c15f22137
copy a ref to setTimeout function
|
6 лет назад |
=
|
8e0b464fef
fixed eslint warnings
|
6 лет назад |
=
|
cd3558b783
set font as valid if the timeout expires
|
6 лет назад |
=
|
edf62398da
increased timeout
|
6 лет назад |
=
|
ef80a5b971
added watchdog to prevent stuck process
|
6 лет назад |
Gildas
|
3bdc7dc88e
test font URL if necessary (e.g. CSP error)
|
6 лет назад |
Gildas
|
268d5841aa
remove more invalid fonts
|
6 лет назад |
Gildas
|
49e6d1a17d
updated copyright date
|
6 лет назад |
Gildas
|
5944e475ed
don't remove fonts served with text/plain content-type if valid
|
6 лет назад |
Gildas
|
8203518c0f
validate fonts when removing alternate ones
|
6 лет назад |
Gildas
|
9606eca672
ignore source if the content-type is text/...
|
6 лет назад |