<div dir="ltr"><div><div>Tom, <br><br>Walter Bender (cc'ed) is very much our keyboard expert.<br><br></div>cjl<br></div>Sugar Labs Translation Team Coordinator<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Mon, Jun 24, 2013 at 6:53 AM, Tom Parker <span dir="ltr"><<a href="mailto:tom@carrott.org" target="_blank">tom@carrott.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
I'm looking at how you enter a macron for Māori language users.<br>
<br>
It seems that the olpc us international keyboard binds a ̄  COMBINING MACRON (unicode U+0304) to algr + hyphan. When typed after the letter a you get ā which is similar to but not the same as ā LATIN SMALL LETTER A WITH MACRON (unicode U+0101).<br>


<br>
Issues I've noted with a small amount of testing:<br>
<br>
On older builds, Write does not correctly load files containing the combining macron.<br>
The combining macron is not rendered at the correct height for lower case letters. (on older builds this seems to be the case all the time, on newer builds, it is rendered correctly after loading a file until you delete a following character the on the same line, then it jumps up)<br>


You can have more than one combining macron, they stack.<br>
You have to delete twice, once to delete the macron and again to delete the character.<br>
<br>
Have these issues come up before? I don't see any. I will raise tickets for the bugs rendering the macron in the latest version of write shortly. I'm not sure if anyone wants a ticket for older builds? Obviously stacking macrons is by-design when using the combining macron character (see <a href="https://twitter.com/glitchr_/" target="_blank">https://twitter.com/glitchr_/</a> for more improbable outcomes of combining characters, perhaps your browser will crash).<br>


<br>
I haven't yet experimented with entering the ā U+0101 characters into sugar (tomorrow!)<br>
<br>
Apparently on Windows, the Māori keyboard is set up such that when you hit the grave (apparently this is what I have always called the backtick) key and then one of the vowels, you get the macron version of the vowel. I haven't seen this in action but Māori typists claim it is very efficient.<br>


<br>
Gnome on Ubuntu on my laptop binds right-alt-a to ā U+0101 when using the Māori keyboard layout. I'm not sure how Maori typists feel about this inconsistency with windows.<br>
<br>
When you choose the language in sugar, can this change the keyboard layout too? If not, what is the recommended way to configure this?<br>
<br>
How complex is it to change the localization of the keyboard for the Maori language? The xkb files don't look too complicated. Is the grave - vowel = macron vowel possible while still preserving the backtick for shell scripting? I haven't seen the laptops in question but I'm told they have the Australian simplified key caps, so changing the existing alt-gr mappings to render macron vowels (ie to mimic the Maori keyboard option on Gnome-Ubuntu) instead of the existing mappings won't confuse the key caps.<br>


<br>
Obviously touching all the laptops to change how the keyboard works is a pain and the change is potentially erased by future updates.<br>
______________________________<u></u>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org" target="_blank">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/<u></u>listinfo/devel</a><br>
</blockquote></div><br></div>