htmlcss icon indicating copy to clipboard operation
htmlcss copied to clipboard

Add device API

Open michaelrsweet opened this issue 7 months ago • 0 comments

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.

michaelrsweet avatar May 14 '25 01:05 michaelrsweet