Re: About the zh_CN.GB2312 locale
- From: Akira TAGOH <tagoh gnome gr jp>
- To: cyrille chepelov org
- Cc: dia-list gnome org
- Subject: Re: About the zh_CN.GB2312 locale
- Date: Tue, 28 May 2002 16:49:45 +0900 (JST)
On Mon, 27 May 2002 12:31:14 +0200,
"CC" == Cyrille Chepelov <cyrille chepelov org> wrote:
CC> 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)) {
CC> Oh !
CC> Please try to edit po/zh_CN.po.
CC> Look for 'msgid "Courier"', and on the next line, write 'msgstr "Courier"'
CC> instead of whatever is there. Repeat for Helvetica.
No, that isn't a problem.
When this code crashes, the error message should be
output. but even if this code know fonts == NULL, it was
going to get fonts->diafonts. so it crashed.
Also "Courier" font is ensured by font_data structure. so
another issue of this crashes is, dia couldn't find
"Courier" font on the machine, I guess.
--
Akira TAGOH
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]