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
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
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. 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
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
On Wed, Jan 18, 2012 at 12:03 AM, Dave Pawson <dave.pawson at gmail.com> wrote:> 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?maybe no, it''s 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 .....I guess you better try to check with the fontconfig in the git repo. if you still see this issue, it may be worth filing a bug. I can''t say more by off hand so far. it may be a bug in fontconfig or fonts perhaps.> So my question now is, are the bit positions in the matrix > dependent on any other conditions (assuming I am interpreting > the matrix correctly)It''s computed from what glyphs a font actually has and the blank configuration. -- Akira TAGOH
On 18 January 2012 02:04, Akira TAGOH <akira at tagoh.org> wrote:> On Wed, Jan 18, 2012 at 12:03 AM, Dave Pawson <dave.pawson at gmail.com> wrote:> I guess you better try to check with the fontconfig in the git repo. > if you still see this issue, it may be worth filing a bug. I can''t say > more by off hand so far. it may be a bug in fontconfig or fonts > perhaps.http://cgit.freedesktop.org/fontconfig/ shows 2.8 which is the same (2.8.8.0-4) as I have installed (Fedora 64 bit) So it would appear that I have the latest (I can''t find a minor version number in the .zip file?) I''ll report a bug... (trying to think how, without including a font file?) Thanks Akira. -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk
I''m returning to this thread since my understanding of this is somehow wrong. 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.I''m returning to this thread since I clearly don''t understand the matrix.The output from fc-query in question is 00e0: 00000000 00000000 00000070 00000800 I''m translating from the matrix to Unicode code points. If I understand it correctly, the starting value of each group in this line is: E000 E020 E040 ... Hence for the group 00000070 1 32 The characters are in the range E040..E5F Which ''end'' of the group represents the lower value please? The left hand or right hand end? Is E040 bit 1 or bit 32? Is this documented anywhere please? TIA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk
Now resolved thanks to a fedora bug reader. The missing information is that although rows are read sequentially top to bottom, groups are read left to right, for some reason within a group the ''bits'' are read right to left, left most bit representing the highest code point in that group. Not documented anywhere I could find. My code is now working. Dave On 19 January 2012 13:33, Dave Pawson <dave.pawson at gmail.com> wrote:> I''m returning to this thread since my understanding of this is somehow wrong. > > 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.I''m returning to this thread since I clearly don''t understand the matrix. > > The output from fc-query in question is > 00e0: 00000000 00000000 00000070 00000800 > > I''m translating from the matrix to Unicode code points. > > If I understand it correctly, the starting value of each group in this line is: > > E000 ?E020 ?E040 ... > Hence for the group 00000070 > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1 ? ? ? ? ? 32 > The characters are in the range E040..E5F > > Which ''end'' of the group represents the lower value please? > The left hand or right hand end? > Is E040 bit 1 or bit 32? > > Is this documented anywhere 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