[Vm-dev] Issue 131 in cog: Bug in Freetype plugin primitive

cog at googlecode.com cog at googlecode.com
Tue May 7 12:21:07 UTC 2013

Status: Accepted
Owner: siguc... at gmail.com
Labels: Type-Defect Priority-Medium

New issue 131 by siguc... at gmail.com: Bug in Freetype plugin primitive

primitiveLoadOutlineSizesFrom: aFace

uses non-existing ivar for reading flags:

		storeInteger: FT2OutlineFlagsIndex
		ofObject: rcvr
		withValue: (self cCode: 'gs->outline.flags' inSmalltalk: [gs]).

(FT2OutlineFlagsIndex is nil) , causing overriding number of contours  
which later causing VM crash when invoking primitiveLoadOutlineArraysFrom:
because of attempt to read outside of array range.

The fix is to remove the above code. (i wanted to attach file here, but  
quota exceeded)

You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:

More information about the Vm-dev mailing list