emacs-devel
[Top][All Lists]
Advanced

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

Re: any hints how to add new glyph-types?


From: joakim
Subject: Re: any hints how to add new glyph-types?
Date: Sun, 06 Apr 2008 23:14:41 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: address@hidden
>> Date: Sun, 06 Apr 2008 13:03:47 +0200
>> 
>> Any hints how to add a new glyph type, somewhat similar to images?
>
> What's a glyph type? what other glyph types do you see in the code?

>From dispextern.h:

/***********************************************************************
                                Glyphs
 ***********************************************************************/

/* Enumeration of glyph types.  Glyph structures contain a type field
   containing one of the enumerators defined here.  */

enum glyph_type
{
  /* Glyph describes a character.  */
  CHAR_GLYPH,

  /* Glyph describes a composition sequence.  */
  COMPOSITE_GLYPH,

  /* Glyph describes an image.  */
  IMAGE_GLYPH,

  /* Glyph is a space of fractional width and/or height.  */
  STRETCH_GLYPH
};




>
-- 
Joakim Verona




reply via email to

[Prev in Thread] Current Thread [Next in Thread]