/usr/lib/python3.13/site-packages/weasyprint/text/fonts.py:70: UserWarning: No fonts configured in FontConfig. Expect ugly output. warn('No fonts configured in FontConfig. Expect ugly output.') usage: weasyprint [-h] [-i] [--version] [-s STYLESHEETS] [-a ATTACHMENTS] [--attachment-relationship ATTACHMENT_RELATIONSHIPS] [--pdf-identifier PDF_IDENTIFIER] [--pdf-variant {pdf/a-1b,pdf/a-2b,pdf/a-3b,pdf/a-2u,pdf/a-3u,pdf/a-4u,pdf/a-1a,pdf/a-2a,pdf/a-3a,pdf/a-4e,pdf/a-4f,pdf/ua-1,pdf/ua-2,pdf/x-1a,pdf/x-3,pdf/x-4,pdf/x-5g,debug}] [--pdf-version PDF_VERSION] [--pdf-forms] [--pdf-tags] [--uncompressed-pdf] [--xmp-metadata XMP_METADATA] [--custom-metadata] [--output-intent OUTPUT_INTENT] [-p] [--optimize-images] [-j JPEG_QUALITY] [-D DPI] [--full-fonts] [--hinting] [-c CACHE] [-e ENCODING] [-m MEDIA_TYPE] [-u BASE_URL] [-t TIMEOUT] [--allowed-protocols ALLOWED_PROTOCOLS] [--no-http-redirects] [--fail-on-http-errors] [-v | -d | -q] input output Render web pages to PDF. positional arguments: input URL or filename of the HTML input, or - for stdin output filename where output is written, or - for stdout options: -h, --help show this help message and exit -i, --info print system information and exit --version print WeasyPrint’s version number and exit rendering options: -s, --stylesheet STYLESHEETS URL or filename for a user CSS stylesheet -a, --attachment ATTACHMENTS URL or filename of a file to attach to the PDF document --attachment-relationship ATTACHMENT_RELATIONSHIPS Relationship of the attachment file to attach to the PDF --pdf-identifier PDF_IDENTIFIER PDF file identifier --pdf-variant {pdf/a-1b,pdf/a-2b,pdf/a-3b,pdf/a-2u,pdf/a-3u,pdf/a-4u,pdf/a-1a,pdf/a-2a,pdf/a-3a,pdf/a-4e,pdf/a-4f,pdf/ua-1,pdf/ua-2,pdf/x-1a,pdf/x-3,pdf/x-4,pdf/x-5g,debug} PDF variant to generate --pdf-version PDF_VERSION PDF version number --pdf-forms include PDF forms --pdf-tags tag PDF for accessibility --uncompressed-pdf do not compress PDF content, mainly for debugging purpose --xmp-metadata XMP_METADATA URL or filename of a file to include into the XMP metadata --custom-metadata include custom HTML meta tags in PDF metadata --output-intent OUTPUT_INTENT srgb, device-cmyk, or CSS identifier of the output intent color space -p, --presentational-hints follow HTML presentational hints --optimize-images optimize size of embedded images with no quality loss -j, --jpeg-quality JPEG_QUALITY JPEG quality between 0 (worst) to 95 (best) -D, --dpi DPI set maximum resolution of images embedded in the PDF --full-fonts embed unmodified font files when possible --hinting keep hinting information in embedded fonts -c, --cache-folder CACHE store cache on disk instead of memory, folder is created if needed and cleaned after the PDF is generated HTML options: -e, --encoding ENCODING force the input character encoding -m, --media-type MEDIA_TYPE media type to use for @media, defaults to print -u, --base-url BASE_URL base for relative URLs in the HTML input, defaults to the input’s own filename or URL or the current directory for stdin URL fetcher options: -t, --timeout TIMEOUT set timeout in seconds for HTTP requests --allowed-protocols ALLOWED_PROTOCOLS only authorize comma-separated list of protocols for fetching URLs --no-http-redirects do not follow HTTP redirects --fail-on-http-errors abort document rendering on any HTTP error command-line logging options: -v, --verbose show warnings and information messages -d, --debug show debugging messages -q, --quiet hide logging messages