~sbinet/star-tex

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>
dvi: add the ability to setup x,y-offset (x,y-margins)

Signed-off-by: Sebastien Binet <s@sbinet.org>
dvi: add Init(*CmdPre,*CmdPost) to Renderer interface

Renderers need the information stored in the prelude/postamble of DVI
documents to infer scaling, maximum width/height in pixels, etc...

Signed-off-by: Sebastien Binet <s@sbinet.org>
{cmd/pk2bm,font/pkf}: first import

Fixes #8.

Signed-off-by: Sebastien Binet <s@sbinet.org>
dvi: implement glyph advance in dvi.Font

Signed-off-by: Sebastien Binet <s@sbinet.org>
font/tfm: implement Box, GlyphBounds, GlyphAdvance, Kern and Metrics

Signed-off-by: Sebastien Binet <s@sbinet.org>
font/fixed: add convenience method to convert Int12_20 to Int26_6

Signed-off-by: Sebastien Binet <s@sbinet.org>
all: retract v0.1.x and v0.3.0 modules

Signed-off-by: Sebastien Binet <s@sbinet.org>
63602d09 — Sebastien Binet 3 months ago
font/afm: first import

Fixes #15.

Signed-off-by: Sebastien Binet <s@sbinet.org>
all: migrate to font/fixed package

Signed-off-by: Sebastien Binet <s@sbinet.org>
font/fixed: first import

Signed-off-by: Sebastien Binet <s@sbinet.org>
Next