Re: [go-nuts] Trouble with fonts

2016-12-07 Thread Nigel Tao
On Thu, Dec 8, 2016 at 3:32 PM, Lucio wrote: >> A text editor widget might expose its text content as a []byte, >> instead of a []rune, since in the latter representation, the >> underlying array takes 4x the memory for ASCII text, a common case. >> > I would choose to err on the side of intuition

Re: [go-nuts] Trouble with fonts

2016-12-07 Thread Lucio
On Thursday, 8 December 2016 03:10:33 UTC+2, Nigel Tao wrote: > > On Wed, Dec 7, 2016 at 5:49 PM, Lucio > > wrote: > > The first issue is one of documentation. It says in > > that: > > > > DrawBytes draws s at the dot and advances the dot's locatio

Re: [go-nuts] Trouble with fonts

2016-12-07 Thread Nigel Tao
On Wed, Dec 7, 2016 at 5:49 PM, Lucio wrote: > The first issue is one of documentation. It says in > that: > > DrawBytes draws s at the dot and advances the dot's location. > > But it leaves the question of what exactly those bytes are supposed to > repr

[go-nuts] Trouble with fonts

2016-12-06 Thread Lucio
The first issue is one of documentation. It says in that: DrawBytes draws s at the dot and advances the dot's location. But it leaves the question of what exactly those bytes are supposed to represent. Line 132 in