all: update examples name for Go-1.23
Signed-off-by: Sebastien Binet <binet@cern.ch>
examples: bump x/image, x/text and go-fonts
Signed-off-by: Sebastien Binet <binet@cern.ch>
all: bump to Go-1.22
Signed-off-by: Sebastien Binet <binet@cern.ch>
gg: fixup path-segments pruning logic in rasterPath
This CL modifies rasterPath to correctly handle path-segments pruning.
The pruning would update the value of the previous path point, even in
cases where the point had be pruned away.
This would lead to vast swathes of path segments being pruned away.
The fix is to update the previous point value only when the point hasn't
been removed.
Signed-off-by: Sebastien Binet <binet@cern.ch>
doc: update references
Signed-off-by: Sebastien Binet <binet@cern.ch>
ci: more verbose tests in CI
Signed-off-by: Sebastien Binet <binet@cern.ch>
examples: remove spurious 'Output:' as examples are run through tests
Signed-off-by: Sebastien Binet <binet@cern.ch>
all: remove test images when test succeeds
Signed-off-by: Sebastien Binet <binet@cern.ch>
all: use x/image/font/opentype in lieu of freetype/truetype
Signed-off-by: Sebastien Binet <binet@cern.ch>
doc: mention LoadFontFaceFrom{Bytes,FS}
Signed-off-by: Sebastien Binet <binet@cern.ch>
doc: update links to images and wire in embedmd
Signed-off-by: Sebastien Binet <binet@cern.ch>
gg: use embedmd to embed images in README
Signed-off-by: Sebastien Binet <binet@cern.ch>
gg: ensure files are properly closed in Save{JPG,PNG}
Signed-off-by: Sebastien Binet <binet@cern.ch>
gg: use cmpimg for tests
Signed-off-by: Sebastien Binet <binet@cern.ch>
examples: migrate to ExampleXYZ
Signed-off-by: Sebastien Binet <binet@cern.ch>
all: introduce examples sub-module
Signed-off-by: Sebastien Binet <binet@cern.ch>
all: remove .gitignore
Signed-off-by: Sebastien Binet <binet@cern.ch>
gg: add LoadFontFaceFrom{Bytes,FS}
Signed-off-by: Sebastien Binet <binet@cern.ch>