libera/#commonlisp - IRC Chatlog
Search
8:22:43
loke_
jackdaniel: I'm trying to get climaxima back up with the latest version of mcclim and maxima, and I suffered a regression at McCLIM commit: d04aef1a194ea2129e07d829b656d40d80f505a5
8:23:23
loke_
I need to understand what the change does in order to figure out how to solve the issue.
9:10:31
loke[m]
jackdaniel: sorry, no. I've been busy with a million things for the last several months.
9:16:10
loke[m]
jackdaniel: It does ring a bell. It may have passed by my screen, but I didn't pay much attention. Sorry.
9:37:13
loke[m]
I did not know it was broken. When I used it, it worked fine. But I may have used it backwards. :-)
9:44:10
jackdaniel
well, I'm not sure whether it is broken, so I've asked for clarification! https://irclog.tymoon.eu/libera/%23clim?around=1679253495#1679253495
9:44:26
jackdaniel
I've started using the computer now, so I'll see to the commit you've asked about. perhaps we should move to #clim
9:56:07
jackdaniel
yes, and note that the second argument is NIL, so it is computing the line that goes from left to right
9:58:28
loke[m]
I'm testing with this: `(mcclim-bidi:directions "This is a test. في هذا اليوم. Another string." nil)`
12:33:36
loke[m]
jackdaniel: You're definitely right. You can just `NREVERSE` the list `RESULT` at the end of `DIRECTIONS`
12:35:44
loke[m]
There are a set of functions which accept and returns lists of symbols, where the list is always the same size as the string. We can gain a lot of speed by changing it to an array and modifying it in place.
13:22:02
jackdaniel
because there are a few moving parts: there is a page direction, a line direction and finally the text direction that may vary within the line
13:22:38
jackdaniel
page and line direction are the compositor things while the individual fragment of text direction should be handled by the renderer
15:04:49
jcowan
It shows images of Arabic text in a Mongolian matrix where the Arabic text has been rotated either counter-clockwise (read down, like the Mongolian) or clockwise (read up).
15:10:52
jcowan
There is also a neat example of English text reading upwards at the left edge of a table, but with embedded Chinese that is read downwards (in the normal direction for Chinese), thus requiring the bidi algorithm even though both English and Chinese are LTR when horizontal.
15:25:13
gendl__
(this format statement is from cl-pdf by the way, I'm setting up regression pipeline testing which includes some PDF output and trying to get the same input to yield identical output on all three of these impls)
15:26:18
gendl__
it seems CCL is prepending an extra space of padding - it feels like internally it's treating the -0.0 as 0.0 and not counting the `-` as a character.