nanogui: TTF fonts
Subject:
TTF fonts
From:
Vidya Srinivas ####@####.####
Date:
12 Feb 2003 10:31:13 -0000
Message-Id: <03021215590301.30072@vidya>
Hi,
We are using Freetype font support for our project. Actually, we are
cross-compiling using ppc_405-gcc(PowerPC) compiler. We were earlier using
win32APIs. We had enabled Freetype support in config file and in the
application file, we had mentioned the path name in CreateFont function as
"/usr/local/arialb.ttf". We were able to use different language ttf fonts in
this way. But the same thing is not working for Nanox. Why is this?
We have given :
fontid = GrCreateFont("/usr/local/K010.ttf",20,NULL);
GrSetGCFont(gc,fontid);
But we are not able to display this hindi fonts.
We have actually cross-compiled the freetype library for our purpose.
Are we going wrong anywhere? So, if we want to use other ttf fonts for
different languages, what is the method that we have to follow?
Please reply at the earliest.
Regards,
--
VIDYA.S
Sr. Design Engineer
EMBEDDED SOFTWARE GROUP
BPL TELECOM
BANGALORE
Ph- 6589080 extn. 2005