{"id":209,"date":"2006-05-27T19:17:57","date_gmt":"2006-05-27T16:17:57","guid":{"rendered":"http:\/\/www.void.gr\/kargig\/blog\/2006\/05\/27\/fixing-openoffice-crash-with-font-drop-down-menu\/"},"modified":"2006-05-27T19:17:57","modified_gmt":"2006-05-27T16:17:57","slug":"fixing-openoffice-crash-with-font-drop-down-menu","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2006\/05\/27\/fixing-openoffice-crash-with-font-drop-down-menu\/","title":{"rendered":"Fixing openoffice crash with font drop down menu"},"content":{"rendered":"<p>Lately my openoffice installation suffered from severe crashes. Anytime I wanted to pick a font from the drop down menu it crashed. It didn&#8217;t matter if it was oowriter2 or oocalc2 or whatever, it just crashed. I dedided that today was the day to fix this, so I started checking how OpenOffice reads the fonts of the system and created its font menu. <\/p>\n<p>My first thought was that it read the fonts from my xorf.conf. So I started messing up with those. I ended up by cleaning some fontpaths I did not use any more but that was no fix for OpenOffice. Then it was time to start cleaning up the fontpaths that I had kept. My \/usr\/share\/fonts\/TTF\/ dir was kinda large&#8230;so I started moving fonts from that dir to another named \/usr\/share\/fonts\/TTF-old\/ and tried to keep inside \/usr\/share\/fonts\/TTF\/ only the fonts I thought were good enough to keep. After a few X server restarts&#8230;the problem was gone. No more crashes. <\/p>\n<p>But there was something weird going on at the same time. My xorg.conf only included the \/usr\/share\/fonts\/TTF\/ fontpath and not \/usr\/share\/fonts\/TTF-old\/, still though some fonts from \/usr\/share\/fonts\/TTF-old\/ appeared inside the ooffice2 font drop-down menu. I started searching around and found that \/etc\/fonts\/fonts.conf included the whole \/usr\/share\/fonts\/ path. That meant that many applications read the fonts from \/usr\/share\/fonts\/TTF-old\/ too!<br \/>\nI removed \/usr\/share\/fonts\/ path from fonts.conf and replaced it with the fontpaths I use in xorg.conf too.<\/p>\n<p>The result ? Everything works smoothly now. I can even see (or imagine) a small perfomance gain in some applications now that I don&#8217;t have that many fonts loaded.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lately my openoffice installation suffered from severe crashes. Anytime I wanted to pick a font from the drop down menu it crashed. It didn&#8217;t matter if it was oowriter2 or oocalc2 or whatever, it just crashed. I dedided that today was the day to fix this, so I started checking how OpenOffice reads the fonts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-209","post","type-post","status-publish","format-standard","hentry","category-linux"],"aioseo_notices":[],"views":4267,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=209"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/209\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}