Le Mon, May 27, 2002, à 11:13:00AM +0800, Zhang Lin-bo a écrit:
> I have just realized that the sample diagram in my last email is
> irrelevant, dia crashes whenever one tries to add a text object,
> e.g.:
>
> File->New diagram->(click "T")->(click on the diagram) ==> segfault
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x080b3481 in font_getfont_with_style (name=0x80e14c0 "Courier",
> style=0x80e27bd "Regular") at font.c:1060
> 1060 for (faces = fonts->diafonts; faces != NULL; faces = g_list_next(faces)) {
Oh !
Please try to edit po/zh_CN.po.
Look for 'msgid "Courier"', and on the next line, write 'msgstr "Courier"'
instead of whatever is there. Repeat for Helvetica.
It's not Freetype.
-- Cyrille
--
Grumpf.