Apache OpenOffice (AOO) Bugzilla – Issue 5060
Bad fonts can make OO 1.0 crash
Last modified: 2004-11-25 17:38:13 UTC
I've added some fonts to the fontpath of my X11 server. Amongst them there are some bad fonts. If I open an existing Excel document (from M$ excel 2000) OO stores some information about one or more of these fonts in the file ~/OpenOffice.org1.0/user/psprint/pspfontcache. Next time I try to open a whatever document OO crashes. The solution is to remove these bad fonts :) and the cache file.
TM->US: Just another font-problem. Please have a look, thanks !
"Some bad fonts" is not a qualified description. If they are really bad, then delete them! If they do not meet the TrueType specification, then which parts of the specification are violated by the font? At least pls. attach the fonts to this bug. Thank you. If you had mentioned at least the font names, we could have determined if your problem was perhaps already fixed and available with the next OOo release.
Created attachment 2137 [details] PostScript Type 1 font program data
Created attachment 2138 [details] ASCII font metrics
Created attachment 2139 [details] OpenOffice pspfontcache before crash
Created attachment 2140 [details] pspfontcache
;-) If I had known they were bad be sure they would have been zapped immediately. However I think that OO should not crash for such a reason. > If they do not meet the TrueType specification, then which parts of > the specification are violated by the font? > > At least pls. attach the fonts to this bug. Thank you. > > If you had mentioned at least the font names, we could have determined > if your problem was perhaps already fixed and available with the next > OOo release. I agree. My report was too much "generic", but I had no time to investigate the bug further. I sent the report (may be 40 days ago) in the hope it would have been useful anyway. I thought (maybe naively) that there should be a way to check the font file before storing a reference to it in the font pspfontcache file. I.e. a way to keep "bad fonts" out. Today I took a deeper look at the problem. The bad fonts are enclosed togetherwith the pspfontcache before I open the xls file from Office 2000 and after the file is closed (open/close is enough). The pspfontcache.after causes the OO crash. So to reproduce the problem: - put the fonts in a directory in the font path of your X server. - open an xls file from Excel 2000 with OO calc - close OO calc. - reopen OO calc and it will crash.
HDU->PL problem with font discovery
I cannot reproduce the crash with the attached font, neither in current nor in Ooo 1.0.1. However since Ooo 1.0.1 is the current release: could you confirm, that the bug still occurs ? There was a bug involving pspfontcache that was fixed with 1.0.1 though that was not a crash. Also other changes were made in that area.
I tried to reproduce this bug using Oo 1.0.1 The problem does not arise anymore. I noticed that the defective arial.pfb font is no more included in the pspfontcache file. Thanks, -gp
It would seem that the problem is solved with the printing fixes in 1.0.1, therefore i'll close this issue.
closing