[Python-modules-team] Bug#610390: pisa doesn't support non-latin symbols
Drew Parsons
dparsons at debian.org
Mon Jan 20 09:18:41 GMT 2020
Package: python3-xhtml2pdf
Version: 0.2.2-5
Followup-For: Bug #610390
Control: forwarded -1 https://github.com/xhtml2pdf/xhtml2pdf/issues/11
This bug is reported upstream, see
https://github.com/xhtml2pdf/xhtml2pdf/issues/11
and
https://github.com/xhtml2pdf/xhtml2pdf/issues/345
etc.
Apparently it happens because xhtml2pdf only recognises a very limited
set of fonts, see documentation at
https://xhtml2pdf.readthedocs.io/en/latest/reference.html#fonts
- only Times-Roman: Times New Roman, Times, Georgia, serif
Helvetica: Arial, Verdana, Geneva, sansserif, sans
Courier: Courier New, monospace, monospaced, mono
ZapfDingbats
Symbol
You may be able to push it further using css definition of other fonts,
see https://github.com/xhtml2pdf/xhtml2pdf/issues/11#issuecomment-288477301
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-xhtml2pdf depends on:
ii python3 3.7.5-3
ii python3-html5lib 1.0.1-1
ii python3-httplib2 0.14.0-1
ii python3-pil 7.0.0-3
ii python3-pypdf2 1.26.0-3
ii python3-reportlab 3.5.31-1
ii python3-six 1.13.0-1
python3-xhtml2pdf recommends no packages.
python3-xhtml2pdf suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list