htmlcss
htmlcss copied to clipboard
Add device API
Add a "device" API that abstracts away device-specific information, including:
- Fonts (enumeration, selection/search, metadata, extents and kerning)
- Resolution
- Media type (print, screen, etc.)
- Media dimensions (width/height/orientation)
The long term goal is to un-embed the current TrueType/OpenType code so that we can just use TTF and/or PDFio for the font stuff and support alternate plain text output, display, etc.