nanogui: TTF support in Nanox
Subject:
TTF support in Nanox
From:
Vidya Srinivas ####@####.####
Date:
13 Feb 2003 05:15:25 -0000
Message-Id: <03021310431101.01415@vidya>
Hi,
We are using Nanox for our application. We need a multilingual display. For
that we are using True Type font support.
We are using a cross compiler (ppc_405-gcc) for compilation.
Actually, earlier we were using win32API(mwin) and just we had cross compiled
mwin and freetype-1.3.1 libraries to achieve this support. But in nanox the
same thing is not working.
We need this kannada language support for which we are using kpnews.ttf.
what we have done is:
char strkan[20] = {0xd1,0xe6,0x6d,0xe9,' ',0x40,0xae,0xe9,'\0'};
fontid = GrCreateFont("/usr/local/kpnews.ttf",20,NULL);
GrSetGCFont(gc,fontid);
GrText(w, gc, 10, 30, strkan,-1,GR_TFASCII);
We have given the path where this kpnews.ttf is present. Is it that we should
not use GR_TFASCII ?????
I read one of the responses in mailing list where it has been mentioned that
for Chinese character, big5 support is used. Is it that we have to use
something else other than TrueType font support.
Please help us in this regard as early as possible.
--
VIDYA.S
Sr. Design Engineer
EMBEDDED SOFTWARE GROUP
BPL TELECOM
BANGALORE
Ph- 6589080 extn. 2005