by kanox · 6y ago · 0 comments
As far as a I know the svg format has comparable capabilities for graphics, all that is missing is a "page model" for html which would have to be invented.
But another barrier is that browsers refuse to support SVG fonts. One supposed reason for this, the lack of hinting support in SVG fonts, is less relevant now with high DPI displays - macOS no longer does hinting at all I believe. The additional effort to support SVG fonts is really minimal [2], so it seems strange that it's intentionally omitted.
[1] https://github.com/styluslabs/ulib/blob/master/miniz_gzip.h
EPUB. It's already zipped HTML and supports fixed layout.
Or, perhaps more simply, maybe just HTML + paged.js.
> all that is missing is a "page model" for html which would have to be invented.
CSS paged media is already a thing. What else do you need?