Type2Interpreter

Type2Interpreter

개요

Type2Interpreter 파이썬의 Aspose.Font FOSS에서 클래스입니다.

2형의 charstrings를 GlyphPath 명령어로 해석합니다.

이 클래스는 파이썬 프로그램에서 Type2Interpreter 객체와 작업하는 2가지 방법을 제공합니다. 이용 가능한 방법에는 다음이 포함됩니다.: __init__, interpret. 모든 퍼블릭 멤버들은 파이썬 패키지 Aspose.Font FOSS를 설치한 후, 어떤 파이톤 애플리케이션에도 접근할 수 있습니다.

방법들

Signature설명
__init__(global_subrs: CffIndex, local_subrs: CffIndex, default_width_x: int, nominal_width_x: int)Calls init (연결) 이 Type2Interpreter 사례에서.
interpret(charstring: bytes, gid: int)tuple[GlyphPath, int]2 타입의 차스트링을 분석하고 GlyphPath 객체의 튜플과 소비된 바이트 수를 반환합니다.

이 부분도 참조하십시오.

 한국어