Quote:
Originally Posted by nihilazo
but the only way I have found to draw to the screen from a go program is through fbink (which is great but a little limited for what I'd like)
|
If the issue is that you don't want to call FBInk with os.Exec, sherman has made a CGO wrapper for it. If you want to avoid FBInk entirely, you may have luck porting Plato's FB and input handling to Go directly since it's quite well written and easy to read.
If the issue is that you want more sophisticated text layout and rendering, note that you'll still need to deal with it no matter what you use (unless you're using a GUI toolkit with support for it, or embedding a minimal browser engine to do the rendering for you). Personally, I'd use Pango/Cairo, but Skia is another option.