Skip to content

Hardcoded font path failure #1

@ACodingfreak

Description

@ACodingfreak

OS: Centos7

./rfc2kindle.py -i rfc7379.txt

Unable to find font: /usr/share/cups/fonts/Courier
Convert IETF RFC TXT file to HTML for kindlegen
-h --help This message
-i --input input file
Traceback (most recent call last):
File "./rfc2kindle.py", line 219, in
main()
File "./rfc2kindle.py", line 104, in main
usage()
File "./rfc2kindle.py", line 22, in usage
print "-f --font font file to use for monospace images (default:%s)" % defaultfont
NameError: global name 'defaultfont' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions