Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[directfb-users] Re: How to control size, style and other attributes of fonts on widgets
Hi,
first of, please don't cross-post on multiple mailing-list. It is
almost impossible for anyone to respond to your questions since that
would require to be subscribed to all these lists. Cross-posting is a
clear violation of the netiquette. You aren't doing yourself a favor
by doing that.
bheemesh <bheemesh@prodigylabs.com> writes:
> I have installed gtk+-directfb, with pango-1.2.5 for rendering text.
> I am trying to render indic & other Opentype fonts in my appln.
>
> I am able to display all of them, using
> gtk_button_with_mnemonic(UTF-8 string)
>
> i want to know, how a UTF-8 string is getting mapped onto a proper
> .ttf font file, as i am not explisitely mentioning any font related
> details or library.
Pango and fontconfig do this for you in a non-trivial fashion. What
exactly do you want to know?
> However if i use pango_layout_set_text(), and gtk_draw_layout() ,
> nothing is getting displayed.
You are doing something wrong then. Please show us some example code.
Sven
--
Info: To unsubscribe send a mail to ecartis@directfb.org with
"unsubscribe directfb-users" as subject.
Home |
Main Index |
Thread Index