OSDN Git Service

eSpeak synthDriver: when speaking characters in character mode, use the correct...
[nvdajp/nvdajp.git] / source / synthDrivers / espeak.py
index 37ffde2..d7ebac5 100644 (file)
@@ -64,7 +64,7 @@ class SynthDriver(SynthDriver):
                        elif isinstance(item,speech.IndexCommand):\r
                                textList.append("<mark name=\"%d\" />"%item.index)\r
                        elif isinstance(item,speech.CharacterModeCommand):\r
-                               textList.append("<say-as type=\"spell-out\">" if item.state else "</say-as>")\r
+                               textList.append("<say-as interpret-as=\"characters\">" if item.state else "</say-as>")\r
                        elif isinstance(item,speech.LangChangeCommand):\r
                                if langChanged:\r
                                        textList.append("</voice>")\r