[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: Preliminary Unicode support patch, please test



Here is an updated version of the unicode patch I posted last week:

http://homepage.hispeed.ch/loehrer/downloads/unicode-patch-20071013.diff

What is new:

* Replaced text inherits voice personality from original character

* There are now two ways to customize the character replacement. This
  only applies to chunks of text, i.e. text spoken via the function
  dtk-speak. Speaking single characters is not affected by these
  customization options:

1. The variable dtk-unicode-character-replacement-alist maps character
codes to strings. This alist is checked first. If there is a match
here, no furthur processing is done.

2. The variable dtk-unicode-name-transformation-ruels-alist kicks in
after the lookup is done in the unicode data file. This alist maps
regexps to functions. Basically, if the name of the character matches
one of the regexps, it is passed to the corresponding function which
is expected to return a somehow transformed version of the character
name. For example, this transformation step is currently used to map
things like "greek small letter lambda" to "lambda". If there is no
match, the name is left unchanged.

Please comment on the usefulness of these customization options.

Best regards, Lukas

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog