Revision 2015.10 of the Gerber format specification adds .FilePolarity, clarifies drawing functions, and adds entries in the syllabus of errors and bad practices.
Ucamco, www.ucamco.com