~sbinet/star-tex#22: 
cmd/dvi-cnv: improve PNG output to handle color/no-color

we should improve the PNG output of cmd/dvi-cnv by sniffing the dvi program:

  • load all the required fonts upfront (so most I/O errors would be caught upfront)
  • check if a dvi program is colorless (and create a paletted image instead of an image.RGBA)

this probably require changing a bit the dvi.Renderer interface (to have access to the fonts).

Status
REPORTED
Submitter
~sbinet
Assigned to
No-one
Submitted
3 years ago
Updated
3 years ago
Labels
No labels applied.