moebiuscurve / ibus-table-others

ibus-table-others
code.google.com/p/ibus/
GNU General Public License v3.0
15 stars 8 forks source link

Old Hungarian section has non-unicode chars #29

Closed rovasiras closed 1 year ago

rovasiras commented 1 year ago

Q, W, X, Y, DZS and DZ are not a part of Unicode's Old Hungarian standard

mike-fabian commented 1 year ago

@mike-fabian I forgot the capital vowels: Á -> 𐲁 É -> 𐲋 Í -> 𐲑 Ó -> 𐲜 Ö -> 𐲞 Ő -> 𐲟 Ú -> 𐲫 Ü -> 𐲭 Ű -> 𐲬 (for paste-and-copy)

These also exist already in my table.

mike-fabian commented 1 year ago

@mike-fabian There is an another rule, which could be useful: ä -> 𐳉 Ä -> 𐲉 Letter ä is used in some Swabian surnames in Hungary, but not part of the Hungarian alphabet.

The results did already exist when typing e and E.

But I can easily add these 2 rules as well. I pushed an update to https://github.com/mike-fabian/ibus-table-others/blob/release-candidate-1.3.16/tables/hu-old-hungarian-rovas.txt

It now has ä and Ä added to valid input chars:

https://github.com/mike-fabian/ibus-table-others/blob/release-candidate-1.3.16/tables/hu-old-hungarian-rovas.txt#L116

VALID_INPUT_CHARS == /~`_\|§?,;'":0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZÁÄËÉÓÖŐÚÜŰabcdefghijklmnopqrstuvwxyzáäéëóöőúüű

and it has these lines added:

https://github.com/mike-fabian/ibus-table-others/blob/release-candidate-1.3.16/tables/hu-old-hungarian-rovas.txt#L199

ä   𐳉   0   ### U+10CC9 OLD HUNGARIAN SMALL LETTER E
Ä   𐲉   0   ### U+10C89 OLD HUNGARIAN CAPITAL LETTER E
a"  𐳉   0   ### U+10CC9 OLD HUNGARIAN SMALL LETTER E
A"  𐲉   0   ### U+10C89 OLD HUNGARIAN CAPITAL LETTER E
a"" 𐳉"  0   ### U+10CC9 OLD HUNGARIAN SMALL LETTER E
A"" 𐲉"  0   ### U+10C89 OLD HUNGARIAN CAPITAL LETTER E

As there does not seem to be ä and Ä on the Hungarian keyboard layout, being able to type a" and A" instead is probably useful.

If you are using a keyboard layout which does have ä and Ä you can type them directly.

These lines did exist already:

https://github.com/mike-fabian/ibus-table-others/blob/release-candidate-1.3.16/tables/hu-old-hungarian-rovas.txt#L224

e   𐳉   0   ### U+10CC9 OLD HUNGARIAN SMALL LETTER E
E   𐲉   0   ### U+10C89 OLD HUNGARIAN CAPITAL LETTER E
mike-fabian commented 1 year ago

The change to add ä and Ä looks like this:

https://github.com/mike-fabian/ibus-table-others/commit/bf30345cc400e1c291309136bf00bd7a76f4df68

rovasiras commented 1 year ago

@mike-fabian And what about the other symbols? (short r, ENT, etc.) How can these be activated?

rovasiras commented 1 year ago

@mike-fabian Something still wrong. See the picture: wrongii

mike-fabian commented 1 year ago

Short r is /r ENT is _ENT

/ is used where AltGr is used in the Old Hungarian xkeyboard-config layout because AltGr cannot be used in ibus-table.

mike-fabian commented 1 year ago

ENT is also on /d and /D

mike-fabian commented 1 year ago

I forgot to add í to VALID_INPUT_CHARS, that's why it doesn't work yet although the entry in the table below is there already. Will fix Monday.

mike-fabian commented 1 year ago

I have just added íÍ to VALID_INPUT_CHARS and pushed it to the https://github.com/mike-fabian/ibus-table-others/tree/release-candidate-1.3.16 branch.

This is the commit: https://github.com/moebiuscurve/ibus-table-others/commit/0ed9550b19f27e84168cd7c4e0933d9761e3f517

rovasiras commented 1 year ago

@mike-fabian I close it.

mike-fabian commented 1 year ago

As you closed this, I can assume you like it and I can release it like that, right?

rovasiras commented 1 year ago

As you closed this, I can assume you like it and I can release it like that, right?

@mike-fabian I think this good.

mike-fabian commented 1 year ago

Thank you!

Included in Release 1.3.16: https://github.com/moebiuscurve/ibus-table-others/releases/tag/1.3.16

mike-fabian commented 1 year ago

There is a similar input method in m17n-db:

https://git.savannah.nongnu.org/cgit/m17n/m17n-db.git/tree/MIM/hu-rovas-post.mim

It can be used with ibus-m17n or (better!) with ibus-typing-booster.

It has many of the same deficiencies as this ibus-table input method hu-old-hungarian-rovas.txt had, so probably I should fix that one as well.

mike-fabian commented 3 weeks ago

@rovasiras

Recently, m17n-db-1.8.8 has been released:

https://lists.nongnu.org/archive/html/m17n-list/2024-09/msg00003.html

and this release contains an improved version of hu-rovas-post.mim which now has all the changes we did here to improve the hu-old-hungarian-rovas.txt table for ibus-table.

The main difference is that in the m17n-db version hu-rovas-post.mim, AltGr can be used instead of the prefix / which I used for the ibus-table version only because using AltGr is currently impossible for ibus-table.

Just like the ibus-table version, one can also use non-ASCII characters as input, one should now be able to type a ü to get 𐳭 (U+10CED OLD HUNGARIAN SMALL LETTER RUDIMENTA UE), one does not have to use u" (although one can do that if the keyboard used lacks a ü).

Here is the complete, improved hu-rovas-post.mim:

https://git.savannah.nongnu.org/cgit/m17n/m17n-db.git/tree/MIM/hu-rovas-post.mim

The non-ASCII input (i.e. typing ü instead of u" etc.) works well when using hu-rovas-post.mim with ibus-m17n.

But it does not work when using it with ibus-typing-booster (In ibus-typingbooster, one still has to type u" to get 𐳭 (U+10CED OLD HUNGARIAN SMALL LETTER RUDIMENTA UE)).

ibus-typing-booster should be improved to support such non-ASCII input for m17n-db input methods as well, so I opened this issue for Typing Booster:

https://github.com/mike-fabian/ibus-typing-booster/issues/537