[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
http://code.google.com/p/cog/issues/detail?id=131

primitiveLoadOutlineSizesFrom: aFace

uses non-existing ivar for reading flags:

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

(FT2OutlineFlagsIndex is nil) , causing overriding number of contours  
(null=0=FT2OutlineContoursSizeIndex)..
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:
https://code.google.com/hosting/settings


More information about the Vm-dev mailing list