THotPDF.AcquireFontDecoderForDict Method

THotPDF의 private helper로, 페이지의 font resources에 없는 font dictionary의 텍스트 디코더를 만들거나 재사용합니다. Form XObject의 폰트가 여기 해당합니다

선언

function AcquireFontDecoderForDict(FontDict: THPDFDictionaryObject; const ResourceName: AnsiString; out ADecoder: THPDFFontDecoder): boolean;

유닛

HPDFDoc

매개변수

이름목적
FontDict디코딩할 font dictionary
ResourceNamecontent stream이 Tf로 폰트를 고를 때 쓰는 리소스 이름
ADecoder폰트의 character code를 Unicode와 폭으로 대응시키는 디코더를 받습니다

반환 값

디코더를 만들 수 있었으면 True입니다

사용 참고 사항

관련 API