CffEncoding

개요

CffEncoding은(는) Aspose.Font FOSS의 Python용 클래스입니다. 상속 대상: FontEncoding.

CffEncoding.unicode_to_gid(codepoint)는 현재 CFF 인코딩에 따라 Unicode 코드 포인트에 대한 GlyphId을 반환합니다.

이 클래스는 Python 프로그램에서 CffEncoding 객체를 다루기 위한 5개의 메서드를 제공합니다. 사용 가능한 메서드: expert, from_reader, get_all_codepoints, standard, unicode_to_gid. Aspose.Font FOSS for Python 패키지를 설치한 후에는 모든 Python 애플리케이션에서 모든 공개 멤버에 접근할 수 있습니다.

메서드

시그니처설명
from_reader(r: BinaryReader, num_glyphs: int, charset: CffCharset, string_index: CffIndex) → "CffEncoding"주어진 글리프 수, 문자 집합, 문자열 인덱스를 사용하여 BinaryReader에서 읽어 인코딩을 생성합니다.
standard(charset: CffCharset) → "CffEncoding"제공된 문자 집합에 맞게 구성된 표준 CFF 인코딩을 반환합니다.
expert(charset: CffCharset) → "CffEncoding"제공된 문자 집합에 맞게 구성된 전문가용 CFF 인코딩을 반환합니다.
unicode_to_gid(codepoint: int) → GlyphId현재 CFF 인코딩에 따라 유니코드 코드포인트에 대한 GlyphId을 반환합니다.
get_all_codepoints() → list[int]모든 코드포인트를 반환합니다.

참조

 한국어