Fix sample errors
authorKris Kowal <kris.kowal@cixar.com>
Sun, 2 Sep 2012 21:11:35 +0000 (14:11 -0700)
committerKris Kowal <kris.kowal@cixar.com>
Sun, 2 Sep 2012 21:11:35 +0000 (14:11 -0700)
samples/index.html
samples/index.js

index b798ea6..30862bd 100644 (file)
         because of the combination of "y" below and "a" above.</p>
 
         <p>Mordor: <span class="transcribe">Mordor</span>. Includes both medial
-        and final R by way of "romen" and "ore".  Also showcases the "rd"
-        cluster with "arda".</p>
+        and final R by way of "romen" and "ore".  Does not use "arda" for the
+        "rd" cluster.  That is restricted to Classical mode, and while the
+        tilde above does cause some tengwa to have the same meaning as they
+        would have in General Use mode, it is a coincidence.  The tilde
+        prefixes the value with the corresponding nasal.</p>
 
         <p>Hwesta Sindarinwa: <span class="transcribe">Hwesta Sindarinwa</span>.
         Interesting because of use of tengwa "vala" medially in "sindarinwa"
index 68697a8..115d972 100644 (file)
@@ -37,10 +37,13 @@ function report(latin, mode, font) {
 });
 
 var GeneralUse = require("../general-use");
+var TengwarParmaite = require("../tengwar-parmaite");
 $(".transcribe").each(function () {
     var element = this;
     element.classList.remove("transcribe");
-    element.innerHTML = GeneralUse.transcribe(element.innerHTML);
+    element.innerHTML = GeneralUse.transcribe(element.innerHTML, {
+        font: TengwarParmaite
+    });
     element.classList.add("tengwar");
     element.classList.add("parmaite");
 });