PDF: Add support for line height (#3066)

Co-authored-by: Raphael Michel <michel@rami.io>
This commit is contained in:
Richard Schreiber
2023-02-02 19:07:10 +01:00
committed by GitHub
parent 7b301b6027
commit b4e372ce04
4 changed files with 45 additions and 17 deletions

View File

@@ -240,7 +240,19 @@
"pattern": "[a-zA-Z-]*"
},
"fontsize": {
"description": "Font size.",
"description": "Font size",
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$"
}
]
},
"lineheight": {
"description": "Line height",
"oneOf": [
{
"type": "number"