I am using Collabora CODE build in Nextoffice. Since CODE version 4.0.1 (also in 4.0.2) I experience disappearing of the text, when a specific bold font is used (e.g. Calibri, Carlito), but for others it works. It does not matter if the font is installed on the server or not. When I have text in a cell with this font, switching bold on/off makes it disappear/appear again. Switching text font e.g. to Arial works smoothly. The last working version is CODE 4.0.0 from the commit LOOLWSD: 4.0.0 (git hash: 3c3bc88) and LOkit: Collabora Office 6.0-18 (git hash: e74e598) The same behavior for Writer, not Calc only.
*nextcloud (not nextoffice :-))
Please upload a sample file that has such invisible bold text. I tested now with font Carlito, and could see the text fine even when bold.
Created attachment 150698 [details] excel file with Calibri font
I also provide Dockerfile I use to build image (for test of adding MS fonts) FROM collabora/code:4.0.3.1 MAINTAINER Vlastimil Pecinka <xxxxxxx> EXPOSE 9980 RUN echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections RUN apt-get update \ && apt-get install -f -y --no-install-recommends --no-install-suggests \ ttf-mscorefonts-installer \ fonts-crosextra-carlito \ fonts-crosextra-caladea \ curl \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # increase ulimits RUN echo "lool soft nofile 16384" >> /etc/security/limits.conf # MS fonts #ADD fonts/* /usr/share/fonts/truetype/msttcorefonts/ #RUN fc-cache -fv RUN fc-cache CMD bash /start-libreoffice.sh
Thanks for the sample! I checked with the file in my local build, which does not have Calibri installed at all, and I could see the text even after making it bold or italic. Do you have all the font variants installed? (regular, bold, italic, bold italic)
(In reply to Aron Budea from comment #5) > Thanks for the sample! I checked with the file in my local build, which does > not have Calibri installed at all, and I could see the text even after > making it bold or italic. > Do you have all the font variants installed? (regular, bold, italic, bold > italic) Yes, I tried to install MS fonts as described in the Dockerfile example. I have also tried not to install any fonts. And voila - the issue disappeared. Note to mention that I build my docker image base on Collabora/code from hub.docker.io and added ttf-mscorefonts-installer, fonts-crosextra-carlito, fonts-crosextra-caladea that worked for 3.4.x versions... So I think this can be closed, thanks!