Added cp function and finished cp fonts implementation