Tag: unicode

Should UI strings in source code have non-ASCII characters?

There is a discussion going on at desktop-devel about whether the UI strings in the source code should also have non-ASCII characters. For example, should typical strings with double-quotes have those fancy Unicode double quotes? printf(_(“Could not find file “%s”n”)); instead of printf(_(“Could not find file “%s”n”)); The general view from the replies is to …

Continue reading

Permanent link to this article: https://blog.simos.info/should-ui-strings-in-source-code-have-non-ascii-characters/

How to easily modify a program in Ubuntu (updated)?

Some time ago we talked about how to modify easily a program in Ubuntu. We gave as an example the modification of gucharmap; we got the deb source package, made the change, compiled, created new .deb files and installed them. We go the same (well, similar) route here, by modifying the gtk+ library (!!!). The …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-easily-modify-a-program-in-ubuntu-updated/

Testing the updated IM support in GTK+

In Improving input method support in GTK+-based apps, we talked about some work to update the list of compose sequences that GTK+ knows to the latest version that comes from Xorg. From 691 compose sequences, we now support over 5000. The patch has landed in GTK+ (trunk), and here are instructions for testing. If you …

Continue reading

Permanent link to this article: https://blog.simos.info/testing-the-updated-im-support-in-gtk/

Keyboard layout for combining diacritics

Typically, if you want to type characters with accents, such as á, ë, ś, you need to configure a suitable keyboard layout that includes compose sequences for those characters. The produced characters are what we call as precomposed characters; which were included in the early stages of Unicode. Nowdays, the idea is that you do …

Continue reading

Permanent link to this article: https://blog.simos.info/keyboard-layout-for-combining-diacritics/

Typing squiggles and dots in GNOME and GTK+ applications

Garrett asks how to type squiggles and dots in GNOME; that is, how to type characters such as á à ä ã â ą ȩ ę ő ǰ ǩ ǒ ġ ṅ ȯ ṁ ė. There are several ways, and one can choose depending on how frequently they need to type them or how much …

Continue reading

Permanent link to this article: https://blog.simos.info/typing-squiggles-and-dots-in-gnome-and-gtk-applications/

Improving input method support in GTK+-based apps

When a bug report gets long with many comments, it gets more difficult for someone to get the full picture of what is going on. I’ll attempt to summarise here what’s being said in Bug 321896, Synch gdkkeysyms.h / gtkimcontextsimple.c with X.org 6.9/7.0. GTK+-based applications use by default the GTK+ Input Method in order to …

Continue reading

Permanent link to this article: https://blog.simos.info/improving-input-method-support-in-gtk-based-apps/

%d bloggers like this: