[tuhopuu-devel] Re: [tuhopuu-cvs] CVS commit: tuhopuu3/source/blender/blenkernel BKE_font.h BKE_global.h tuhopuu3/source/blender/blenkernel/intern blender.c font.c tuhopuu3/source/blender/blenlib BLI_vfontdata.h tuhopuu3/source/blender/blenlib/intern freetypefont.c psfont.c tuhopuu3/source/blender/blenloader/intern ...

Jiri Hnidek jiri.hnidek at vslib.cz
Sat Mar 5 12:57:24 CET 2005


Hi Rob,
I don't have defined $(INTERNATINA)L and compilation was ended with 
these errors:

/home/karel/blender/tuhopuu3/tuhopuu3/obj/linux-glibc2.3.3-i386/blender/src/libsrcpublisher.a(interface_draw.o)(.text+0x7b55): 
In function `ui_draw_but_CHARTAB':
/home/karel/blender/tuhopuu3/tuhopuu3/source/blender/src/interface_draw.c:2427: 
undefined reference to `FTF_SetFont'
/home/karel/blender/tuhopuu3/tuhopuu3/obj/linux-glibc2.3.3-i386/blender/src/libsrcpublisher.a(interface_draw.o)(.text+0x7cef):/home/karel/blender/tuhopuu3/tuhopuu3/source/blender/src/interface_draw.c:2469: 
undefined reference to `FTF_GetStringWidth'
/home/karel/blender/tuhopuu3/tuhopuu3/obj/linux-glibc2.3.3-i386/blender/src/libsrcpublisher.a(interface_draw.o)(.text+0x7d18):/home/karel/blender/tuhopuu3/tuhopuu3/source/blender/src/interface_draw.c:2470: 
undefined reference to `FTF_GetBoundingBox'
/home/karel/blender/tuhopuu3/tuhopuu3/obj/linux-glibc2.3.3-i386/blender/src/libsrcpublisher.a(interface_draw.o)(.text+0x7d9f):/home/karel/blender/tuhopuu3/tuhopuu3/source/blender/src/interface_draw.c:2480: 
undefined reference to `FTF_DrawString'
collect2: ld returned 1 exit status
make[1]: *** 
[/home/karel/blender/tuhopuu3/tuhopuu3/obj/linux-glibc2.3.3-i386/bin/blender] 
Error 1
make: *** [all] Error 1

... your commit breaks compilation!

Jiri

>phase (Rob Haarsma ) 2005/03/05 02:33:21 CET
>
>  Modified files:
>    tuhopuu3/source/blender/blenkernel BKE_font.h BKE_global.h 
>    tuhopuu3/source/blender/blenkernel/intern blender.c font.c 
>    tuhopuu3/source/blender/blenlib BLI_vfontdata.h 
>    tuhopuu3/source/blender/blenlib/intern freetypefont.c psfont.c 
>    tuhopuu3/source/blender/blenloader/intern writefile.c 
>    tuhopuu3/source/blender/include BIF_editfont.h BIF_interface.h 
>                                    butspace.h 
>    tuhopuu3/source/blender/makesdna DNA_curve_types.h 
>    tuhopuu3/source/blender/src buttons_editing.c editfont.c 
>                                interface.c interface_draw.c 
>  Added files:
>    tuhopuu3/source/blender/include unicodect.h 
>  
>  Log:
>  Introducing 3D Unicode font support.
>  
>  When you add a Text and go in editmode, a second panel will appear in the Font panel,
>  here you can add characters from unicode tables to the text. There is also a button
>  to copy the content of a (unicode) textfile to a 3D font object.
>  
>  Beware that this is an initial version, mainly committed so Mika Saari and I can work
>  on this together ;-) It is fully functional, but there are two major issues;
>  
>  - If you work with Text objects, it is not safe to use AA fonts for the interface.
>  
>  - When you load a font for a Text object, Blender eats a lot of memory.
>  
>  To compile, you need to #define INTERNATIONAL.
>  
>



More information about the tuhopuu-devel mailing list