Electronic structure of quasi-crystals