New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install fonts-croscore
or ttf-mscorefonts-installer
into libreoffice docker image.
#13319
Comments
The fonts directory is mapped from the system into the container, so if you install these fonts in the host, they should be available during conversion. See /usr/share/bbb-libreoffice-conversion/convert-local.sh line 40 |
Ahh good to know, thanks. So, adding these as dependencies to the BBB packages or in bbb-install.sh would be enough. |
I installed lots of fonts locally on our BBB hosts and PDF->SVG conversion works now, but LibreOffice still produces bad PDFs (fonts replaced by non-matching standard fonts, missing gylphs, bad kerning). I suspect that this is because the docker container mounts |
Updated to BBB 2.3 and seeing this problem now... The standard fonts should be included in general.. |
i'm seeing weird font mixings after updating to version 2.3.14 (from 2.3.13). Was there anything Font-related changed? mscorefonts are installed. Error is for example a "e" which is rotated by 90 degree counter-clockwise. Edit: The Error seems to be endpoint / client related. So do not give it a high priority. I will test some browsers and configurations. |
Yes, it’s a regression in Google Chrome and not visible in Mozilla Firefox. |
Yes, the mangled or rotated glyphs are a recent Chrome bug and not related to this issue. Can someone please add the |
Maybe create a new issue as the issue subject is about installing additional packages? |
I have the same problem with uploaded pdf file, the characters have different spaces. |
We solved it then with following command 😄
|
Installing fonts on the host system only works if you install the exact same fonts referenced from the document, because I'd suggest either also mount |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is your feature request related to a problem? Please describe.
Presentations that use non-embedded Microsoft fonts look odd after conversion, e.g. bad kerning, jumping letters, small but noticeable visual differences.
Describe the solution you'd like
Install
fonts-croscore
(orttf-mscorefonts-installer
from debiancontrib
) while building the libreoffice docker image. This would make Microsoft fonts available to libreoffice and improve PDF creation. Perhaps also do the same in the BBB host install script, so PDF conversion (which happens on the host, not in docker) also better supports Microsoft fonts.Other font packages may also be useful. I'm just guessing here.
The text was updated successfully, but these errors were encountered: