Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] problem with texmacs use ibus

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] problem with texmacs use ibus


Chronological Thread 
  • From: 张启德(Zhang Qide) <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] problem with texmacs use ibus
  • Date: Fri, 23 Mar 2012 13:14:05 +0800

2012/3/23 Miguel de Benito Delgado <address@hidden>:
> Hi,
>
>  this error:
>
>
> 张启德(Zhang Qide) wrote:
>>
>> TeXmacs] Fatal error, true type support was disabled
>
>
> means that the FreeType library was not linked into TeXmacs. When you
> compiled, you had to go to the "src" directory and type "./configure" first,
> right? What options did you choose?
>
> Usually none is required to use this library, so either you explicitly chose
> not to link it (with "./configure --with-freetype=no") which I doubt, or it
> simply is not present in your system. Try looking for it in the package
> manager of your system or "sudo apt-get install freetype" or something like
> that, then start the build process again:

Wonderful! After using aptitude to install libfreetype6-dev on debian squeeze
and build again, I get it works with Chinese. It seems that I have
installed wrong
packages (freetype2-demos) before!
>
> cd [path to the texmacs sources]/src
> ./configure  [with some options you choose]
> grep USE_FREETYPE *
>
> This should output something like:
>
> config.log:| #define USE_FREETYPE 1
> config.log:| #define USE_FREETYPE 1
> config.log:| #define USE_FREETYPE 1
> config.log:| #define USE_FREETYPE 1
> config.log:| #define USE_FREETYPE 1
> config.log:#define USE_FREETYPE 1
> config.status:D["USE_FREETYPE"]=" 1"
> configure:$as_echo "#define USE_FREETYPE 1" >>confdefs.h
> configure.in:    AC_DEFINE(USE_FREETYPE, 1, [Use freetype library])
>
> Now you can type
>
> make -jN
>
> where N is the number of cores (x2 if you have hyperthreading). In my case
> (intel i3) it's "make -j4". If you are fortunate, it can be "make -j12"

I learn some build skills from here! In my case(Intel Celeron) it's
make -j2. :-)
Thank you!

Attachment: No name [1]_001.png
Description: PNG image




Archive powered by MHonArc 2.6.19.

Top of Page