all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Kenichi Handa <handa@m17n.org>
Cc: adrian.b.robert@gmail.com, emacs-devel@gnu.org
Subject: Re: font-backend mechanism on Windows and Mac?
Date: Sat, 15 Sep 2007 08:37:24 +0100	[thread overview]
Message-ID: <46EB8BB4.2010500@gnu.org> (raw)
In-Reply-To: <E1IWMV0-00044z-4I@etlken.m17n.org>

Kenichi Handa wrote:
> In article <46EB1FB5.40603@gnu.org>, Jason Rumney <jasonr@gnu.org> writes:
>
> Which part of comment do you mean?
>   

  /* Perform the size computation of glyphs of FONT and fillin members
     of METRICS.  The glyphs are specified by their glyph codes in
     CODE (length NGLYPHS).  */

It is clear from that comment that multiple glyphs can be passed to that
function, but it is not clear that metrics is a single struct. I
originally implemented it as if metrics was an array of length nglyphs,
but the implementation in xftfont.c seems to suggest a single struct.

>> In the case
>> where metrics is NULL, the Windows version does do a full string
>> determination, but it has to convert the unsigned array of characters to
>> a short array for the Windows API functions.
>>     
>
> ??? text_extents should always be called with non-NULL
> metrics arg.
>   

font.c:1948 nglyphs=1, metrics=NULL
font.c:3726 nglyphs=i, metrics=NULL

font.c:2012 nglyphs=1, metrics=&metrics
font.c:3642 nglyphs=1, metrics=&metrics

  reply	other threads:[~2007-09-15  7:37 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10  2:39 font-backend mechanism on Windows and Mac? Kenichi Handa
2007-09-10  3:04 ` YAMAMOTO Mitsuharu
2007-09-10  3:12   ` Kenichi Handa
2007-09-10  3:47     ` YAMAMOTO Mitsuharu
2007-09-10  4:37       ` Kenichi Handa
2007-09-10 12:39         ` Adrian Robert
2007-09-10 13:09           ` Kenichi Handa
2007-09-11 21:04             ` Adrian Robert
2007-09-11 21:21               ` Stefan Monnier
2007-09-12 13:51                 ` Adrian Robert
2007-09-10  7:42 ` Jason Rumney
2007-09-10 13:13   ` Kenichi Handa
2007-09-10 13:45     ` Jason Rumney
2007-09-10 13:49       ` Jason Rumney
2007-09-12  6:43         ` Kenichi Handa
2007-09-13 11:55           ` Kenichi Handa
2007-09-13 13:41             ` Jason Rumney
2007-09-14 12:46               ` Kenichi Handa
2007-09-14 13:58                 ` Jason Rumney
2007-09-14 23:10                   ` Adrian Robert
2007-09-14 23:56                     ` Jason Rumney
2007-09-15  1:31                       ` Kenichi Handa
2007-09-15  7:37                         ` Jason Rumney [this message]
2007-09-16 10:29                           ` Kenichi Handa
2007-09-16 11:01                             ` Jason Rumney
2007-09-17  2:16                               ` Kenichi Handa
2007-09-15  2:24                   ` Kenichi Handa
2007-09-13 15:53             ` Adrian Robert
2007-09-13 16:23               ` Jason Rumney
2007-09-14  1:19               ` Kenichi Handa
2007-09-14 13:52                 ` Adrian Robert
2007-09-14 14:55                   ` YAMAMOTO Mitsuharu
2007-09-14 15:02                     ` Jason Rumney
2007-09-14 15:36                       ` YAMAMOTO Mitsuharu
2007-09-15  0:05                     ` Adrian Robert
2007-09-15  1:44                       ` YAMAMOTO Mitsuharu
2007-09-15 13:21                         ` Adrian Robert
2007-09-15 13:43                           ` YAMAMOTO Mitsuharu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46EB8BB4.2010500@gnu.org \
    --to=jasonr@gnu.org \
    --cc=adrian.b.robert@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.