Set m_FontType in CPDF_Font() constructor.
authorTom Sepez <tsepez@chromium.org>
Fri, 17 Apr 2015 20:07:49 +0000 (13:07 -0700)
committerTom Sepez <tsepez@chromium.org>
Fri, 17 Apr 2015 20:07:49 +0000 (13:07 -0700)
commit916228365f7f03a51e5fb0e4bab03fa708b107c5
tree39b85d94055aaa4a0bd9e1876ecdc26eb48f2246
parent29bc87d102b9e36c1e15385756c9fa9a214f3503
Set m_FontType in CPDF_Font() constructor.

This can't change for the life of the object, so tidy up some wild uses
throughout the code. Also kill pointless Initialize() method.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1060813003
core/include/fpdfapi/fpdf_resource.h
core/src/fpdfapi/fpdf_font/fpdf_font.cpp
core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp