Port gdi02 to New Lua
Merge pull request #6324 from obrakmann/gdi02

Port gdi02 to New Lua