Taco de Wolff
Taco de Wolff
@dkononovGm Is this still an issue?
Hey Benedikt, thanks for the kind words, I'm happy to hear that the library is proving useful to you! I've added the ` Path.Data` function to get the private `d...
That's a great idea, especially for the OpenGL renderer and maybe the Fyne and Gio renderers!
Ok, so what's the problem?
You can convert a text line to a path using `FontFace.ToPath("text")`. If you want transform a text box, you can use the `Text.RenderAsPath(targetRenderer, matrix, resolution)`
`Append` will simply merge two separate paths into two subpaths. `Join` will join both paths by a line, this will leave only one subpath. Remember that using `Append` or `Join`...
Because `canvas.Circle` creates a path that starts at `MoveTo(r,0)`, so appending or joining both would result in `MoveTo(x,y) MoveTo(r,0) ArcTo(-r,0) ArcTo(r,0)` which remove the first redundant MoveTo command. You need...
Thanks for raising this issue. Could you be more explicit? I believe the current implementation only looks for English names, and perhaps you're looking for a name in another language...
It gets cached in https://github.com/tdewolff/canvas/blob/master/font.go#L192, but perhaps that should move to the `font/` subpackage...
Hey alan-foo, yeah the LaTeX renderer isn't great. Can you try turning on the LaTeX renderer of your system using `go run -tags latex file.go`? There is no great Go-only...