nanogui: Supporting open type fonts
Subject:
Supporting open type fonts
From:
Raghu Ram Murthy ####@####.####
Date:
6 Apr 2004 18:05:25 +0100
Message-Id: <20040406170448.12800.qmail@web60303.mail.yahoo.com>
Hi,
I used the following code.
font_d = GrCreateFont ("latha", 30, NULL);
GrSetGCFont (gc, font_d);
GrText (wid, gc, 20, 100, "\340\256\262", 3,
GR_TFUTF8);
I placed latha.ttf file in the correct folder and it
is open type file.
But nano-x is not displaying anything. What might be
the problem?
Thank you
=====
-----------------------------------------
P.Raghu Ram Murthy, M-tech (Computer Science),
Room No - 245,
Brahmaputra Hostel,
Indian Institute of Technology Madras,
Chennai - 36.
Mobile: (0) 98402 81944
------------------------------------------
---------------------------------
Trouble with windows? Re boot....
Trouble with Linux? Be root....
---------------------------------
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/