[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users-jp 00331] Re: Segmentation fault



>itojun> 	$B3N$+$K$*$A$^$9!#3NG'$G$9$,(Bfreetype$B$r$*$D$+$$$G$9$M(B?
>$B$O$$!%$G$b%U%)%s%H$,$J$$$N$G!$$[$C$?$i$+$7$G$9$,!$(B
>$B%5%]!<%H$O$"$j$G!$(Bconfigure$B$7$F$$$^$9!%(B

	freetype$B$H$$$&$+(Bvflib$B$N%3!<%I$,LdBj$G$7$?!#$3$l$GG!2?(B?

itojun


---
Index: font.c
===================================================================
RCS file: /home/wide/itojun/cvsroot/mgp/kit/font.c,v
retrieving revision 1.18
diff -c -r1.18 font.c
*** font.c	1998/09/04 15:06:55	1.18
--- font.c	1998/10/15 11:58:37
***************
*** 326,333 ****
  	char_len = max_x - min_x + 2;
  	vfc->xoff = min_x;
  	vfc->charlen = char_len;
- 	vfc->ascent = height * (VF_DESCENT - 1) / VF_DESCENT;
  	vfc->descent = height / VF_DESCENT;
  
  	VFC_INSHASH(vfc);
  	VFC_INSLRU(vfc);
--- 326,333 ----
  	char_len = max_x - min_x + 2;
  	vfc->xoff = min_x;
  	vfc->charlen = char_len;
  	vfc->descent = height / VF_DESCENT;
+ 	vfc->ascent = vfc->height - vfc->descent;
  
  	VFC_INSHASH(vfc);
  	VFC_INSLRU(vfc);