freenode/#clim - IRC Chatlog
Search
10:51:14
loke
This is the current version. Is this better? https://photos.app.goo.gl/qU4Nmc0vcPKdn3CG2
10:51:53
loke
The bounding box issue with mixed RTL and LTR text is one of the problems I want to fix before I cerate a pull request.
10:52:39
loke
Yeah. The old version had a problem in that I didn't detect the language properly so it used the Latin font shaper instead of the arabic one.
10:54:15
loke
jackdaniel: if you want to look at my work, it's in this branch: https://github.com/lokedhs/McCLIM/tree/freetype2
10:56:22
loke
There are some issues with the bounding boxes, but other than that it's pretty stable.
10:56:59
jackdaniel
ACTION goes to spend some time on Marbella's beach and read a (non technical!) book
11:05:49
smokeink
loke: https://pastebin.com/VxVsGBtZ I've got the ime thing working (in C, so far )
11:07:12
smokeink
at least that's my guess: I think gtk and qt based IMEs also use XIM behind the hood
11:09:22
smokeink
now the only problem is that I can't figure out how to setup the fonts so that XwcDrawString doesn't draw gibberish
11:14:56
smokeink
the prog above just draws the characters that one inputs. The English chars are displayed fine, but the non-English ones are not- I still have to see why it doesn't choose the proper font
13:57:39
smokeink
installed some extra fonts and now Japanese, Russian and Traditional Chinese inputs are displayed correctly. Simplified Chinese and Arabic are still problematic though
13:58:44
smokeink
no idea why, because the other apps were displaying languages correctly even before I installed these extra fonts
14:02:44
smokeink
I can type any language I want inside xTerm and it'll display all characters just fine. Doing the same in that simple X11 IME app above results in garbage, it can't figure out the fonts , except for Japanese and Russian (and I think Traditional Chinese works because it's using the Japanese font)
14:18:07
smokeink
XCreateFontSet uses "-*-*--*-*-*-*" so it should be able to find the necessary fonts... Could the problem be that XLoadQueryFont(display,"*9x15"); ??
14:59:20
jackdaniel
_heisig: just a vague plan to eat dinner in a restaurant near the beach. We'd love to meet with you if you are interested :)