maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] Japanese input method for Sailfish OS (now with 99% less crashes) (https://talk.maemo.org/showthread.php?t=92334)

Behold 2014-01-10 01:34

[WIP] Japanese input method for Sailfish OS (now with 99% less crashes -- for real this time)
 
[2015-06-15: Updated jolla-anthy-jp to v0.04]
[2014-11-09: Updated jolla-anthy-jp to v0.03]
[2014-05-17: Updated jolla-anthy-jp to v0.02]

TL;DR:

Enable installing of untrusted software in the settings, then install the following three packages (in order):

Then reboot the phone.

Hi everyone.

As I've mentioned on together.jolla.com already, the last major feature that I was missing on my Jolla was the ability to input Japanese. However, as there was no response from Jolla nor from what I've seen any major effort from a third party to develop a Japanese input method, I finally gave up and took it upon myself to at least create a working proof of concept. Well, said and done, I now have a fully usable input method, though it is very, very much in alpha state.

To use this input method, you'll need three packages: anthy, which segments kana and converts it into kanji; libanthy-qml-plugin, which acts as a thin wrapper around anthy, making the library usable from QML; and finally jolla-anthy-jp, which contains the actual keyboard layout as well as logic such as wāpuro rōmaji→hiragana conversion, kanji candidate selection, and more.

Anthy is of course not written by me, but is a preexisting project licensed under the LGPL. Its official website can be found at http://sourceforge.jp/projects/anthy/.

The above linked packages can be installed from the GUI by allowing untrusted software in the settings, or from terminal by running
Code:

$ pkcon install-local
with the RPM files as arguments. The latter requires developer mode to be enabled.

After installing the packages, you either need to restart the Maliit keyboard or reboot the device. To restart the Maliit keyboard (again, this requires developer mode):
Code:

$ systemctl --user restart maliit-server.service
The source code for libanthy-qml-plugin and jolla-anthy-jp can be found at https://github.com/BeholdMyGlory/libanthy-qml-plugin and https://github.com/BeholdMyGlory/jolla-anthy-jp, respectively.

In addition, I've created a repository at openrepos.net, which you should be able to add to the package manager in Sailfish if you don't want to install the above packages manually. From there you can install jolla-anthy-jp, and anthy and libanthy-qml-plugin should come along as dependencies. You can also find screenshots there.

Now, keep in mind that, as I said, this is very much a non-stable version, so don't be surprised if anything wonky happens, and please report back if you have any suggestions for improvements or fixes---or even better, do a pull request on GitHub.

Known issues
  • The actual keyboard layout is simply the English layout with an added chōonpu ('ー'), meaning that characters like '[' are still shown as '[' rather than '「', and '?' gives you a standard half-width question mark rather than a full-width question mark ('?'). If anyone has any idea how exactly a Japanese-specific keyboard layout should look, please do come with suggestions.
  • Special characters like 'ä' are mangled by Anthy.
  • Any non-special latin characters left in the input string as it goes through Anthy will likely be converted into upper case for the leftmost candidate choice (e.g. "てすとk" might appear as "テストK"), as the leftmost choice is simply a concatenation of the first canditate for every segment of the input string, and the first candidate returned by Anthy for latin characters generally seems to be the upper case version of said character.

Changes as of v0.04
  • Fixed crashes when selecting predictions
  • Added split keyboard support and disabled autoshift (thanks to sleepsounds on TMO!)

Changes as of v0.03
  • Added workaround to fix the frequent crashing when selecting candidates other than the leftmost one.

Changes as of v0.02
  • Replaced workaround for starting the correct input handler with specifying the input handler in the .conf file
  • Updated the prediction bar to look better and include the clipboard

P.S.: If you find yourself wanting to hack the code or experiment with your own input handlers, the way to get output from your code is by stopping Maliit and then starting it again in the foreground:

Code:

$ systemctl --user stop maliit-server.service && maliit-server
Running maliit-server manually also allows you to debug your code with gdb, if you've written a QML extension in C++.

As far as hacking the keyboard goes, the interesting files are the .qml files in /usr/share/maliit/plugins/com/jolla/ (especially KeyboardBase and InputHandler) as well as /usr/lib/maliit/plugins/jolla-keyboard.qml. Binary plugins for the keyboard can be found in /usr/lib/qt5/qml/com/jolla/{keyboard,xt9,xt9cp}.

Custodian 2014-01-10 08:45

Re: [WIP] Japanese input method for Sailfish OS
 
Glad to see that you have chosen openrepos.net for distributing :cool:

It is my fault, that there is no public publishers guide yet. :(

One thing on openrepos usage:

You have uploaded multiple packages to same application. All packages have different names.
This will confuse Warehouse application.
To make it work as expected you have to select one of the ways:
1) Create separate applications for each rpm package
2) While editing sailfishos package, move main 'jolla-anthy-jp' package to the top of the uploaded files list, so it will be the first one in attachment list.

