internal/xtex: apply staticcheck fix
Signed-off-by: Sebastien Binet <binet@cern.ch>
cmd/kpath-find: cleanup test
Signed-off-by: Sebastien Binet <binet@cern.ch>
kpath: consistently use filepath.ToSlash
Signed-off-by: Sebastien Binet <binet@cern.ch>
cmd/kpath: streamline filesystem test
Signed-off-by: Sebastien Binet <binet@cern.ch>
dvi: fix invalid JSON struct-tag
Signed-off-by: Sebastien Binet <binet@cern.ch>
ci: bump to freebsd/latest
Signed-off-by: Sebastien Binet <s@sbinet.org>
internal/tds/fonts/pk: hack up checksum of cmtt10.pk
Signed-off-by: Sebastien Binet <s@sbinet.org>
cmd/dvi-cnv: add PK/TFM checksum check
Signed-off-by: Sebastien Binet <s@sbinet.org>
tfm: export Font.Checksum method
Signed-off-by: Sebastien Binet <s@sbinet.org>
dvi: be more specific about color definition files
Some TeX distribution system may have duplicates (e.g. latex/graphics/dvipsnam.def and latex-dev/graphics/dvipsnam.def).
Signed-off-by: Sebastien Binet <s@sbinet.org>
doc: add documentation for dvi-cnv and pk2bm
Signed-off-by: Sebastien Binet <s@sbinet.org>
cmd/dvi-cnv: first import
dvi-cnv converts a DVI document into a (set of) PNG file(s).
Fixes #4.
Signed-off-by: Sebastien Binet <s@sbinet.org>
internal/tds/fonts/pk: add cmtt10.pk font
Signed-off-by: Sebastien Binet <s@sbinet.org>
dvi,internal/tds: add Handler infrastructure and color handling
Signed-off-by: Sebastien Binet <s@sbinet.org>
dvi: export Metrics, Name and Size from Font
Signed-off-by: Sebastien Binet <s@sbinet.org>