Font family and font size recognition became an essential step for document analysis. Font recognition helps to identify the proper segmentation method to be used before feeding the document to the Optical character Recognition (OCR). In this paper, some of the previous techniques used for font family and font size recognition will be discussed then we will discuss the proposed method that is based on deep learning. Two methods have been presented in this paper 1) a method for font family recognition (font size invariant) and 2) a method for font size recognition. Both methods use Deep Convolutional Neural Networks (D-CNN). We evaluated the proposed method on Arabic Printed Text Image Database (APTI)  and on a document generated using APTI database word images and scanned with the scanner.