24 lines
453 B
Python
24 lines
453 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class FontInfoResponse(BaseModel):
|
|
fontName: str
|
|
type: str
|
|
isEmbedded: bool
|
|
isSubset: bool
|
|
isVertical: bool
|
|
encoding: str
|
|
hasToUnicode: bool
|
|
cmapName: str
|
|
cidSystemInfo: str
|
|
subsetTag: str
|
|
sourceType: str
|
|
substitutedFrom: str
|
|
substitutedTo: str
|
|
normalizedFamily: str
|
|
internalFontId: str
|
|
flags: int
|
|
ascent: float
|
|
descent: float
|
|
capHeight: float
|