Behold 2014-01-10 14:59

Re: [WIP] Japanese input method for Sailfish OS
 
Quote:

Originally Posted by Custodian (Post 1405334)
Glad to see that you have chosen openrepos.net for distributing :cool:

It is my fault, that there is no public publishers guide yet. :(

One thing on openrepos usage:

You have uploaded multiple packages to same application. All packages have different names.
This will confuse Warehouse application.
To make it work as expected you have to select one of the ways:
1) Create separate applications for each rpm package
2) While editing sailfishos package, move main 'jolla-anthy-jp' package to the top of the uploaded files list, so it will be the first one in attachment list.

Oh, sorry, I didn't really think of the users of OpenRepos when I added the packages, I mostly just wanted a place where I could keep up-to-date RPM packages of the software and to where I could direct people on e.g. TMO and together.jolla.net. I've now changed the order of the packages so that jolla-anthy-jp is first in the list; that should be enough, right? I also added a link back to this thread in the description; I'll see if I can be bothered to write a proper description a bit later.

Miharin 2014-01-10 23:18

Re: [WIP] Japanese input method for Sailfish OS
 
Cool stuff, it works! ありがとうございます!��

Custodian 2014-01-14 16:09

Re: [WIP] Japanese input method for Sailfish OS
 
Quote:

Originally Posted by Behold (Post 1405427)
that should be enough, right? I also added a link back to this thread in the description; I'll see if I can be bothered to write a proper description a bit later.

Didn't noticed your answer at a time.
You did it right, everything is cool :cool:

phuig 2014-01-15 09:01

Re: [WIP] Japanese input method for Sailfish OS
 
Awesome, thanks! Much appreciated!

Edit: "found" an issue, need to learn to read posts more carefully...

Penguin 2014-01-20 10:29

Re: [WIP] Japanese input method for Sailfish OS
 
Looks excellent. You could think about fewpath and naming changes to avoid collisions with possible future OS packages in Jolla. You can also create postinstall and postuninstall script to your RPM package to enable maliit.service restart. Just add following to SPEC file.

Code:

%post
su nemo -c "/bin/systemctl --user restart maliit-server.service"

%postun
su nemo -c "/bin/systemctl --user restart maliit-server.service"


Ascense 2014-01-26 15:06

Re: [WIP] Japanese input method for Sailfish OS
 
Thank you very much for figuring out how to plug in a custom input method for Sailfish.

