[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-backend mechanism on Windows and Mac?
From: |
Jason Rumney |
Subject: |
Re: font-backend mechanism on Windows and Mac? |
Date: |
Sat, 15 Sep 2007 08:37:24 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (Windows/20070728) |
Kenichi Handa wrote:
> In article <address@hidden>, Jason Rumney <address@hidden> 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
- Re: font-backend mechanism on Windows and Mac?, (continued)
- Re: font-backend mechanism on Windows and Mac?, Jason Rumney, 2007/09/10
- Re: font-backend mechanism on Windows and Mac?, Jason Rumney, 2007/09/10
- Re: font-backend mechanism on Windows and Mac?, Kenichi Handa, 2007/09/12
- Re: font-backend mechanism on Windows and Mac?, Kenichi Handa, 2007/09/13
- Re: font-backend mechanism on Windows and Mac?, Jason Rumney, 2007/09/13
- Re: font-backend mechanism on Windows and Mac?, Kenichi Handa, 2007/09/14
- Re: font-backend mechanism on Windows and Mac?, Jason Rumney, 2007/09/14
- Re: font-backend mechanism on Windows and Mac?, Adrian Robert, 2007/09/14
- Re: font-backend mechanism on Windows and Mac?, Jason Rumney, 2007/09/14
- Re: font-backend mechanism on Windows and Mac?, Kenichi Handa, 2007/09/14
- Re: font-backend mechanism on Windows and Mac?,
Jason Rumney <=
- Re: font-backend mechanism on Windows and Mac?, Kenichi Handa, 2007/09/16
- Re: font-backend mechanism on Windows and Mac?, Jason Rumney, 2007/09/16
- Re: font-backend mechanism on Windows and Mac?, Kenichi Handa, 2007/09/16
- Re: font-backend mechanism on Windows and Mac?, Kenichi Handa, 2007/09/14
- Re: font-backend mechanism on Windows and Mac?, Adrian Robert, 2007/09/13
- Re: font-backend mechanism on Windows and Mac?, Jason Rumney, 2007/09/13
- Re: font-backend mechanism on Windows and Mac?, Kenichi Handa, 2007/09/13
- Re: font-backend mechanism on Windows and Mac?, Adrian Robert, 2007/09/14
- Re: font-backend mechanism on Windows and Mac?, YAMAMOTO Mitsuharu, 2007/09/14
- Re: font-backend mechanism on Windows and Mac?, Jason Rumney, 2007/09/14