mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-02-17 13:52:14 +01:00
🤖 format everything with pre-commit by stirlingbot (#5538)
Auto-generated by [create-pull-request][1] with **stirlingbot** [1]: https://github.com/peter-evans/create-pull-request --------- Signed-off-by: stirlingbot[bot] <stirlingbot[bot]@users.noreply.github.com> Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com> Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
This commit is contained in:
@@ -509,18 +509,20 @@ Examples:
|
||||
|
||||
# Positional arguments (backward compatibility):
|
||||
convert_cff_to_ttf.py font.cff font.otf mapping.tounicode
|
||||
"""
|
||||
""",
|
||||
)
|
||||
|
||||
# Add named arguments
|
||||
parser.add_argument('--input', dest='input_file', help='Input CFF file path')
|
||||
parser.add_argument('--output', dest='output_file', help='Output OTF file path')
|
||||
parser.add_argument('--to-unicode', dest='tounicode_file', help='ToUnicode mapping file path')
|
||||
parser.add_argument("--input", dest="input_file", help="Input CFF file path")
|
||||
parser.add_argument("--output", dest="output_file", help="Output OTF file path")
|
||||
parser.add_argument(
|
||||
"--to-unicode", dest="tounicode_file", help="ToUnicode mapping file path"
|
||||
)
|
||||
|
||||
# Add positional arguments for backward compatibility
|
||||
parser.add_argument('input_pos', nargs='?', help='Input CFF file (positional)')
|
||||
parser.add_argument('output_pos', nargs='?', help='Output OTF file (positional)')
|
||||
parser.add_argument('tounicode_pos', nargs='?', help='ToUnicode file (positional)')
|
||||
parser.add_argument("input_pos", nargs="?", help="Input CFF file (positional)")
|
||||
parser.add_argument("output_pos", nargs="?", help="Output OTF file (positional)")
|
||||
parser.add_argument("tounicode_pos", nargs="?", help="ToUnicode file (positional)")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user