<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>BTW, under Windows, none of the console mode seems to support
simple accented characters :</p>
<div class="moz-text-html" lang="x-unicode">
<p>--> disp "é"</p>
<div> </div>
<div> ├®</div>
</div>
<p>The super/subscript problem is just a small part of this more
general issue.</p>
<p>S.<br>
</p>
<div class="moz-cite-prefix">Le 28/11/2019 à 21:58, Samuel Gougeon a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:7583fd5c-9f93-2ea6-1b33-705d9bcdafb6@free.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Dear Stéphane,</p>
<p>Thank you for your on-going efforts to improve the display of
polynomials and their exponents.<br>
Although i was aware about the <a moz-do-not-send="true"
href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/bugzilla.scilab.org/show_bug.cgi?id=4236">potential
issue</a>, i did not catch it before <a
moz-do-not-send="true"
href="https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/codereview.scilab.org/21100">your
first commit</a> was recently merged.<br>
</p>
<p>Actually, some trial on the master shows what we could expect
on Windows: Setting exponents in unicode breaks the display of
polynomials in NW (and NWNI) modes:</p>
<p>--> p = (1-%z).^(0:12)'<br>
p =<br>
<br>
1<br>
<br>
1 -z<br>
<br>
1 -2z +z┬▓<br>
<br>
1 -3z +3z┬▓ -z┬│<br>
<br>
1 -4z +6z┬▓ -4z┬│ +zÔü┤<br>
<br>
1 -5z +10z┬▓ -10z┬│ +5zÔü┤ -zÔüÁ<br>
<br>
1 -6z +15z┬▓ -20z┬│ +15zÔü┤ -6zÔüÁ +zÔüÂ<br>
<br>
1 -7z +21z┬▓ -35z┬│ +35zÔü┤ -21zÔüÁ +7zÔü -zÔüÀ<br>
<br>
1 -8z +28z┬▓ -56z┬│ +70zÔü┤ -56zÔüÁ +28zÔü -8zÔüÀ +zÔü©<br>
<br>
1 -9z +36z┬▓ -84z┬│ +126zÔü┤ -126zÔüÁ +84zÔü -36zÔüÀ +9zÔü©
-zÔü╣<br>
<br>
1 -10z +45z┬▓ -120z┬│ +210zÔü┤ -252zÔüÁ +210zÔü -120zÔüÀ
+45zÔü© -10zÔü╣ +z┬╣Ôü░<br>
<br>
1 -11z +55z┬▓ -165z┬│ +330zÔü┤ -462zÔüÁ +462zÔü -330zÔüÀ
+165zÔü© -55zÔü╣ +11z┬╣Ôü░<br>
-z┬╣┬╣<br>
<br>
1 -12z +66z┬▓ -220z┬│ +495zÔü┤ -792zÔüÁ +924zÔü -792zÔüÀ
+495zÔü© -220zÔü╣ +66z┬╣Ôü░<br>
-12z┬╣┬╣ +z┬╣┬▓<br>
<br>
This is a blocking issue. IMHO, the fix proposed by Allan
clearly improves the situation, but is not completely clean as
it is implemented in the launching batch file, while calling
directly the binary will shortcut the patch.<br>
</p>
<p>Another issue is about the readability of exponents 1 to 3:
they were likely the first defined, before other figures, but
they are clearly smaller than other exponents 0 and 4-9.<br>
Reading them was almost OK for me in the commit message, but on
the Scilab console, i had to increase the font size from
Monospaced 13 to Monospaced 15 to get them (almost) readable.<br>
I copied/pasted a polynomial from the console into Scinotes,
zoomed Scinotes, and got the following screenshot, showing the
net difference in their sizes: :</p>
<p><img src="cid:part3.1F0CB795.D2525480@utc.fr" alt="" class=""></p>
<p>Without zooming, the "3" is very close to 8, and only its place
before 4 mainly indicates that it's not 8.<br>
Could the 1-3 exponents be redefined with the same size as the
other higher figures, under other unicode ids?<br>
To be investigated.<br>
<br>
Best regards<br>
Samuel<br>
<br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@lists.scilab.org">dev@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/dev">https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a>
</pre>
</body>
</html>