-
A lot of environments today don't provide reliable access to file system. E.g. Client side Blazor, Azure Functions ect. In such cases, it would be greate to load font from a some web resource, but these streams are in many cases nonseekable. Fonts can't load font from nonseekable stream, it throws at Workaround: It is possible to read whole non-seekable stream to an intermediate |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The way the font file format works is it effectivly requires processing the font data in a random access fashion, so even if we supported using non seekable streams all we would be able to do to 'fix' it would be do the copy silently anyway. |
Beta Was this translation helpful? Give feedback.
The way the font file format works is it effectivly requires processing the font data in a random access fashion, so even if we supported using non seekable streams all we would be able to do to 'fix' it would be do the copy silently anyway.