<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi All,<br>
<br>
Bug: <a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8239334">https://bugs.openjdk.java.net/browse/JDK-8239334</a><br>
webrev: <a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~psadhukhan/8239334/webrev.0/">http://cr.openjdk.java.net/~psadhukhan/8239334/webrev.0/</a><br>
<br>
Please review a fix for an issue where it is seen string with
"tab" in them are not aligned properly with linewrap on. <br>
</p>
<p>This is in continuation to a fix done in JDK-<a
class="issue-link" data-issue-key="JDK-8187957"
href="https://bugs.openjdk.java.net/browse/JDK-8187957"
id="key-val" rel="4940470">8187957</a> where the fix was done in
PlainView. <br>
This is because while calculating tab stop postion, it is
calculating number of tabs in float value (an aftereffect of <a
href="https://bugs.openjdk.java.net/browse/JDK-8156217"
title="Selected text is shifted on HiDPI display"
class="issue-link" data-issue-key="JDK-8156217"><strike>JDK-8156217</strike></a>)<br>
so next tab stop location is coming out wrong. <br>
Fix is to use "number of tabs" as an integer value in order to
calculate the tab position correctly.</p>
<p>The same fix should be done for WrappedPlainView for line wrap
path. <br>
</p>
<p> Regards<br>
Prasanta</p>
</body>
</html>