variables support for cairo/grid/svg