On Wed, 13 Jun 2012 16:25:23 +0300 Tom Hacohen <[email protected]> said:
> On 13/06/12 16:17, Vincent Torri wrote:
> >> typedef struct _Evas_Text_Cell
> >> {
> >> int glyph;
> >> unsigned char fg, bg;
> >> unsigned short bold : 1;
> >> unsigned short italic : 1;
> >> unsigned short underline : 1;
> >> unsigned short strikethrough : 1;
> >> unsigned short fg_extended : 1;
> >> unsigned short bg_extended : 1;
> >> } Evas_Text_Cell;
> >
> > hmmm, Glyph is what ? In my previous Textgrid object, I used an
> > Eina_Unicode, which is a wchar_t (32 bits on unix, 16 bits on windows)
> > if wchar_t is available, and un unsigned int (or uint32_t) otherwise.
>
> Glyph is an index of a specific char in a font file, don't use it, as
> it's not the same for all characters across font files. You should use
> Eina_Unicode as did before.
no. as this is insufficient. you need. you want an int.
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) [email protected]
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel