Opened 10 years ago

Closed 10 years ago

#680 closed enhancement/feature request (fixed)

Cyrillic on-screen keyboard for Navit (gui_internal)

Reported by: tryagain Owned by: KaZeR
Priority: major Milestone: version 0.2.0
Component: core Version: git master
Severity: Keywords: osd keyboard Cyrillic towns searching
Cc: nick@…

Description

Patch for cyrillic keyboard support in Navit.

Included set of symbols should be enough for Russian, Belorussian and Ukrainian languages. Other cyrillic languages probably have some symbols not included here. I don't know which symbols are of use in other languages. BTW some look very nice: http://www.fileformat.info/info/unicode/font/eversonmono/uA66C.png http://www.fileformat.info/info/unicode/font/eversonmono/uA66A.png

There is a new structure added to make it easier to add new keymaps and switch between them.

TODO: 1. I think we can have a function in country.c to find a default keyboard layout based on what country is selected for address search. Then one will save a few keystrokes when trying to search something in Russia.

  1. Map search functions should be case insensitive for all languages. Now you should enter symbols in search dialog exactly in the same case as they are on the map.

P.S. My patch from ticket 679 is included here. If you have some stuff rejected on line "this->country_iso2=g_strdup((...." please don't care.

Attachments (1)

cyr.diff (10.7 KB) - added by tryagain 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by tryagain

comment:1 Changed 10 years ago by korrosa

Gave this a test, and it works fine on Ubuntu 10.04 Navit r3610.

However, I don't speak Cyrillic and don't have any Cyrillic place names in the maps I've got so can't actually vouch for it finding anything, but it goes through the motions as if it would!

One point: to get to the Cyrillic keyboard, you have to go through the numbers keyboard from the main Latin keyboard. So like this: Latin -> Numbers -> Cyrillic. Kind of a strange place - perhaps re-structuring of the keyboard 'engine' is required so that you can switch to the Cyrillic keyboard from the main Latin keyboard - Cyrillic/Latin? are at the same level - it certainly isn't a subset of numbers!

comment:2 Changed 10 years ago by number6

  • Cc nick@… added
  • Keywords osd keyboard Cyrillic towns searching added
  • Resolution set to fixed
  • Status changed from new to closed

Added in Revision 3612

Note: See TracTickets for help on using tickets.