|
Please point out incorrect or missing information.
Forum rules
To post on the forum please PM James Dahl for posting rights. This is sadly necessary due to spam bots.
by Reqrezentin » Fri Jan 20, 2012 9:02 am
How did you manage to get down to Abdullahi Yusuf? There's one extra guy who didn't even exist but it's great work.
Anyway, excellent website though, I am saddened I didn't stumble upon this before. I've previously read your work though it has not aroused any curiosity in me and left me thinking that you are one retarded monkey, I have no come to other terms with those thoughts. Please don't ban me for insulting you, I need a home.
-
Reqrezentin
-
- Posts: 10
- Joined: Fri Jan 20, 2012 8:46 am
by James Dahl » Fri Jan 20, 2012 7:22 pm
I don't mind, everyone is welcome here :v
Which names are you referring to?
-
James Dahl
- Site Admin
-
- Posts: 221
- Joined: Mon Oct 06, 2008 5:19 am
by James Dahl » Sat Jan 21, 2012 8:17 am
Fixed, thanks man
BTW what do you think of the Cismaaniya font?
-
James Dahl
- Site Admin
-
- Posts: 221
- Joined: Mon Oct 06, 2008 5:19 am
by Reqrezentin » Sat Jan 21, 2012 10:35 pm
It's excellent. How did you do it? I've been trying to do it for a long time but never in unicode. Do you have the codes?
-
Reqrezentin
-
- Posts: 10
- Joined: Fri Jan 20, 2012 8:46 am
by James Dahl » Sun Jan 22, 2012 12:53 am
I had to make my own font, but there actually is a unicode range reserved for Cismaaniya, it's just never supported by any fonts
-
James Dahl
- Site Admin
-
- Posts: 221
- Joined: Mon Oct 06, 2008 5:19 am
by Reqrezentin » Sun Jan 22, 2012 5:30 am
You've made it from scratch? Sure ok. Cismaaniya isn't recognized by Unicode, you'd have to translate it, as you've done. So what I am wondering is, if a website is not based on php, could it still be used?
-
Reqrezentin
-
- Posts: 10
- Joined: Fri Jan 20, 2012 8:46 am
by James Dahl » Sun Jan 22, 2012 6:00 am
You're wrong it IS supported by Unicode, that's not the problem heheh http://unicode.org/charts/PDF/Unicode-4.0/U40-10480.pdfThe problem is if you copied the Cismaaniya and pasted it somewhere else it will show up as unknown characters because the font on the other website won't support Cismaaniya characters. If you installed the Cismaaniya font on that site and used it though, it would
-
James Dahl
- Site Admin
-
- Posts: 221
- Joined: Mon Oct 06, 2008 5:19 am
by Reqrezentin » Sun Jan 22, 2012 7:24 am
Ok, I understand the problem is how it appears on websites where it is not supported. So where's the code? Is it .php? How would it work if I wanted to put it on a website that isn't in .php?
-
Reqrezentin
-
- Posts: 10
- Joined: Fri Jan 20, 2012 8:46 am
by James Dahl » Sun Jan 22, 2012 10:38 am
Well I wrote some PHP code to transliterate text, let me post it below here: - Code: Select all
function AbtirsiLanguageConvert($text, $abtirsiLanguageSetting, $addSpan = 1) { $newtext = $text; if($abtirsiLanguageSetting == 2) { $somali = array("Aa", "aa", "Ee", "ee", "Ii", "ii", "Oo", "oo", "Uu", "uu", "A", "a", "E", "e", "I", "i", "O", "o", "U", "u", "B", "b", "Th", "th", "T", "t", "J", "j", "X", "x", "Kh", "kh", "Dh", "dh", "D", "d", "R", "r", "Sh", "sh", "Sc", "sc", "Dc", "dc", "Tc", "tc", "Zc", "zc", "Z", "z", "C", "c", "S", "s", "G", "g", "F", "f", "Q", "q", "K", "k", "L", "l", "M", "m", "N", "n", "H", "h", "Y", "y", "W", "w", "'"); $arabic = array("ع", "َا", //Aa "ى", "َى", //Ee "إ", "ِي", //Ii "و", "ُو", //Oo "و", "ُو", //Uu "ا", "َ", //A "ى", "َ", //E "إ", "ِ", //I "و", "ُ", //O "و", "ُ", //U "ب", "ب", //Ba "ث", "ث", //Tha "ت", "ت", //Ta "ج", "ج", //Jim "ح", "ح", //Xa "خ", "خ", //Kha "ذ", "ذ", //Dhal "د", "د", //Dal "ر", "ر", //Reh "ش", "ش", //Shin "ص", "ص", //Sad "ض", "ض", //Dad "ط", "ط", //Ta "ط", "ط", //Za "ز", "ز", //Zayn "ع", "ع", //Ayn "س", "س", //Sin "غ", "غ", //Ghayn "ف", "ف", //Fa "ق", "ق", //Qaf "ك", "ك", //Kaf "ل", "ل", //Lam "م", "م", //Mim "ن", "ن", //Nun "ه", "ه", //Ha "ي", "ي", //Ya "و", "و", //Waw "ء"); //Hamza $newtext = str_replace($somali, $arabic, $text); } if($abtirsiLanguageSetting == 3) { $somali = array("Aa", "aa", "Ee", "ee", "Oo", "oo", "Uu", "uu", "Ii", "ii", "A", "a", "E", "e", "I", "i", "O", "o", "U", "u", "B", "b", "T", "t", "J", "j", "X", "x", "Kh", "kh", "Dh", "dh", "D", "d", "R", "r", "Sh", "sh", "S", "s", "Z", "z", "C", "c", "G", "g", "F", "f", "Q", "q", "K", "k", "L", "l", "M", "m", "N", "n", "W", "w", "H", "h", "Y", "y", "'"); $cismaniya = array("𐒛", "𐒛", //Aa "𐒜", "𐒜", //Ee "𐒝", "𐒝", //Oo "𐒓", "𐒓", //Uu "𐒕", "𐒕", //Ii "𐒖", "𐒖", //A "𐒗", "𐒗", //E "𐒘", "𐒘", //I "𐒙", "𐒙", //O "𐒚", "𐒚", //U "𐒁", "𐒁", //Ba "𐒂", "𐒂", //Ta "𐒃", "𐒃", //Ja "𐒄", "𐒄", //Xa "𐒅", "𐒅", //Kha "𐒊", "𐒊", //Dha "𐒆", "𐒆", //Deel "𐒇", "𐒇", //Ra "𐒉", "𐒉", //Shiin "𐒈", "𐒈", //Sa "𐒈", "𐒈", //Sa for Z "𐒋", "𐒋", //Cayn "𐒌", "𐒌", //Ga "𐒍", "𐒍", //Fa "𐒎", "𐒎", //Qaaf "𐒏", "𐒏", //Kaaf "𐒐", "𐒐", //Laan "𐒑", "𐒑", //Miin "𐒒", "𐒒", //Nuun "𐒓", "𐒓", //Waw "𐒔", "𐒔", //Ha "𐒕", "𐒕", //Ya "𐒀"); //Alef/Hamza $newtext = str_replace($somali, $cismaniya, $text); if($addSpan == 1) { $newtext = '<span class="osmanya">'.$newtext.'</span>'; } } if($abtirsiLanguageSetting == 4) { $somali = array("Ii", "ii", "Aa", "aa", "Ee", "ee", "Oo", "oo", "A", "a", "E", "e", "I", "i", "O", "o", "U", "u", "B", "b", "T", "t", "J", "j", "X", "x", "Kh", "kh", "Dh", "dh", "D", "d", "R", "r", "Sh", "sh", "S", "s", "Z", "z", "C", "c", "G", "g", "F", "f", "Q", "q", "K", "k", "L", "l", "M", "m", "N", "n", "W", "w", "H", "h", "Y", "y", "'"); $borama = array("𐒜", "𐒜", //Ii "𐒖", "𐒖", //Aa "𐒗", "𐒗", //Ee "𐒙", "𐒙", //Oo "𐒖", "𐒖", //A "𐒗", "𐒗", //E "𐒘", "𐒘", //I "𐒙", "𐒙", //O "𐒚", "𐒚", //U "𐒁", "𐒁", //Ba "𐒂", "𐒂", //Ta "𐒃", "𐒃", //Ja "𐒄", "𐒄", //Xa "𐒅", "𐒅", //Kha "𐒊", "𐒊", //Dha "𐒆", "𐒆", //Deel "𐒇", "𐒇", //Ra "𐒉", "𐒉", //Shiin "𐒈", "𐒈", //Sa "𐒈", "𐒈", //Sa for Z "𐒋", "𐒋", //Cayn "𐒌", "𐒌", //Ga "𐒍", "𐒍", //Fa "𐒎", "𐒎", //Qaaf "𐒏", "𐒏", //Kaaf "𐒐", "𐒐", //Laan "𐒑", "𐒑", //Miin "𐒒", "𐒒", //Nuun "𐒓", "𐒓", //Waw "𐒔", "𐒔", //Ha "𐒕", "𐒕", //Ya "𐒀"); //Alef/Hamza $newtext = str_replace($somali, $borama, $text); if($addSpan == 1) { $newtext = '<span class="borama">'.$newtext.'</span>'; } } if($abtirsiLanguageSetting == 1) { $somali = array("Caa", "Caa", "Cee", "cee", "Cii", "cii", "Coo", "coo", "Cuu", "cuu", "Ca", "ca", "Ce", "ce", "Ci", "ci", "Co", "co", "Cu", "cu", "Aa", "aa", "Ee", "ee", "Ii", "ii", "Oo", "oo", "Uu", "uu", "X", "x", "c"); $english = array("ʿĀ", "ʿā", //Caa "ʿAy", "ʿay", //Cee "ʿĪ", "ʿī", //Cii "ʿŌ", "ʿō", //Coo "ʿŪ", "ʿū", //Cuu "ʿA", "ʿa", //Ca "ʿE", "ʿe", //Ce "ʿI", "ʿi", //Ci "ʿO", "ʿo", //Co "ʿU", "ʿu", //Cu "Ā", "ā", //Aa "Ay", "ay", //Ee "Ī", "ī", //Ii "Ō", "ō", //Oo "Ū", "ū", //Uu "Ḥ", "ḥ", //X "ʿ"); //c $newtext = str_replace($somali, $english, $text); } return $newtext; }
But that's not actually necessary, all you need to do is use the web fonts I made is copy the SVG fonts I made to where your stylesheet is, and add these styles: - Code: Select all
/* Osmanya Font */ @font-face { font-family: Cismaaniya; font-weight: normal; src: local("Cismaaniya Normal"), url('CismaaniyaNormal.svg') format('svg'); } @font-face { font-family: Cismaaniya; font-weight: normal; font-style: italic; src: local("Cismaaniya Italic"), url('CismaaniyaItalic.svg') format('svg'); } @font-face { font-family: Cismaaniya; font-weight: bold; src: local("Cismaaniya Bold"), url('CismaaniyaBold.svg') format('svg'); }
/* Osmanya Font */ @font-face { font-family: Borama; font-weight: normal; src: local("Borama Normal"), url('BoramaNormal.svg') format('svg'); } @font-face { font-family: Borama; font-weight: normal; font-style: italic; src: local("Borama Italic"), url('BoramaItalic.svg') format('svg'); } @font-face { font-family: Borama; font-weight: bold; src: local("Borama Bold"), url('BoramaBold.svg') format('svg'); }
.osmanya { font-family: Cismaaniya; } .borama { font-family: Borama; }
-
James Dahl
- Site Admin
-
- Posts: 221
- Joined: Mon Oct 06, 2008 5:19 am
Return to Corrections, Additions
Who is online
Users browsing this forum: No registered users and 1 guest
|
|