SEDRA III was the last file based SEDRA distribution. It still has value for other sites wishing to provide thier own lexical tagging and we provide it here
as a downloadable resource.
The Virtual keyboard in use on the SEDRA site derives from software by Rob Garrison (mottie). You can find his original souce on GitHub
. Adding fully functional Syriac capability required some modifications to Rob's software and those changes can also be found on GitHub
The fonts used in the Sedra application are based on the fonts provided by Beth Mardutho. In order to use these fonts in a web page you need
- The font files
- The CSS that define the fonts
- HTML and CSS that is specific to your use case.
The first two resources you can download using the links provided. The third you will write yourself but will be similar to the following examples:
<p style="direction: rtl; font-size: 2em; font-family: SertoJerusalem;" >ܒܟܬܒܗ</p>
<p style="direction: rtl; font-size: 2em; font-family: EstrangeloEdessa;" >ܒܟܬܒܗ</p>
The following font families are defined in the files we have provided: EastSyriacAdiabene, EastSyriacCtesiphon, EstrangeloEdessa, EstrangeloAntioch, SertoBatnan, SertoJerusalem, SertoKharput, SertoMalankara, SertoMardin, EstrangeloMidyat, EstrangeloNisibin, EstrangeloQuenneshrin, EstrangeloTalada, EstrangeloTurAbdin, SertoUrhoy.
Directionally Responsive Input
<input class="bidirectional-text" style="font-family: SertoJerusalem;" />
// Any Syriac code page characters within the text box?
var matches = $('input.bidirectional-text').val().match(/[\u0700-\u074F]/g);
// RTL if any Syriac is present
// LTR if no Syriac is present