* any hints how to add new glyph-types?
@ 2008-04-06 11:03 joakim
2008-04-06 19:02 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: joakim @ 2008-04-06 11:03 UTC (permalink / raw)
To: emacs-devel
I'm reading the display code trying to understand how to add a new glyph
type. It's not completely obvious.
Any hints how to add a new glyph type, somewhat similar to images?
--
Joakim Verona
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: any hints how to add new glyph-types?
2008-04-06 11:03 any hints how to add new glyph-types? joakim
@ 2008-04-06 19:02 ` Eli Zaretskii
2008-04-06 21:14 ` joakim
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2008-04-06 19:02 UTC (permalink / raw)
To: joakim; +Cc: emacs-devel
> From: joakim@verona.se
> 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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: any hints how to add new glyph-types?
2008-04-06 19:02 ` Eli Zaretskii
@ 2008-04-06 21:14 ` joakim
0 siblings, 0 replies; 3+ messages in thread
From: joakim @ 2008-04-06 21:14 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
>> From: joakim@verona.se
>> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-06 21:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-06 11:03 any hints how to add new glyph-types? joakim
2008-04-06 19:02 ` Eli Zaretskii
2008-04-06 21:14 ` joakim
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.