<div dir="ltr"><div>Hi all,<br><br></div><div>   The previous week I don't make the progress that I planed, but learnt a lot about the character attributes, font construction and portion handling. So I say this week was useful.<br>
<br></div><div>   The most time of the week I spent with border merging, which makes neighbouring text portions' border connected, when they has same border and same height, even if they have different font. This problem was make me to look through the whole working flow of character attributes, from attribute sets and stacks to building portions.<br>
    Finally I use SwAttrIter, which constructs the font from the character attributes and makes enable it for other codes. This solution is useful because text portions are handled by different classes (painting -> SwTxtPainter, size -> SwTxtFormatter, text cursor -> SwTxtCursor) and the only connection point of them is the generated font. On the other hand, line break makes distinct text portions with same underlining character attributes, so I have to solve this case in an other way.<br>
</div><div><br><div>Besides this I fix two bugs connected to the code, which I look into :<br></div><div>1, Text 
cursor skipped the last character of the line, so when user click into the right margin than the cursor were placed before the last character and not after it. In general the last character is a 
space and that's why this is skipped, but there are some 
extreme case (e.g. link, long word in a short line) when no reason to skip the last character.<br><a href="http://cgit.freedesktop.org/libreoffice/core/commit/?id=c8b4ffc2adcc744c0d7d5e68944439238828692b">http://cgit.freedesktop.org/libreoffice/core/commit/?id=c8b4ffc2adcc744c0d7d5e68944439238828692b</a><br>
</div>2.
 Drop caps background were shifted upward. This bug is really visible 
for example with Q letter, because this letter have big part hanging 
into the descender area.<br><a href="http://cgit.freedesktop.org/libreoffice/core/commit/?id=1f47b46959267a25195d4f3f5602ca638bb14c58">http://cgit.freedesktop.org/libreoffice/core/commit/?id=1f47b46959267a25195d4f3f5602ca638bb14c58</a><br>
<br></div><div>Best Regards,<br></div><div>Tamás<br></div></div>