const CPDF_Font* stock_font =CPDF_Font::GetStockFont(cpdf_doc_, "sysfFZFS"); // const uint8_t* data = stock_font->GetFont()->GetFontData(); // const uint32_t size = stock_font->GetFont()->GetSize();
调用任何指针,判断是否为空???
避免程序段错误,崩溃
const CPDF_Font* stock_font =CPDF_Font::GetStockFont(cpdf_doc_, "sysfFZFS"); // const uint8_t* data = stock_font->GetFont()->GetFontData(); // const uint32_t size = stock_font->GetFont()->GetSize();
调用任何指针,判断是否为空???
避免程序段错误,崩溃