Re: [Texmacs-dev] patch: make input methods work in Qt-TeXmacs
From:
Zou Hu
Subject:
Re: [Texmacs-dev] patch: make input methods work in Qt-TeXmacs
Date:
Sun, 12 Sep 2010 14:03:16 +0800 (CST)
Under windows, use_locate=false. Therefore truetype fonts such as CJK fonts could not be found in tt_file.cpp. But you are right, it would to better to just move these two lines url tt_path= search_sub_dirs ("$TEXMACS_HOME_PATH/fonts/truetype");
return resolve (tt_path * name); out of the "else if" body. This way would be cleaner and also make it works under Windows.
>For the locate patch a better alternative should be found. A priori use_locate is true only >if /bin/locate is available on the system (see init_texmacs.cpp:280) so I do not understand >why you need to comment it. In any case a ifdef would be better.
>Best >Massimiliano >