Re: Rendering a custom glyph using pango

2012-02-14 Thread Ferdinand Ramirez
--- On Tue, 2/14/12, Steve White wrote: > I'm not quite sure what you're trying to accomplish, but let My aim is simple: I want to add custom glyphs to the font file with custom codes assigned to these glyphs and display these glyphs in gtktextview when I press a key to which I map to the code

Re: Rendering a custom glyph using pango

2012-02-14 Thread Steve White
Hi Ferdinand, I'm not quite sure what you're trying to accomplish, but let me sort out a couple of points for you. (Pardon me for telling you stuff you already know.) On Tue, Feb 14, 2012 at 3:59 AM, Ferdinand Ramirez wrote: > How can I control from C code the display of a random glyph that I ha

Re: [gtk-i18n-list] Rendering a custom glyph using pango

2012-02-13 Thread suzuki toshiya
Yet I'm not in full understanding of your "a random code" term, and what you want to do... To understand how Pango selects a font, maybe playing with a demo under pango-x.y.z/pango-view/ would be most informative, I think. Also it is recommended to check pango-glyph.h for available APIs to draw a

Re: [gtk-i18n-list] Rendering a custom glyph using pango

2012-02-13 Thread Ferdinand Ramirez
--- On Mon, 2/13/12, suzuki toshiya wrote: > A... 10005 is hexadecimal expression of UCS-4 value? If > so, U+10005 > is a character in "LINEAR B SYLLABLE B001 DA". And, I'm not > sure how > "\u" expression should bet used for the codepoints out > of BMP at present. > For first trial, I re

Re: [gtk-i18n-list] Rendering a custom glyph using pango

2012-02-13 Thread suzuki toshiya
rouble. Regards, mpsuzuki > Apart from making it work, I am also curious to know which part of the code > actually loads the font file and extracts the glyph and how the code flow > occurs from gtk through pango. > > Thanks a lot, > -Ferdinand > > --- On Mon, 2/13/12, s

Re: [gtk-i18n-list] Rendering a custom glyph using pango

2012-02-13 Thread Ferdinand Ramirez
ough pango. Thanks a lot, -Ferdinand --- On Mon, 2/13/12, suzuki toshiya wrote: > From: suzuki toshiya > Subject: Re: [gtk-i18n-list] Rendering a custom glyph using pango > To: "Ferdinand Ramirez" > Cc: gtk-i18n-list@gnome.org > Date: Monday, February 13, 2012, 7:19 PM

Re: [gtk-i18n-list] Rendering a custom glyph using pango

2012-02-13 Thread suzuki toshiya
Hi, Excuse me, I think Pango does not reject the rendering for the characters at PUA codepoints, so, if you cannot find the expected result (e.g. the codepoint is displayed by unexpected/unwanted font), there is a possibility that Pango could not find the expected font when PUA codepoints are bein

Rendering a custom glyph using pango

2012-02-13 Thread Ferdinand Ramirez
How can I control from C code the display of a random glyph that I have created and added to a ttf font file with a unicode value that is in the private user area? Say I have assigned the value 2 and need to display the corresponding glyph. Can I also map a totally random code and get it to