1. An image forming apparatus that performs a scan conversion of an object, comprising: an obtainment unit configured to obtain an object; a correction unit configured to perform processing of widening a width of the object obtained by the obtainment unit; and a rendering unit configured to perform a first conversion into pixels of the object for which the processing for widening the width of the object is performed by the correction unit and to perform a second conversion into pixels of the object for which the processing for widening the width of the object is not performed by the correction unit, wherein, in a case when the rendering unit performs the first conversion, the rendering unit fills or does not fill a pixel with color depending on a position of an boundary of the object in the pixel, and in a case when the rendering unit performs the second conversion, the rendering unit fills a pixel with color if the position of the boundary of the object exists in the pixel.