4 Apr

LibreOffice impress crashes at the click of show button

With some certain files, my LibreOffice impress crashes every time when I click the show button. I started LibreOffice in the terminal in order to catch some error message. I got the following report:

soffice.bin: cairo-ft-font.c:576: _cairo_ft_unscaled_font_create_internal: Assertion `unscaled->base.hash_entry.hash == key.base.hash_entry.hash' failed.

It seems that it has something to do with fonts. I did some tests and found that it is the Chinese font “黑体” from MS powerpoint that caused the crash. The solution is to copy windows’ fonts to LO’s config directory.

specifically:

  1. create a new folder ” fonts ” under .config/libreoffice/4/user
  2. copy all files from C:\Windows\Fonts to .config/libreoffice/4/user/fonts

 

 

Leave a Reply