Re: [go-nuts] Setting font in draw2d

2018-09-11 Thread viktor . ogeman
Thanks, I Will give that packade a try instead. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visi

Re: [go-nuts] Setting font in draw2d

2018-09-11 Thread Ian Davis
On Tue, 11 Sep 2018, at 3:01 PM, viktor.oge...@gmail.com wrote: > Hi, > > I am struggling to load and use custom fonts from ttf files in draw2d > (used since I need rotated text).> > To illustrate: https://play.golang.org/p/6-rswetZOr8 give the output:> > 2018/09/11 15:52:43 open ../resource/fon

[go-nuts] Setting font in draw2d

2018-09-11 Thread viktor . ogeman
Hi, I am struggling to load and use custom fonts from ttf files in draw2d (used since I need rotated text). To illustrate: https://play.golang.org/p/6-rswetZOr8 give the output: 2018/09/11 15:52:43 open ../resource/font/luxisr.ttf: no such file or directory It seems as if GraphicsContext.SetFo