PrivateDict
Overview
PrivateDict is a class in Aspose.Font FOSS for Python.
PrivateDict.from_dict(d) creates a PrivateDict instance from a dictionary containing private dict entries such as default_width_x and nominal_width_x.
This class provides 1 method for working with PrivateDict objects in Python programs.
Available methods include: from_dict.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: default_width_x, nominal_width_x, std_hw, std_vw, subrs_offset.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
default_width_x | int | Read/Write | Gets or sets the default width x. |
nominal_width_x | int | Read/Write | Gets or sets the nominal width x. |
std_hw | float | Read/Write | Gets or sets the std hw. |
std_vw | float | Read/Write | Gets or sets the std vw. |
subrs_offset | int | Read/Write | Gets or sets the subrs offset. |
Methods
| Signature | Description |
|---|---|
from_dict(d: CffDict) → "PrivateDict" | Creates a PrivateDict instance from a dictionary containing private dict entries such as default_width_x and nominal_width_x |