CidTextCodec
CidTextCodec
Genel Bakış
CidTextCodec, Aspose.PDF FOSS içinde Python için bir sınıftır.
Bileşik (Type0) fontun gösterim dizgileri için kod çözücü.
Bu sınıf, Python programlarında CidTextCodec nesneleriyle çalışmak için 4 yöntem sağlar. Mevcut yöntemler şunlardır: __init__, decode_units, decoded_text, encode. Tüm genel üyeler, Aspose.PDF FOSS for Python paketini kurduktan sonra herhangi bir Python uygulaması tarafından erişilebilir. Özellikler: code_to_text.
Özellikler
| Ad | Tür | Erişim | Açıklama |
|---|---|---|---|
code_to_text | `` | Okuma | Kodu metne alır. |
Yöntemler
| İmza | Açıklama |
|---|---|
| `init(code_to_text: Mapping[bytes, str], codespaces: Iterable[tuple[bytes, bytes]] | None, valid_codes: Mapping[bytes, Any] |
| `decode_units(raw: bytes, budget: _LoadBudget | None)→list[tuple[int, int, str |
| `decoded_text(code: bytes | None)→str |
encode(text: str) → `bytes | None` |