{"id":335,"date":"2018-04-04T04:42:25","date_gmt":"2018-04-04T12:42:25","guid":{"rendered":"https:\/\/www.actinia.me\/?p=335"},"modified":"2018-04-04T04:42:49","modified_gmt":"2018-04-04T12:42:49","slug":"libreoffice-impression-crashes-at-the-click-of-show-button","status":"publish","type":"post","link":"https:\/\/www.actinia.me\/?p=335","title":{"rendered":"LibreOffice impress crashes at the click of show button"},"content":{"rendered":"<p>With some certain files, my LibreOffice\u00a0impress crashes every time when I\u00a0click the show button. I started LibreOffice in the terminal in order to catch some error message. I got the following report:<\/p>\n<p><span style=\"color: #3366ff;\"><code>soffice.bin: cairo-ft-font.c:576: _cairo_ft_unscaled_font_create_internal: Assertion `unscaled-&gt;base.hash_entry.hash == key.base.hash_entry.hash' failed.<\/code><\/span><\/p>\n<p>It seems that it has something to do with fonts. I did some tests and found that it is the Chinese font &#8220;\u9ed1\u4f53&#8221; from MS powerpoint that caused the crash. The solution is to copy windows&#8217; fonts to LO&#8217;s config directory.<\/p>\n<p>specifically:<\/p>\n<ol>\n<li>create a new folder &#8221; fonts &#8221; under <code>.config\/libreoffice\/4\/user<\/code><\/li>\n<li>copy all files from <code>C:\\Windows\\Fonts<\/code> to\u00a0<code>.config\/libreoffice\/4\/user\/fonts<\/code><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With some certain files, my LibreOffice\u00a0impress crashes every time when I\u00a0click 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-&gt;base.hash_entry.hash == key.base.hash_entry.hash&#8217; failed. It seems that it has something to do with fonts. I did some tests and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts\/335"}],"collection":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=335"}],"version-history":[{"count":2,"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts\/335\/revisions"}],"predecessor-version":[{"id":337,"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts\/335\/revisions\/337"}],"wp:attachment":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}