https://bugs.documentfoundation.org/show_bug.cgi?id=95222

--- Comment #8 from [email protected] ---
Not sure what is going on in sw with this. Here's the first line of the test
text:

006B 0072 00E1 0073 006E 00FD 0020 0064 006B 006B 006B 0020 0061 0073 0064 0066
006B 006A 0061 0073 0066 0020 0061 006B 006A 0066 0064 0020 00E1 00E9 0077 010D
0161 00FD 0159 0020 011B 010D 017E 0159 011B 010D 011B 0161 0020 011B 010D 011B
0161 0020 011B 0161 010D 0020 011B 0161 010D 0020 011B 0161 010D 011B 0161 006D
006D 006D 006D 006D 006D 006D 006D 006D 006D 006D 006D 006D 006D 010D 011B 0161
010D 011B 0161 010D 0020 011B 0161 010D 0020

Here's the data on each character:

0,8,7 1,14,13 2,21,21 3,27,26 4,35,35 5,42,57 6,45,75 7,53,83 8,61,90 9,69,98
10,77,120 11,80,138 12,87,145 13,93,151 14,101,159 15,106,163 16,114,171
17,118,174 18,125,182 19,131,187 20,136,207 21,139,225 22,146,232 23,154,240
24,158,243 25,163,248 26,171,271 27,174,289 28,181,296 29,188,303 30,199,313
31,206,319 32,212,325 33,219,332 34,225,353 35,228,371 36,235,378 37,242,385
38,249,391 39,255,397 40,262,404 41,269,410 42,276,418 43,282,438 44,285,456
45,292,463 46,299,469 47,306,476 48,312,497 49,315,515 50,322,522 51,328,528
52,335,549 53,338,567 54,345,574 55,351,580 56,358,586

each triple is the character index, the rendered horizontal position before
justification and the kerning value requested for that character by sw. Notice
how the kern values increase by about 8 each time. Then for the character
before the space and for the space the amount they increase jumps to 22. This
is what is causing the problem with the 'last character of the word floating
off'. Any thoughts as to why this is happening just for Graphite fonts is
welcomed. But I don't see that it's anything in the Graphite layer, or else it
is some weird interaction with sw. All I can say is sw is giving the Graphite
layer some very odd kern values to work with.

Will dig deeper later. All wisdom welcomed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to