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
>
_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to