FONTAINE 1.0

Syriac.h

Go to the documentation of this file.
00001 //
00002 // The Fontaine Font Analysis Project 
00003 // 
00004 // Copyright (c) 2009 by Edward H. Trager
00005 // All Rights Reserved
00006 // 
00007 // Released under the GNU GPL version 2.0 or later.
00008 //     
00009 
00010 
00011 //
00012 // Syriac.h
00013 //
00014 
00015 #ifndef ORTHOGRAPHY_DATA
00016 #include "../OrthographyData.h"
00017 #endif
00018 
00019 #ifndef SYRIAC
00020 #define SYRIAC
00021 
00022 namespace Syriac{
00023 
00024 //
00025 // Unicode values
00026 //
00027 UINT32 values[]={
00028         START_RANGE_PAIR,
00029         0x0710,0x072c,
00030         END_OF_DATA
00031 };
00032 
00033 //
00034 // Sample sentences
00035 // 
00036 const char *sentences[]={
00037         // Start of the Gospel of John -- from http://www.aifoundations.org/peshitta/john.html
00038         "ܒ݁ܪܺܫܺܝܬ݂ ܐܺܝܬ݂ܰܘܗ݈ܝ ܗ݈ܘܳܐ ܡܶܠܬ݂ܳܐ ܘܗܽܘ ܡܶܠܬ݂ܳܐ ܐܺܝܬ݂ܰܘܗ݈ܝ ܗ݈ܘܳܐ ܠܘܳܬ݂ ܐܰܠܳܗܳܐ ܘܰܐܠܳܗܳܐ ܐܺܝܬ݂ܰܘܗ݈ܝ ܗ݈ܘܳܐ ܗܽܘ ܡܶܠܬ݂ܳܐ܂",
00039         END_OF_DATA
00040 };
00041 
00042 
00043 //
00044 // 
00045 //
00046 OrthographyData data={
00047         "Syriac", // Common name
00048         "ܠܫܢܐ ܣܘܪܝܝܐ", // Native name
00049         0x0710, // SYRIAC LETTER ALAPH
00050         values,
00051         "ܐ ܒ ܓ ܔ ܕ ܩ ܫ ܬ", // Sample characters
00052         sentences
00053 };
00054 
00055 const OrthographyData *pData = &data;
00056 
00057 }; // end of namespace
00058 
00059 #endif