[Cuis-dev] Updated unicode input

Luciano Notarfrancesco luchiano at gmail.com
Thu Dec 8 03:48:46 PST 2022


That's great, thank you! I like the recent simplifications and renaming.
I updated the unicode input commands and added some combining characters.
For example, you can type o\", v\vec, a\hat, etc.


On Wed, Dec 7, 2022 at 7:39 PM Juan Vuletich <juan at cuis.st> wrote:

> On 12/2/2022 9:21 AM, Luciano Notarfrancesco via Cuis-dev wrote:
>
> Yes, I was planning to add commands like the \hat your tried. The problem
> I see is if some user uses a different input method, for example a keyboard
> configured in international English. In that case, Cuis with a\hat would
> generate two code points, while entering â with ctrl+shift+^ followed by a
> would generate a single code point (I guess). If we use ambiguous unicode
> like this for selectors sooner or later some user will encounter a MNU. One
> way to get rid of ambiguity is to make sure a\hat generates normalized
> unicode, but perhaps a better and more general solution is to make sure
> that symbols are normalized.
>
>
> Ok. Did it. The main change is to make #= and #hash answer as if two
> instances where normalized in NFC (even if they aren't). Then I also made
> UnicodeSymbols be in NFC too. All this is now at GitHub. Seems to work ok
> with variable names that "look the same" even if they are a different
> sequence of code points.
>
>
> Also I noticed some of the diacritical marks are rendered slightly
> misaligned, a bit too much to the right in some cases (depending on the
> modified character). For example x followed with u+0307 should show a dot
> on the top of x, aligned horizontally with the center of x, but it shows it
> a bit to the right.
>
>
> Oh yes. TrueType doesn't include a specification on how to align
> diacritics and base glyph. Just centered them. This is also at GitHub now.
>
> Please try all this, and report any issues. Diacritics in source code seem
> to work OK now.
>
> Thanks,
>
> --
> Juan Vuletichcuis.stgithub.com/jvuletichresearchgate.net/profile/Juan-Vuletichindependent.academia.edu/JuanVuletichpatents.justia.com/inventor/juan-manuel-vuletichlinkedin.com/in/juan-vuletich-75611b3twitter.com/JuanVuletich
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221208/f6898168/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5589-MoreUnicodeInputCommands-LucianoEstebanNotarfrancesco-2022Dec08-10h41m-len.001.cs.st
Type: application/octet-stream
Size: 3696 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221208/f6898168/attachment-0001.obj>


More information about the Cuis-dev mailing list