When running the typewriter example I noticed that the behaviour of the ext/text/Text type has regressed from the original pixel repository. It from looking at the git blame it seems most that this introduced by the changes @roipoussiere made here:
|
offset := txt.Orig.Sub(txt.Bounds().Max.Add(txt.Bounds().AnchorPos(txt.anchor.Opposite()))) |
|
txt.mat = pixel.IM.Moved(offset).Chained(txt.mat) |
Because of this regression it is no longer possible to accurately position text by setting the txt.Dot vector to the desired position
When running the typewriter example I noticed that the behaviour of the
ext/text/Texttype has regressed from the original pixel repository. It from looking at the git blame it seems most that this introduced by the changes @roipoussiere made here:pixel/ext/text/text.go
Lines 261 to 262 in 2298e16
Because of this regression it is no longer possible to accurately position text by setting the
txt.Dotvector to the desired position