From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: any hints how to add new glyph-types? Date: Sun, 06 Apr 2008 23:14:41 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207516766 17109 80.91.229.12 (6 Apr 2008 21:19:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2008 21:19:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 06 23:19:59 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JicHD-0008As-HS for ged-emacs-devel@m.gmane.org; Sun, 06 Apr 2008 23:19:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JicGP-0003kj-3F for ged-emacs-devel@m.gmane.org; Sun, 06 Apr 2008 17:18:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JicGH-0003iR-JV for emacs-devel@gnu.org; Sun, 06 Apr 2008 17:18:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JicG8-0003cl-Nt for emacs-devel@gnu.org; Sun, 06 Apr 2008 17:18:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JicG8-0003cg-If for emacs-devel@gnu.org; Sun, 06 Apr 2008 17:18:40 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64] helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JicFm-00057v-WC; Sun, 06 Apr 2008 17:18:21 -0400 Original-Received: from chopper (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id m36LI2ZB007270; Sun, 6 Apr 2008 23:18:03 +0200 In-Reply-To: (Eli Zaretskii's message of "Sun, 06 Apr 2008 22:02:20 +0300") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94509 Archived-At: Eli Zaretskii 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