[Bug 503430] Incorrect Kerning in some applications
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jul 13 13:47:47 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=503430
--- Comment #23 from hdu <hdu at openoffice.org> 2009-07-13 09:47:45 EDT ---
> Please check if traditional kern table is are there
Sorry, they are not.
> Could anyone kindly share procedures of test?
The quickest way to check if the table is there is by just doing
hexdump -C LiberationSans-Regular.ttf
which will result in something like
00000000 00 01 00 00 00 12 01 00 00 04 00 20 46 46 54 4d |........... FFTM|
00000010 49 21 dd a2 00 02 0f b0 00 00 00 1c 47 44 45 46 |I!..........GDEF|
00000020 00 27 02 a5 00 01 fe 8c 00 00 00 1e 47 50 4f 53 |.'..........GPOS|
00000030 ec 90 e4 de 00 01 fe fc 00 00 10 b4 47 53 55 42 |............GSUB|
00000040 93 3c 82 4b 00 01 fe ac 00 00 00 50 4f 53 2f 32 |.<.K.......POS/2|
00000050 f7 1a 8b 76 00 00 01 a8 00 00 00 60 63 6d 61 70 |...v.......`cmap|
00000060 1d c3 05 9f 00 00 0c 84 00 00 0b b6 63 76 74 20 |............cvt |
00000070 41 f4 43 ea 00 00 22 1c 00 00 02 14 66 70 67 6d |A.C...".....fpgm|
00000080 73 d3 23 b0 00 00 18 3c 00 00 07 05 67 61 73 70 |s.#....<....gasp|
00000090 00 18 00 09 00 01 fe 7c 00 00 00 10 67 6c 79 66 |.......|....glyf|
000000a0 93 48 ad 96 00 00 29 70 00 01 b8 f4 68 65 61 64 |.H....)p....head|
000000b0 f2 fb 5b ca 00 00 01 2c 00 00 00 36 68 68 65 61 |..[....,...6hhea|
000000c0 0e 4b 08 a2 00 00 01 64 00 00 00 24 68 6d 74 78 |.K.....d...$hmtx|
000000d0 2e dd 09 42 00 00 02 08 00 00 0a 7c 6c 6f 63 61 |...B.......|loca|
000000e0 50 0f c1 1e 00 00 24 30 00 00 05 40 6d 61 78 70 |P.....$0... at maxp|
000000f0 07 04 07 d0 00 00 01 88 00 00 00 20 6e 61 6d 65 |........... name|
00000100 23 57 ab c2 00 01 e2 64 00 00 07 fb 70 6f 73 74 |#W.....d....post|
00000110 5a cf 99 96 00 01 ea 60 00 00 14 19 70 72 65 70 |Z......`....prep|
The table-name-tags are easily visible in the hexdump. Please note that the
"kern" tag is missing in this example as the traditional kern table is missing
in the font file.
Try TTX (from http://sourceforge.net/projects/fonttools/) if you don't like the
hexdump-method.
Another method to check if the font is directly usable on Windows is to use the
GetKerningPairs() API for this font and check the result.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Fedora-fonts-bugs-list
mailing list