Re: Macros



Kaixo!

On Sun, Oct 07, 2001 at 08:01:00PM +0300, Uri David Akavia wrote:

> Hello.
> I was wandering if Pango will support macros (or custom made ligatures)?
> I'm refering to the fact that sometimes you need to type in another
> language, one that you aren't fluent in, or know the keyboard.
> In this situation, I know a lot of people that create their own
> ligatures (for example ss~ becomes the german beta).

You mean the text file *encodes* that way ?
I hope pango will never allow for such a bad thing.

> Is this even Pango's job, or is it a simple automatic search & replace
> while typing (which should be defined in a higher level)?

It is not pango's job to pervert unicode/iso10646 standards.
The text passed to pango must be properly encoded, period.

Now, a higher level could allow for a way to type using any sort of means.
There may be an input method with transliteration where you can type "ss~".

Beta versions of Gtk have several transliteration input methods provided
for example.

Note also that XFree86 comes in standard with composing; in particular for the
german ss ligature you only need to type three keys: compose + s + s.
a lot of posibilities already exist, and at least all accentuated letters
based on latin script can be typed (well, maybe not the ones using more than
one accent at once).
Look at /usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose, the lines with
'<Multi_key>' (it is the name of the compose key).

If you don't have that file I can send you mine.

> Uri David Akavia
> 
> 
> 
> 
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

-- 
Ki ça vos våye bén,
Pablo Saratxaga

http://www.srtxg.easynet.be/		PGP Key available, key ID: 0x8F0E4975




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]