If you have the time, could you please explain how the "jolla-anthy-jp" rpm is built. Based on this thread, I finally decided to write an input method for Korean (sources here: https://github.com/ascense/jolla-hangul), but I cannot figure out how to make a non-binary rpm (the SDK really wants to have something to compile...)

Penguin 2014-01-26 17:53

Re: [WIP] Japanese input method for Sailfish OS
 
Don't use SDK to pack the RPM. You can create spec file with any text editor and use rpm-build to create rpm package. I think SDK will also sandbox you out of keyboard folders.

Behold 2014-01-26 19:33

Re: [WIP] Japanese input method for Sailfish OS
 
Quote:

Originally Posted by Ascense (Post 1409076)
Thank you very much for figuring out how to plug in a custom input method for Sailfish.

If you have the time, could you please explain how the "jolla-anthy-jp" rpm is built. Based on this thread, I finally decided to write an input method for Korean (sources here: https://github.com/ascense/jolla-hangul), but I cannot figure out how to make a non-binary rpm (the SDK really wants to have something to compile...)

As Penguin said, the easiest way is to build the RPM outside of QtCreator. What I did personally was I first launched the SDK through QtCreator (open a Sailfish project and then click "Start Sdk" near the bottom in the sidebar; there's probably a way to launch the SDK without using QtCreator, but I don't know how personally), then I SSH'd in to the SDK (see https://sailfishos.org/develop-faq.html, "How do I login into the emulator or build engine?" > "Build Engine", "as user mersdk"). There I just ran rpmbuild -bb manually against my spec file. You need to make sure that you have the sources packaged correctly in ~/rpmbuild/SOURCES, though.

Ascense 2014-01-26 20:27

Re: [WIP] Japanese input method for Sailfish OS
 
Quote:

Originally Posted by Behold (Post 1409126)
As Penguin said, the easiest way is to build the RPM outside of QtCreator. What I did personally was I first launched the SDK through QtCreator (open a Sailfish project and then click "Start Sdk" near the bottom in the sidebar; there's probably a way to launch the SDK without using QtCreator, but I don't know how personally), then I SSH'd in to the SDK (see https://sailfishos.org/develop-faq.html, "How do I login into the emulator or build engine?" > "Build Engine", "as user mersdk"). There I just ran rpmbuild -bb manually against my spec file. You need to make sure that you have the sources packaged correctly in ~/rpmbuild/SOURCES, though.

Big thank you to you and Penguin! I now managed to build a working rpm, and I also included the post-install, post-uninstall commands suggested by Penguin...

peremen 2014-01-27 02:55

Re: [WIP] Japanese input method for Sailfish OS
 
Quote:

Originally Posted by Ascense (Post 1409145)
Big thank you to you and Penguin! I now managed to build a working rpm, and I also included the post-install, post-uninstall commands suggested by Penguin...

Too bad that I implemented Korean keyboard two weeks ago, and did not announced it yet :(

http://talk.maemo.org/showthread.php?p=1409210

arthurartoria 2014-03-15 12:47

Re: [WIP] Japanese input method for Sailfish OS
 
Nice to meet you, Behold.

I am so interested about input method and keyboard in Sailfish, since a traditional chinese input methos is still not readily available. May I have your experience about developing one input method?

Thank you very much !

@Behold

lalomartins 2014-05-16 09:59

Re: [WIP] Japanese input method for Sailfish OS
 
Hey Behold,

I can type Japanese with your IM on Android apps, but on native apps I just get latin text, anthy never seems to kick in. Any ideas? (I even rebooted the phone.)

Behold 2014-05-16 16:41

Re: [WIP] Japanese input method for Sailfish OS
 
Quote:

Originally Posted by lalomartins (Post 1425593)
Hey Behold,

I can type Japanese with your IM on Android apps, but on native apps I just get latin text, anthy never seems to kick in. Any ideas? (I even rebooted the phone.)

Yeah, I've been getting the same. It started happening since a recent Sailfish OS update, so there's probably been some change to how layouts are handled. I haven't had much time to work on this project lately, but I'll see if I can find what the problem is here over the weekend. No promises though.

Behold 2014-05-17 14:37

Re: [WIP] Japanese input method for Sailfish OS
 
All right, I've pushed a small fix and updated the jolla-anthy-jp package. It should be a bit better about switching to the correct input handler now. Note though that you might still have trouble getting it working in for example the browser, or at least I had, because Maliit reports 'predictionEnabled' as false for some input fields, which will cause the input handling code in jolla-keyboard to fallback on a more basic input handler. This affects not only the Japanese input method, though, but all other input methods as well.

Edit: The problem is mentioned here: https://together.jolla.com/question/...king-features/

lalomartins 2014-05-17 14:43

Re: [WIP] Japanese input method for Sailfish OS
 
I did notice today I'm not getting prediction in the browser with English, either.

razcampagne 2014-10-24 04:05

Re: [WIP] Japanese input method for Sailfish OS
 
Hi,

I am using your japanese input method for some time now but the crash rate (when choosing other than the first suggestion) is pretty bad on my end so I am trying to track the bug down.

Using gdb, I found that it crashes in libanthy when swapping the suggestions around to make the one with the highest score in the first place and it seems the memory is in pretty bad shape within the suggestions' dictionary.

I'd like to trying a workaround for now (just commenting out the swap process) but I have a hard time figuring out how you managed to compile libanthy using the source available in your repository on github…

Could you help me?

salyavin 2014-10-31 02:21

Re: [WIP] Japanese input method for Sailfish OS
 
I am experiencing the same behavior as razcampagne, to be honest it makes it very hard to input Japanese, I can't even select my wife's name ^-^;;

Behold 2014-11-09 21:09

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
All right, I've updated jolla-anthy-jp to version v0.03 which *should* fix the frequent crashes. Please report any issues you're having.

I'd like to extend a thank you to razcampagne and p2501 for taking some time to look into the issue and pointing me in the right direction which enabled me to finally find a working workaround.

salyavin 2014-11-12 20:19

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Thanks a lot, it's a whole lot better. I can now select my wife and son's names.

This really makes the phone a lot more useful to me, thank you.

I can crash it but in an improper use situation that does not matter. How I can make it crash is say I select a word and it inputs it into a chat or mail but there is still a list of words showing, if I select any of those it crashes. I do not think that has to be changed as I consider that improper usage as I have not input anything new.

Behold 2014-11-12 20:47

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Quote:

Originally Posted by salyavin (Post 1446851)
Thanks a lot, it's a whole lot better. I can now select my wife and son's names.

This really makes the phone a lot more useful to me, thank you.

I can crash it but in an improper use situation that does not matter. How I can make it crash is say I select a word and it inputs it into a chat or mail but there is still a list of words showing, if I select any of those it crashes. I do not think that has to be changed as I consider that improper usage as I have not input anything new.

Crap, you're right, now the prediction functionality is broken instead. I'll see if I can fix it when I have the time to look at it. At least it's not as serious as the old bug.

vbmithr 2014-12-24 14:56

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Not working for me, (2014.12.24).
Maybe this is due to the latest Jolla update ?

I have this error:

Code:

[nemo@Jolla plugins]$ systemctl --user stop maliit-server.service && maliit-server                                                                                                                                                           
WARNING: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) Error loading plugin from "/usr/lib/maliit/plugins/libmaliit-keyboard-plugin.so" "The shared library was not found."                                           
WARNING: Module 'Sailfish.Silica' does not contain a module identifier directive - it cannot be protected from external registrations.


Wikiwide 2014-12-25 01:34

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Quote:

Originally Posted by vbmithr (Post 1453744)
Not working for me, (2014.12.24).
Maybe this is due to the latest Jolla update ?

I have this error:

Code:

[nemo@Jolla plugins]$ systemctl --user stop maliit-server.service && maliit-server                                                                                                                                                           
WARNING: bool MIMPluginManagerPrivate::loadPlugin(const QDir&, const QString&) Error loading plugin from "/usr/lib/maliit/plugins/libmaliit-keyboard-plugin.so" "The shared library was not found."                                           
WARNING: Module 'Sailfish.Silica' does not contain a module identifier directive - it cannot be protected from external registrations.


Quick reply...

No idea. Same error-text can be seen here.

Best wishes.
~~~~~~~~~~~~~~~~~
Per aspera ad astra...

salyavin 2015-04-17 04:20

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
I understand keyboards changed in the very latest opt-in Sailfish update breaking many keyboards. I am hesitating to update since I saw that. Will this keyboard be updated?

Behold 2015-04-17 13:18

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Quote:

Originally Posted by salyavin (Post 1467465)
I understand keyboards changed in the very latest opt-in Sailfish update breaking many keyboards. I am hesitating to update since I saw that. Will this keyboard be updated?

Unfortunately I cannot verify this at the moment, as my Jolla started to exhibit hardware issues just the other day. I'll get back to you once I get my phone back from repair. For the moment, avoid updating.

But yes, if required I will update the keyboard for compatibility.

salyavin 2015-05-07 21:54

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
From the keyboard layouts thread may be a hint.

Code:

import QtQuick 2.0
import ".."

KeyboardLayout {
splitSupported: true

KeyboardRow {

and
Code:

KeyboardRow {
splitIndex: 5

ShiftKey {}

salyavin 2015-05-18 03:29

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
I went ahead and upgrades. I see no change in functionality of this particular keyboard.

Behold 2015-05-18 20:23

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Thanks for confirming. I've been incredibly swamped lately so I haven't had a chance to look at how the keyboard works with the latest version yet.

sleepsounds 2015-06-03 10:03

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
3 Attachment(s)
Hi.
I made some workaround modification on JaInputHandler.qml to avoid crash when tapping "prediction type" candidate.
I don't know if it is right solution but at least it seems to work.
I also made updated keyboard (from 1.1.4.29 stock english keyboard) with:
  • enabled split keyboard on landscape
  • disabled autocaps
  • added some Japanese symbols on shifted/symview choonpu key(ー)

I now testing flick-style keyboard and will post qmls if it goes well.

Behold 2015-06-03 23:55

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Quote:

Originally Posted by sleepsounds (Post 1472394)
Hi.
I made some workaround modification on JaInputHandler.qml to avoid crash when tapping "prediction type" candidate.
I don't know if it is right solution but at least it seems to work.
I also made updated keyboard (from 1.1.4.29 stock english keyboard) with:
  • enabled split keyboard on landscape
  • disabled autocaps
  • added some Japanese symbols on shifted/symview choonpu key(ー)

I now testing flick-style keyboard and will post qmls if it goes well.

Interesting! I've been meaning to have a look at some of what you mentioned, but I haven't had the time. If you do a pull request on GitHub I can have a look at your changes and see if I can incorporate them into the repository if you'd like. (Try to make separate pull requests for separate features though.)

sleepsounds 2015-06-05 18:37

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Quote:

Originally Posted by Behold (Post 1472509)
Interesting! I've been meaning to have a look at some of what you mentioned, but I haven't had the time. If you do a pull request on GitHub I can have a look at your changes and see if I can incorporate them into the repository if you'd like. (Try to make separate pull requests for separate features though.)

Well, I tried it for ja_romaji.qml. But managed to make only one pull request...(I'm not much familiar with GitHub.)
And as for JaInputHandler.qml, my modification is only to comment out
Code:

} else if (item.type == "prediction") {
    anthy.commit_prediction(item.candidate)
    commit(item.text)

inside acceptPhrase() and treat "prediction" same with "full" since anthy.commit_prediction(item.candidate) seemed to cause crash.
But it's really a temporal workaround so fixing anthy.commit_prediction(item.candidate) will be better if possible.

Behold 2015-06-05 19:47

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Quote:

Originally Posted by sleepsounds (Post 1472808)
Well, I tried it for ja_romaji.qml. But managed to make only one pull request...(I'm not much familiar with GitHub.)
And as for JaInputHandler.qml, my modification is only to comment out
Code:

} else if (item.type == "prediction") {
    anthy.commit_prediction(item.candidate)
    commit(item.text)

inside acceptPhrase() and treat "prediction" same with "full" since anthy.commit_prediction(item.candidate) seemed to cause crash.
But it's really a temporal workaround so fixing anthy.commit_prediction(item.candidate) will be better if possible.

Thanks. I'll have a look at it sometime after Tuesday next week when I'm done with all my exams. Feel free to remind me, here or on GitHub, if I seem to have neglected the pull request.

Regarding the crashes, I do know what the root problem is, so a workaround like that shouldn't be necessary hopefully, I just need to find the time to actually look at the problem and make sure I'm doing everything the right way and that I have all the corner cases worked out.

sleepsounds 2015-06-09 13:27

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Thanks for let me know. But it's ok if it take some time.

Glad if I could help because as a Japanese I would not have bought Jolla if you hadn't made Japanese input possible. Thank you so much.

Behold 2015-06-15 21:57

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Aight, I've now bumped jolla-anthy-jp to version 0.04, which includes the changes submitted by sleepsounds as well as a fix to prevent the keyboard from crashing when attempting to select a prediction candidate.

sleepsounds: If you get your flick-style keyboard working well, feel free to do another pull request on GitHub, I'd love to include it in jolla-anthy-jp if you'd like.

sleepsounds 2015-06-22 08:04

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
4 Attachment(s)
OK, I tested flick-style Japanese keyboard on 1.1.6.27 and it basically seems to work. So I upload it here.
But it's still in an alpha state. Please keep it in mind.
Also, it needs modification of KeyboardBase.qml. PLEASE BACKUP YOUR ORIGINAL KeyboardBase.qml because if something goes wrong it would affect to all other keyboards.

Before install:
You must have jolla-anthy-jp (currenly 0.4) installed on your Jolla.

How to install:
  • Copy all files in "jolla-kbd-flick-jp.zip" to /usr/share/maliit/plugins/com/jolla
    Flicker.qml and KeyboardBase_Flick.qml
    -> /usr/share/maliit/plugins/com/jolla
    ja_10key_flick.qml and ja_10key_flick.conf
    -> /usr/share/maliit/plugins/com/jolla/layouts
    JaInputHandler.qml, parse_10key_flick.js, TenKey_CustomArrowKey.qml, TenKey_Flick.qml, TenKey_SymbolKey.qml and TenKey_ShiftKey.qml
    -> /usr/share/maliit/plugins/com/jolla/layouts/ja_10key_flick
    (you may have to make "ja_10key_flick" folder if you copy files separately.)
  • Then rename KeyboardBase_Flick.qml to KeyboardBase.qml to replacing it but again PLEASE BACKUP ORIGINAL KeyboardBase.qml for when things go wrong.
  • After replacing KeyboardBase.qml, please restart maliit. It's easy if you installed Sailfish Utilities. Go to Settings->System->Utilities->Restart keyboard.
  • Then go to Settings->Text input->Keyboards and activate "日本語(フリック)".
  • If everything goes well you can use Japanese flick keyboard.

Some features/known issues:
  • No helper popups around tapped key. Only one above (same with stock English keyboard one introduced on 1.1.4.28) shows which letter to be input while you move your finger.
  • Left-bottom key showing "日" is only for switch keyboards. When you only activated 2 keyboards and tapping the key, it immidiately switch to the other one. You need to wait as usual if you using 3 or more.
    If you want to input space please use alphabet mode.
  • When changing mode between kana/number&symbol <-> alphabet, unconfirmed texts are confirmed as it is.
  • Can use left/right arrow key to go back/forward inside unconfirmed text. Candidates also go short/long as tapping l/r arrow keys.
    Sadly I cannot find the way to move cursor inside those text, so cursor does not move... So currently you only can see where cursor virtually moved to by how long the candidates are.
    When cursor is virtually moved to the beginning of the unconfirmed text, candidates of full text are shown. If you tap left arrow key once more, (virtual) cursor goes back to the end of the text.
    You can delete/insert character(s) of where virtual cursor is, and If you tap enter key while (virtually) moved cursor, text before the moved position will be confirmed, and rest will stay unconfirmed (virtual cursor will go back to the end of unconfirmed text.)
  • I'm using custom font for Japanese so character size on some keys may not appropriate.

ToDo:
A lot.

I'm rather at a loss for what to explain and what to not. Please let me know if you have any question, idea or some other things for this keyboard.

salyavin 2015-06-29 18:53

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
What font do you use?

sleepsounds 2015-06-30 14:42

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
1 Attachment(s)
I found Popper meaninglessly expands on alphabet mode when tap and hold so fixed it not to.

Quote:

Originally Posted by salyavin (Post 1475172)
What font do you use?

It's "Yu Gothic(游ゴシック)" used for Japanese on Windows Phone 8.
Also included in Windows 8.1.

salyavin 2015-10-14 05:37

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
Did you order a tablet? I wonder if this input method could be recombiled for the tablet.

sleepsounds 2015-12-29 11:51

Re: [WIP] Japanese input method for Sailfish OS (now with 99% less crashes)
 
1 Attachment(s)
On SFOS 2.0 update, several changes were made for keyboard-related files and it affected to flick keyboard that popper does not show character to be input when flicking on a key.
So I made some changes to keyboard files to fix them.
Also I implemented changes on KeyboardBase.qml and adjust flick direction detection.
Attached zip contains all files needed (not only updated file.)
How to install: http://talk.maemo.org/showpost.php?p...5&postcount=36


All times are GMT. The time now is 09:03.

vBulletin® Version 3.8.8