[Fontconfig] fc-query output, misunderstanding?

Dave Pawson dave.pawson at gmail.com
Tue Jan 17 07:03:30 PST 2012


On 17 January 2012 14:57, Akira TAGOH <akira at tagoh.org> wrote:
> I'm not sure if I understand a question properly though, U+E059 should
> appears on the output of fc-query when available:
>
> 00e0: 00000000 00000000 02000000 ....
>
> details:
> 0xe059 >> 8  = 0xe0
> 0xe059 & 0xff / 32 = 2 (+1 column)
> 0xe059 & 0x1f = 25 (bit)
>
> It's the position for U+E059.

Yes, I agree. I've written more code to test it.
Yet Fontforge shows no glyph there, my xsl-fo formatter reports it missing
so I must assume it is not there?

In which case should I be reporting a bug?
Or is there some 'gotcha' which says there is a glyph there but only if .....

So my question now is, are the bit positions in the matrix
dependent on any other conditions (assuming I am interpreting
the matrix correctly)

regards





>
> On Tue, Jan 17, 2012 at 7:27 PM, Dave Pawson <dave.pawson at gmail.com> wrote:
>> Does anyone know who might answer this question please?
>>  Another list perhaps?
>>
>> TIA Dave
>>
>> On 15 January 2012 10:00, Dave Pawson <dave.pawson at gmail.com> wrote:
>>> I have an otf font, for which fc-query gives me
>>> (aft converting to python format)
>>> font=[
>>> ["0000", "00000000","ffffffff","ffffffff","7fffffff","00000000","ffffdffe","ffffffff","ffffffff"],
>>> ["0001", "ffffffff","feffffff","ffffffff","ffffffff","00040000","00818003","00000000","fc300000"],
>>> ["0002", "03000000","00000000","00000000","00000000","00040000","01850000","3f0000c0","00000008"],
>>> ["0003", "00040200","00000008","00000000","44300000","ffffd7f0","fffffffb","44637fff","00000001"],
>>> ["0004", "00000000","00000000","00000000","00000000","00000000","00000000","000c0000","000000c0"],
>>> ["001e", "00000000","00000000","00000000","00000000","0000003f","ffffffff","ffffffff","03ffffff"],
>>> ["001f", "3f3fffff","ffffffff","aaff3f3f","3fffffff","ffffffff","ffdfffff","efcfffdf","7fdcffff"],
>>> ["0020", "7fff0bf4","560d0067","00000010","fff10000","00007fff","0000109e","00000000","00000000"],
>>> ["0021", "00480020","00004044","fff80000","00000000","00200000","00000100","00000000","00000000"],
>>> ["0022", "44068044","00000f80","00000120","00000033","00000000","00000000","00000000","00000000"],
>>> ["0023", "00010000","00000000","00000000","00000000","00000000","00000000","00000000","00000000"],
>>> ["0025", "00000000","00000000","00000000","00000000","00000000","00000c02","00008400","00000040"],
>>> ["00e0", "00000000","00000000","00000070","00000800","00000000","00000000","00000000","00000000"],
>>>                                                           xxxx
>>> ["00f5", "07fdffff","00000000","00000000","00000000","00000000","00000000","00000000","00000000"],
>>> ["00f6", "00000000","fe000000","7fe30007","ffffe7fe","ffffffff","000c3fff","3001ce08","ffffff15"],
>>> ["00f7", "00000000","83ff0052","00000000","07ffffff","00000000","81108102","00000000","ff7fffff"],
>>> ["00fb", "0000001f","00000000","00000000","00000000","00000000","00000000","00000000","00000000"],
>>> ["00ff", "00000000","00000000","00000000","00000000","00000000","00000000","00000000","10000000"]]
>>>
>>> Am I understanding this right please?
>>>  I'm trying to generate a glyph for all those present.
>>>
>>> My formatter says no such character where (I think) this map says there is one.
>>> E.g. E059
>>> Row e0
>>> Group 3 (e040-e05f)
>>> character 6 (numbering 0..7)
>>> which is the 7.
>>> On which basis (my understanding)
>>> EO58  -
>>> EO59 present
>>> EO5A present
>>> EO5B present
>>>
>>> Am I interpreting this correctly please?
>>>
>>> TIA
>>>
>>>
>>> --
>>> Dave Pawson
>>> XSLT XSL-FO FAQ.
>>> Docbook FAQ.
>>> http://www.dpawson.co.uk
>>
>>
>>
>> --
>> Dave Pawson
>> XSLT XSL-FO FAQ.
>> Docbook FAQ.
>> http://www.dpawson.co.uk
>> _______________________________________________
>> Fontconfig mailing list
>> Fontconfig at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/fontconfig
>
>
>
> --
> Akira TAGOH
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk


More information about the Fontconfig mailing list