ghiewa / freetype-go

Automatically exported from code.google.com/p/freetype-go
Other
1 stars 0 forks source link

DeltaP / DeltaC implementation questions #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the line 1346 - 1347 looks weird 
1346 n := f26dot6(h.stack[top])

This may be pedantic, but "n" in this case is a counter used for the loop at 
line 1350: "for ; n > 0; n--"
It is in no way a 26.6 fixed point value so why cast it to f26dot6 ?
------
line 1347  if top < 2*int(h.gs.loop) { 
This may be a copy/paste error, I don't see how the gs.loop value has anything 
to do with deltaP or deltaC.
I'm assuming you want:
line 1347  if top < 2*n { 

Original issue reported on code.google.com by jeremie....@gmail.com on 5 Nov 2014 at 8:45

GoogleCodeExporter commented 9 years ago
This issue was closed by revision a123d4416a3c.

Original comment by nigel...@golang.org on 6 Nov 2014 at 10:37