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



--- On Mon, 2/13/12, suzuki toshiya <mpsuzuki hiroshima-u ac jp> wrote:

> Ahhhh... 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
> "\uXXXX" expression should bet used for the codepoints out
> of BMP at present.
> For first trial, I recommend to use PUA codepoints in BMP,
> U+E000 - U+F8FF,
> to check if "PUA" is the root of trouble, or non-BMP is the
> root of trouble.

I tried with F09B and it worked fine. Yes, 10005 is the hexadecimal value I gave you. I just used one of the random empty slots to test this.

I am just trying to understand how I can choose a random code, map a glyph to that code and then display the glyph by invoking it from a C program that is based on gtk.

Does pango simply load the font file and pull up a glyph based on whatever value I feed it? Can I bypass the gtk function and directly deal with pango or is this not possible?

-Ferdinand


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]