From: Sharon C. <sha...@si...> - 2015-06-08 12:39:00
|
<html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> The standard way to display an incorrect diacritic that has no appropriate base is to use a dotted circle - 25CC. For example:<br> <br> <img src="cid:par...@si..." alt=""><br> <br> So I would suggest inserting a dotted circle where you have no base character, or where there are two diacritics in a row (if they are not allowed to stack). An insertion rule for the latter would look like this:<br> <br> diac _ diac > @1 dottedCircle:3 @3;<br> <br> The ":3" means that the dotted circle is associated with the extra diacritic. So if you select the diacritic you will also select the circle.<br> <br> <br> <div class="moz-cite-prefix">On 6/8/2015 3:43 AM, Martin Hosken wrote:<br> </div> <blockquote cite="mid:20150608154356.22629531@sil-mh7" type="cite"> <pre wrap="">Dear John, </pre> <blockquote type="cite"> <pre wrap="">my name is Jon Brown and I am using graphite to program a font to behave correctly and I want to code the following effects, can you provide me with suggestions: (These two involve "smart" diacritics behavior) 1. If there is no base character, then diacritics mark will not display. I want diacritics mark to lock if first condition is not met. In other words, if the user presses a diacritics key and if the previous character is not a base character then the diacritics will not appear on the screen. 2. If there is already a base character followed by a diacritics then I want, then next diacritics to not display. I don't want diacritics overlapping. If the above cannot be achieved with font, can it be accomplished with programming a keyboard such as Tavultesoft keyman? </pre> </blockquote> <pre wrap=""> <snip> As to diacritics not overlapping. That is a question the font and graphite can help with. I'm not sure which script you are interested in. But with Graphite you can have diacritics stack outwards from a base, or assemble themselves into any visual representation you want. But I would not advise implementing fonts that make things disappear (even though you can), because then it makes it nearly impossible for a user to fix their typing mistakes. And the typing mistakes, however you may make them look, are going to cause problems when it comes to searching. The strings will not be the same and so the search engine will seem to miss things. </pre> </blockquote> <br> </body> </html> |