ktye
ktye
freetype cannot be used concurrently! I just realized this recently. Do you have time to work on sfnt? I have an example to render fonts with it in: github.com/ktye/goissues/tree/master/28932
@fhs The recently announced gio toolkit also uses sfnt fonts for text. func textPath builds the path: https://git.sr.ht/~eliasnaur/gio/tree/master/ui/measure/measure.go Maybe this is of interest.
modulo is euclidean now, but idiv is still truncated
encode of negative numbers has to be fixed as well. ``` 8/8\-234 350 ``` and division by zero (e.g. may trap on wasm)
https://stackoverflow.com/a/29319743 ``` +----+----+-----------+---------+-----------+-----------+---------+-----------+ | x mod y | quotient 'q' | remainder 'r' | | x | y | truncated | floored | Euclidean | truncated | floored | Euclidean...
this does all 4 cases (but not division by 0) ``` func div(x, y int) int { r := x % y if r < 0 { r += abs(y)...
``` {r:!0;while[~y?0 -1;r,:x!y;y:y%x;|r]} /atomic x y ```
no. `Kc` is ok. `Flr` needs sign extension of xp, e.g. ``` case 1: return Kc(int32(int8(xp))) ``` but there is no such operation in the abstract machine
cool. it looks you really worked through the code! if anything is unclear, just ask. i'm happy to help. the attribution is fine. please tell me when you have a...
i made some simplifications for smaller code size recently. e.g. i removed digraph adverbs, over/scan with initial value, and each-prior. your refcard reflects the old behaviour. If you prefer this...