• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

Urdu.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 // Urdu.h
00013 //
00014 
00015 #ifndef ORTHOGRAPHY_DATA
00016 #include "../OrthographyData.h"
00017 #endif
00018 
00019 #ifndef URDU
00020 #define URDU
00021 
00022 namespace Urdu{
00023 
00024 //
00025 // Unicode values -- Only those beyond basic Arabic
00026 //
00027 UINT32 values[]={
00028         0x0679, // TTEH
00029         0x067e, // PEH
00030         0x0686, // TCHEH
00031         0x0688, // DDAL
00032         // 0x0690, // DAL WITH FOUR DOTS ABOVE -- ONLY IN OLD URDU, NOT CURRENT
00033         0x0691, // RREH
00034         0x0698, // JEH
00035         0x06a9, // KEHEH
00036         0x06af, // GAF
00037         0x06ba, // NOON GHUNNA (DOTLESS TERMINAL NOON)
00038         0x06be, // HEH DOACHASHMEE
00039         0x06c0, // HEH WITH YEH ABOVE
00040         0x06c1, // HEH GOAL
00041         0x06c2, // HEH GOAL WITH HAMZA (LIGATURE)
00042         0x06c3, // TEH MARBUTA GOAL
00043         0x06cc, // FARSI YEH
00044         0x06d2, // YEH BAREE
00045         0x06d3, // YEH BAREE WITH HAMZA (LIGATURE)
00046         0x06d4, // URDU FULL STOP (PUNCTUATION)
00047         START_RANGE_PAIR,
00048         0x06f0,0x06f9,
00049         END_OF_DATA
00050 };
00051 
00052 //
00053 // Sample sentences
00054 // 
00055 const char *sentences[]={
00056         "تمام انسان آزاد اور حقوق و عزت کے اعتبار سے برابر پیدا ہوۓ ہیں۔",
00057         END_OF_DATA
00058 };
00059 
00060 
00061 //
00062 // 
00063 //
00064 OrthographyData data={
00065         "Urdu", // Common name
00066         "اُردو", // Native name
00067         0x0679, // ARABIC LETTER TTEH : ṭe
00068         values,
00069         "ٹ پ چ ڈ ڐ ژ ڙ ے", // Sample characters
00070         sentences
00071 };
00072 
00073 const OrthographyData *pData = &data;
00074 
00075 }; // end of namespace
00076 
00077 #endif

Generated on Mon Jan 24 2011 for FONTAINE by  doxygen 1.7.1