Browse Source

initial commit

master
Tobias Diekershoff 6 years ago
commit
8eeedc3a3c
54 changed files with 179682 additions and 0 deletions
  1. +50
    -0
      README.md
  2. +169
    -0
      php-typography/change_log-php.txt
  3. +425
    -0
      php-typography/diacritics/en-US.php
  4. +1735
    -0
      php-typography/lang/bg.php
  5. +1052
    -0
      php-typography/lang/ca.php
  6. +3719
    -0
      php-typography/lang/cs.php
  7. +6824
    -0
      php-typography/lang/cy.php
  8. +1250
    -0
      php-typography/lang/da.php
  9. +14576
    -0
      php-typography/lang/de.php
  10. +599
    -0
      php-typography/lang/el-Mono.php
  11. +1114
    -0
      php-typography/lang/el-Poly.php
  12. +8628
    -0
      php-typography/lang/en-GB.php
  13. +5022
    -0
      php-typography/lang/en-US.php
  14. +3051
    -0
      php-typography/lang/es.php
  15. +3803
    -0
      php-typography/lang/et.php
  16. +268
    -0
      php-typography/lang/eu.php
  17. +396
    -0
      php-typography/lang/fi.php
  18. +1279
    -0
      php-typography/lang/fr.php
  19. +6212
    -0
      php-typography/lang/ga.php
  20. +2383
    -0
      php-typography/lang/gl.php
  21. +3097
    -0
      php-typography/lang/grc.php
  22. +1578
    -0
      php-typography/lang/hr.php
  23. +13505
    -0
      php-typography/lang/hu.php
  24. +771
    -0
      php-typography/lang/ia.php
  25. +333
    -0
      php-typography/lang/id.php
  26. +4299
    -0
      php-typography/lang/is.php
  27. +518
    -0
      php-typography/lang/it.php
  28. +545
    -0
      php-typography/lang/la.php
  29. +1615
    -0
      php-typography/lang/lt.php
  30. +663
    -0
      php-typography/lang/mn-Cyrl.php
  31. +27307
    -0
      php-typography/lang/no.php
  32. +4194
    -0
      php-typography/lang/pl.php
  33. +426
    -0
      php-typography/lang/pt.php
  34. +789
    -0
      php-typography/lang/ro.php
  35. +5104
    -0
      php-typography/lang/ru.php
  36. +697
    -0
      php-typography/lang/sa.php
  37. +2857
    -0
      php-typography/lang/sh-Cyrl.php
  38. +2875
    -0
      php-typography/lang/sh-Latn.php
  39. +2586
    -0
      php-typography/lang/sk.php
  40. +1193
    -0
      php-typography/lang/sl.php
  41. +2665
    -0
      php-typography/lang/sr-Cyrl.php
  42. +4835
    -0
      php-typography/lang/sv.php
  43. +659
    -0
      php-typography/lang/tr.php
  44. +2092
    -0
      php-typography/lang/uk.php
  45. +309
    -0
      php-typography/lang/zh-Latn.php
  46. +252
    -0
      php-typography/lang_unformatted/hyph-la.tex
  47. +27303
    -0
      php-typography/lang_unformatted/hyph-no.tex
  48. +63
    -0
      php-typography/lang_unformatted/template.txt
  49. +37
    -0
      php-typography/php-parser/change_log_parser.txt
  50. +1166
    -0
      php-typography/php-parser/parseHTML.php
  51. +511
    -0
      php-typography/php-parser/parseText.php
  52. +25
    -0
      php-typography/php-parser/php-parser.php
  53. +2196
    -0
      php-typography/php-typography.php
  54. +62
    -0
      typography.php

+ 50
- 0
README.md View File

@ -0,0 +1,50 @@
Typography Addon
================
This addpn uses the [php typography](http://kingdesk.com/projects/php-typography/)
library by KINGdesk to enhance the typography of postings in friendica.
The addon uses the language detection capabilities of friendica to select the
approproate typographic set or rules.
ToDo
----
* write some CSS to enhance the typography of stuff like ALL CAPS etc. a bit
further, now that they are identified and marked.
* There was one thing in the library that I had to comment out to get rid of
many warnings (see php-typography.php lines 1964 and following) which should
be fixed in a better way.s
History
-------
* 2014-12-29: Version 0.1, initial release
Author
------
* [Tobias Diekershoff](https://f.diekershoff.de/profile/tobias)
License
-------
This addon is licensed under the terms of the [GNU GPL 2.0](https://www.gnu.org/licenses/gpl-2.0.html)
as the underlying library uses this license.
Copyright (C) 2014 Tobias Diekershoff
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.

+ 169
- 0
php-typography/change_log-php.txt View File

@ -0,0 +1,169 @@
1.21 - December 31, 2009
Fixed bug in custom diacritic handling
1.20 - December 20, 2009
Resolved uninitiated variable
Added HTML5 elements to parsing algorithm for greater contextual awareness
Updated to PHP Parser 1.20
1.19 - December 1, 2009
Fixed bug where dewidow functionality would add broken no-break spaces to the end of texts, and smart_exponents would drop some of the resulting text.
Declared encoding in all instances of mb_substr to avoid conflicts
Corrected a few instances of undeclared variables.
Updated to PHP Parser 1.19
1.18 - November 10, 2009
Added Norwegian Hyphenation Patterns
1.17 - November 9, 2009
Fixed bug in diacritic handling
1.16 - November 4, 2009
Added US English list of all words containing diacritics to `/diacritics/en-US.php`
Added get_diacritic_languages() method
Added set_smart_diacritics() method
Added set_diacritic_language() method
Added set_diacritic_custom_replacements() method
Added smart_diacritics() method
Improved smart quotes and dashes to be sensitive to adjacent diacritic characters.
1.15 - October 21, 2009
Depreciated set_smart_quotes_language()
Added set_smart_quotes_primary()
Added set_smart_quotes_secondary()
1.14 - September 8, 2009
Improved space_collapse method
Corrected bug in smart quote and single character word handling where the "0" character may be improperly duplicated
1.13 - August 31, 2009
Added set_space_collapse and space_collapse methods
1.12 - August 17, 2009
Corrected multibyte character error that caused set_single_character_word_spacing() to drop words under rare circumstances
1.11 - August 14, 2009
Added language specific quote handling (for single quotes, not just double) for English, German and French quotation styles
1.10 - August 14, 2009
Added set_smart_quotes_language() for unique handling of English, German and French quotation styles
Corrected multibyte character error that caused set_single_character_word_spacing() to drop words under rare circumstances
Expanded the multibyte character set recognized as valid word characters for improved hyphenation
Updated to PHP Parser 1.10
1.9 - August 12, 2009
Added option to force single character words to wrap to new line (unless they are widows).
Fixed bug where hyphenation pattern settings were not initialized with multiple phpTypography class instances.
1.8 - August 4, 2009
Fixed date handling in smart_math() and smart_dashes() methods
Fixed style_caps() method to be friendly with soft-hyphens
1.7 - July 28, 2009
Reformatted language files with line returns after each key=>value pair in an array
1.6 - July 28, 2009
Efficiency Optimizations ( approximately 25% speed increase ) Thanks Jenny!
1.5 - July 27, 2009
Added the set_hyphenate_title_case() method to exclude hyphenation of capitalized (title case) words to help protect proper nouns
Added Hungarian Hyphenation Pattern
1.4 - July 23, 2009
Updated to PHP Parser 1.4 (fixed a hyphenation problem where pre-hyphenated words were processed again)
1.3 - July 23, 2009
Uninitialized variables corrected throughout.
Use of 2 instances of create_function() eliminated for performance gain
Cleaned up HTML character handling in process_feed(). No errors were identified prior to edit, but now it is consistent with how process() works.
1.2 - July 23, 2009
moved the processing of widow handling after hyphenation so that max-pull would not be compared to the length of the adjacent word, but rather the length of the adjacent word segment (i.e. that after a soft hyphen)
1.1 - July 22, 2009
By default, when class phpTypography is constructed, set_defaults is called. However, if you are going to manually set all settings, you can now bypass the set_defaults call for slightly improved performance. Just call `$typo = new phpTypography(FALSE)`
Added `html_entity_decode` to process_feed to avoid invalid character injection (according to XML's specs)
1.0.3 - July 17, 2009 =
Reverted use of the hyphen character to the basic minus-hyphen in words like "mother-in-law" because of poor support in IE6
1.0.2 - July 16, 2009
Corrected smart_math to not convert slashes in URLs to division signs
1.0 - July 15, 2009
Added test to phpTypography methods process() and process_feed() to skip processing if $isTitle parameter is TRUE and h1 or h2 is an excluded HTML tag
1.0 beta 9 - July 14, 2009
added catch-all quote handling, now any quotes that escape previous filters will be assumed to be closing quotes
1.0 beta 8 - July 13, 2009
Changed thin space injection behavior so that for text such as "...often-always?-judging...", the second dash will be wrapped in thin spaces
Corrected error where fractions were not being styled because of a zero-space insertion with the wrap hard hyphens functionality
Added default class to exclude: "noTypo"
1.0 beta 7 - July 10, 2009
added "/" as a valid word character so we could capture "this/that" as a word for processing (similar to "mother-in-law")
Corrected error where characters from the Latin 1 Supplement Block were not recognized as word characters
Corrected smart quote handling for strings of numbers
Added smart guillemet conversion as part of smart quotes: << and >> to ยซ and ยป
Added smart Single Low 9 Quote conversion as part of smart quotes: comma followed by non-space becomes Single Low 9 Quote
Added Single Low 9 Quote, Double Low 9 Quote and ยป to style_initial_character functionality
Added a new phpTypography method smart_math that assigns proper characters to minus, multiplication and division characters
Depreciated the phpTypography method smart_multiplication in favor of smart_math
Cleaned up some smart quote functionality
Added ability to wrap after "/" if set_wrap_hard_hyphen is TRUE (like "this/that")
1.0 beta 6 - July 9, 2009
Critical bug fix: RSS feeds were being disabled by previous versions. This has been corrected.
1.0 beta 5 - July 8, 2009
corrected error where requiring Em/En dash thin spacing "word-" would become "word โ€“" instead of "wordโ€“"
1.0 beta 4 - July 7, 2009
Added default encoding value to smart_quote handling to avoid PHP warning messages
1.0 beta 3 - July 6, 2009
corrected curling quotes at the end of block level elements
1.0 beta 2 - July 6, 2009
corrected multibyte character conflict in smart-quote handling that caused infrequent dropping of text
thin space injection included for en-dashes
1.0 beta 1 - July 3, 2009
initial release

+ 425
- 0
php-typography/diacritics/en-US.php View File

@ -0,0 +1,425 @@
<?php
/**
* Language: English (United States)
*
* An array of all words containing diacritics (and their non-diacritic
* alternatives that should be replaced), provided a legitimate English
* word does not exist without such diacritic characters (i.e.
* divorcรฉ & divorce, exposรฉ & expose, rรฉsumรฉ & resume ).
*
* In the form of $diacriticWords = array( key => value );
* where "key" is the needle and "value" is the replacement
**/
$diacriticLanguage = 'English (United States)';
$diacriticWords = array(
"a bas"=>"ร  bas",
"A bas"=>"ร€ bas",
"a la"=>"ร  la",
"A la"=>"ร€ la",
"a la carte"=>"ร  la carte",
"A la carte"=>"ร€ la carte",
"a la mode"=>"ร  la mode",
"A la mode"=>"ร€ la mode",
"a gogo"=>"ร  gogo",
"A gogo"=>"ร€ gogo",
"ago-go"=>"ร go-go",
"Ago-go"=>"ร€go-go",
"abbe"=>"abbรฉ",
"Abbe"=>"Abbรฉ",
"adios"=>"adiรณs",
"Adios"=>"Adiรณs",
"agrement"=>"agrรฉment",
"Agrement"=>"Agrรฉment",
"anime"=>"animรฉ",
"Anime"=>"Animรฉ",
"Ancien Regime"=>"Ancien Rรฉgime",
"angstrom"=>"รฅngstrรถm",
"Angstrom"=>"ร…ngstrรถm",
"anu"=>"aรฑu",
"Anu"=>"Aรฑu",
"ao dai"=>"รกo dร i",
"Ao dai"=>"รo dร i",
"aperitif"=>"apรฉritif",
"Aperitif"=>"Apรฉritif",
"applique"=>"appliquรฉ",
"Applique"=>"Appliquรฉ",
"apres-ski"=>"aprรจs-ski",
"Apres-ski"=>"Aprรจs-ski",
"arete"=>"arรชte",
"Arete"=>"Arรชte",
"attache"=>"attachรฉ",
"Attache"=>"Attachรฉ",
"auto-da-fe"=>"auto-da-fรฉ",
"Auto-da-fe"=>"Auto-da-fรฉ",
"acaรญ"=>"aรงaรญ",
"Acaรญ"=>"Aรงaรญ",
"belle epoque"=>"belle รฉpoque",
"Belle epoque"=>"Belle รฉpoque",
"bete noire"=>"bรชte noire",
"Bete noire"=>"Bรชte noire",
"betise"=>"bรชtise",
"Betise"=>"Bรชtise",
"blase"=>"blasรฉ",
"Blase"=>"Blasรฉ",
"boite"=>"boรฎte",
"Boite"=>"Boรฎte",
"Bon"=>"Bรถn",
"Bootes"=>"Boรถtes",
"boutonniere"=>"boutonniรจre",
"Boutonniere"=>"Boutonniรจre",
"bric-a-brac"=>"bric-ร -brac",
"Bric-a-brac"=>"Bric-ร -brac",
"cafe"=>"cafรฉ",
"Cafe"=>"Cafรฉ",
"canape"=>"canapรฉ",
"Canape"=>"Canapรฉ",
"Champs-Elysees"=>"Champs-ร‰lysรฉes",
"chateau"=>"chรขteau",
"Chateau"=>"Chรขteau",
"charge d'affaires"=>"chargรฉ d'affaires",
"Charge d'affaires"=>"Chargรฉ d'affaires",
"cause celebre"=>"cause cรฉlรจbre",
"Cause celebre"=>"Cause cรฉlรจbre",
"chaines"=>"chaรฎnรฉs",
"Chaines"=>"Chaรฎnรฉs",
"cinema verite"=>"cinรฉma vรฉritรฉ",
"Cinema verite"=>"Cinรฉma vรฉritรฉ",
"cliche"=>"clichรฉ",
"Cliche"=>"Clichรฉ",
"cloisonne"=>"cloisonnรฉ",
"Cloisonne"=>"Cloisonnรฉ",
"consomme"=>"consommรฉ",
"Consomme"=>"Consommรฉ",
"communique"=>"communiquรฉ",
"Communique"=>"Communiquรฉ",
"confrere"=>"confrรจre",
"Confrere"=>"Confrรจre",
"coopt"=>"coรถpt",
"Coopt"=>"Coรถpt",
"cortege"=>"cortรจge",
"Cortege"=>"Cortรจge",
"coup d'etat"=>"coup d'รฉtat",
"Coup d'etat"=>"Coup d'รฉtat",
"coup de grace"=>"coup de grรขce",
"Coup de grace"=>"Coup de grรขce",
"creche"=>"crรจche",
"Creche"=>"Crรจche",
"coulee"=>"coulรฉe",
"Coulee"=>"Coulรฉe",
"creme brulee"=>"crรจme brรปlรฉe",
"Creme brulee"=>"Crรจme brรปlรฉe",
"creme fraiche"=>"crรจme fraรฎche",
"Creme fraiche"=>"Crรจme fraรฎche",
"creme"=>"crรจme",
"Creme"=>"Crรจme",
"crepe"=>"crรชpe",
"Crepe"=>"Crรชpe",
"Creusa"=>"Creรผsa",
"crouton"=>"croรปton",
"Crouton"=>"Croรปton",
"crudites"=>"cruditรฉs",
"Crudites"=>"Cruditรฉs",
"Curacao"=>"Curaรงao",
"dais"=>"daรฏs",
"Dais"=>"Daรฏs",
"dau hoi"=>"dแบฅu hแปi",
"Dau hoi"=>"Dแบฅu hแปi",
"debutante"=>"dรฉbutante",
"Debutante"=>"Dรฉbutante",
"declasse"=>"dรฉclassรฉ",
"Declasse"=>"Dรฉclassรฉ",
"decolletage"=>"dรฉcolletage",
"Decolletage"=>"Dรฉcolletage",
"decollete"=>"dรฉcolletรฉ",
"Decollete"=>"Dรฉcolletรฉ",
"decor"=>"dรฉcor",
"Decor"=>"Dรฉcor",
"decoupage"=>"dรฉcoupage",
"Decoupage"=>"Dรฉcoupage",
"degage"=>"dรฉgagรฉ",
"Degage"=>"Dรฉgagรฉ",
"deja vu"=>"dรฉjร  vu",
"Deja vu"=>"Dรฉjร  vu",
"demode"=>"dรฉmodรฉ",
"Demode"=>"Dรฉmodรฉ",
"denouement"=>"dรฉnouement",
"Denouement"=>"Dรฉnouement",
"derailleur"=>"dรฉrailleur",
"Derailleur"=>"Dรฉrailleur",
"derriere"=>"derriรจre",
"Derriere"=>"Derriรจre",
"deshabille"=>"dรฉshabillรฉ",
"Deshabille"=>"Dรฉshabillรฉ",
"detente"=>"dรฉtente",
"Detente"=>"Dรฉtente",
"diamante"=>"diamantรฉ",
"Diamante"=>"Diamantรฉ",
"discotheque"=>"discothรจque",
"Discotheque"=>"Discothรจque",
"doppelganger"=>"doppelgรคnger",
"Doppelganger"=>"Doppelgรคnger",
"eclair"=>"รฉclair",
"Eclair"=>"ร‰clair",
"eclat"=>"รฉclat",
"Eclat"=>"ร‰clat",
"Eire"=>"ร‰ire",
"El Nino"=>"El Niรฑo",
"elan"=>"รฉlan",
"Elan"=>"ร‰lan",
"emigre"=>"รฉmigrรฉ",
"Emigre"=>"ร‰migrรฉ",
"entree"=>"entrรฉe",
"Entree"=>"Entrรฉe",
"entrepot"=>"entrepรดt",
"Entrepot"=>"Entrepรดt",
"entrecote"=>"entrecรดte",
"Entrecote"=>"Entrecรดte",
"epee"=>"รฉpรฉe",
"Epee"=>"ร‰pรฉe",
"etouffee"=>"รฉtouffรฉe",
"Etouffee"=>"ร‰touffรฉe",
"etude"=>"รฉtude",
"Etude"=>"ร‰tude",
"facade"=>"faรงade",
"Facade"=>"Faรงade",
"fete"=>"fรชte",
"Fete"=>"Fรชte",
"faience"=>"faรฏence",
"Faience"=>"Faรฏence",
"fiance"=>"fiancรฉ",
"Fiance"=>"Fiancรฉ",
"fiancee"=>"fiancรฉe",
"Fiancee"=>"Fiancรฉe",
"filmjolk"=>"filmjรถlk",
"Filmjolk"=>"Filmjรถlk",
"fin de siecle"=>"fin de siรจcle",
"Fin de siecle"=>"Fin de siรจcle",
"flambe"=>"flambรฉ",
"Flambe"=>"Flambรฉ",
"fleche"=>"flรจche",
"Fleche"=>"Flรจche",
"fohn wind"=>"fรถhn wind",
"Fohn wind"=>"Fรถhn wind",
"folie a deux"=>"folie ร  deux",
"Folie a deux"=>"Folie ร  deux",
"fouette"=>"fouettรฉ",
"Fouette"=>"Fouettรฉ",
"frappe"=>"frappรฉ",
"Frappe"=>"Frappรฉ",
"fraulein"=>"frรคulein",
"Fraulein"=>"Frรคulein",
"Fuhrer"=>"Fรผhrer",
"garcon"=>"garรงon",
"Garcon"=>"Garรงon",
"gateau"=>"gรขteau",
"Gateau"=>"Gรขteau",
"gemutlichkeit"=>"gemรผtlichkeit",
"Gemutlichkeit"=>"Gemรผtlichkeit",
"glace"=>"glacรฉ",
"Glace"=>"Glacรฉ",
"glogg"=>"glรถgg",
"Glogg"=>"Glรถgg",
"Gewurztraminer"=>"Gewรผrztraminer",
"Gotterdammerung"=>"Gรถtterdรคmmerung",
"Grafenberg spot"=>"Grรคfenberg spot",
"gruyere"=>"gruyรจre",
"Gruyere"=>"Gruyรจre",
"habitue"=>"habituรฉ",
"Habitue"=>"Habituรฉ",
"hacek"=>"hรกฤek",
"Hacek"=>"Hรกฤek",
"hors dโ€™oeuvre"=>"hors dโ€™ล“uvre",
"Hors dโ€™oeuvre"=>"Hors dโ€™ล“uvre",
"ingenue"=>"ingรฉnue",
"Ingenue"=>"Ingรฉnue",
"jager"=>"jรคger",
"Jager"=>"Jรคger",
"jalapeno"=>"jalapeรฑo",
"Jalapeno"=>"Jalapeรฑo",
"jardiniere"=>"jardiniรจre",
"Jardiniere"=>"Jardiniรจre",
"krouzek"=>"krouลพek",
"Krouzek"=>"Krouลพek",
"kummel"=>"kรผmmel",
"Kummel"=>"Kรผmmel",
"kaldolmar"=>"kรฅldolmar",
"Kaldolmar"=>"Kรฅldolmar",
"karaoke"=>"karaลke",
"Karaoke"=>"Karaลke",
"landler"=>"lรคndler",
"Landler"=>"Lรคndler",
"langue d'oil"=>"langue d'oรฏl",
"Langue d'oil"=>"Langue d'oรฏl",
"La Nina"=>"La Niรฑa",
"litterateur"=>"littรฉrateur",
"Litterateur"=>"Littรฉrateur",
"lycee"=>"lycรฉe",
"Lycee"=>"Lycรฉe",
"macedoine"=>"macรฉdoine",
"Macedoine"=>"Macรฉdoine",
"macrame"=>"macramรฉ",
"Macrame"=>"Macramรฉ",
"maitre d'hotel"=>"maรฎtre d'hรดtel",
"Maitre d'hotel"=>"Maรฎtre d'hรดtel",
"malaguena"=>"malagueรฑa",
"Malaguena"=>"Malagueรฑa",
"manana"=>"maรฑana",
"Manana"=>"Maรฑana",
"manege"=>"manรจge",
"Manege"=>"Manรจge",
"manoeuvre"=>"manล“uvre",
"Manoeuvre"=>"Manล“uvre",
"manque"=>"manquรฉ",
"Manque"=>"Manquรฉ",
"materiel"=>"matรฉriel",
"Materiel"=>"Matรฉriel",
"matinee"=>"matinรฉe",
"Matinee"=>"Matinรฉe",
"melange"=>"mรฉlange",
"Melange"=>"Mรฉlange",
"melee"=>"mรชlรฉe",
"Melee"=>"Mรชlรฉe",
"menage a trois"=>"mรฉnage ร  trois",
"Menage a trois"=>"Mรฉnage ร  trois",
"mesalliance"=>"mรฉsalliance",
"Mesalliance"=>"Mรฉsalliance",
"metier"=>"mรฉtier",
"Metier"=>"Mรฉtier",
"Metis"=>"Mรฉtis",
"minaudiere"=>"minaudiรจre",
"Minaudiere"=>"Minaudiรจre",
"moire"=>"moirรฉ",
"Moire"=>"Moirรฉ",
"Montreal"=>"Montrรฉal",
"naif"=>"naรฏf",
"Naif"=>"Naรฏf",
"naive"=>"naรฏve",
"Naive"=>"Naรฏve",
"naivete"=>"naรฏvetรฉ",
"Naivete"=>"Naรฏvetรฉ",
"ne"=>"nรฉ",
"Ne"=>"Nรฉ",
"nee"=>"nรฉe",
"Nee"=>"Nรฉe",
"negligee"=>"nรฉgligรฉe",
"Negligee"=>"Nรฉgligรฉe",
"Neufchatel"=>"Neufchรขtel",
"Nez Perce"=>"Nez Percรฉ",
"Noel"=>"Noรซl",
"numero uno"=>"nรบmero uno",
"Numero uno"=>"Nรบmero uno",
"Montano"=>"Montaรฑo",
"objet trouve"=>"objet trouvรฉ",
"Objet trouve"=>"Objet trouvรฉ",
"ole"=>"olรฉ",
"Ole"=>"Olรฉ",
"ombre"=>"ombrรฉ",
"Ombre"=>"Ombrรฉ",
"omerta"=>"omertร ",
"Omerta"=>"Omertร ",
"opera bouffe"=>"opรฉra bouffe",
"Opera bouffe"=>"Opรฉra bouffe",
"opera comique"=>"opรฉra comique",
"Opera comique"=>"Opรฉra comique",
"outre"=>"outrรฉ",
"Outre"=>"Outrรฉ",
"papier-mache"=>"papier-mรขchรฉ",
"Papier-mache"=>"Papier-mรขchรฉ",
"passe"=>"passรฉ",
"Passe"=>"Passรฉ",
"pate"=>"pรขtรฉ",
"Pate"=>"Pรขtรฉ",
"pho"=>"phแปŸ",
"Pho"=>"PhแปŸ",
"piece de resistance"=>"piรจce de rรฉsistance",
"Piece de resistance"=>"Piรจce de rรฉsistance",
"pied-a-terre"=>"pied-ร -terre",
"Pied-a-terre"=>"Pied-ร -terre",
"plisse"=>"plissรฉ",
"Plisse"=>"Plissรฉ",
"pina colada"=>"piรฑa colada",
"Pina colada"=>"Piรฑa colada",
"pinata"=>"piรฑata",
"Pinata"=>"Piรฑata",
"pinon"=>"piรฑรณn",
"Pinon"=>"Piรฑรณn",
"pirana"=>"piraรฑa",
"Pirana"=>"Piraรฑa",
"pique"=>"piquรฉ",
"Pique"=>"Piquรฉ",
"piu"=>"piรน",
"Piu"=>"Piรน",
"plie"=>"pliรฉ",
"Plie"=>"Pliรฉ",
"precis"=>"prรฉcis",
"Precis"=>"Prรฉcis",
"polsa"=>"pรถlsa",
"Polsa"=>"Pรถlsa",
"premiere"=>"premiรจre",
"Premiere"=>"Premiรจre",
"pret-a-porter"=>"prรชt-ร -porter",
"Pret-a-porter"=>"Prรชt-ร -porter",
"protege"=>"protรฉgรฉ",
"Protege"=>"Protรฉgรฉ",
"protegee"=>"protรฉgรฉe",
"Protegee"=>"Protรฉgรฉe",
"puree"=>"purรฉe",
"Puree"=>"Purรฉe",
"Quebecois"=>"Quรฉbรฉcois",
"raison d'etre"=>"raison d'รชtre",
"Raison d'etre"=>"Raison d'รชtre",
"recherche"=>"recherchรฉ",
"Recherche"=>"Recherchรฉ",
"reclame"=>"rรฉclame",
"Reclame"=>"Rรฉclame",
"regime"=>"rรฉgime",
"Regime"=>"Rรฉgime",
"retrousse"=>"retroussรฉ",
"Retrousse"=>"Retroussรฉ",
"risque"=>"risquรฉ",
"Risque"=>"Risquรฉ",
"riviere"=>"riviรจre",
"Riviere"=>"Riviรจre",
"roman a clef"=>"roman ร  clef",
"Roman a clef"=>"Roman ร  clef",
"roue"=>"rouรฉ",
"Roue"=>"Rouรฉ",
"saute"=>"sautรฉ",
"Saute"=>"Sautรฉ",
"seance"=>"sรฉance",
"Seance"=>"Sรฉance",
"senor"=>"seรฑor",
"Senor"=>"Seรฑor",
"senora"=>"seรฑora",
"Senora"=>"Seรฑora",
"senorita"=>"seรฑorita",
"Senorita"=>"Seรฑorita",
"Sinn Fein"=>"Sinn Fรฉin",
"smorgasbord"=>"smรถrgรฅsbord",
"Smorgasbord"=>"Smรถrgรฅsbord",
"smorgastarta"=>"smรถrgรฅstรฅrta",
"Smorgastarta"=>"Smรถrgรฅstรฅrta",
"soigne"=>"soignรฉ",
"Soigne"=>"Soignรฉ",
"soiree"=>"soirรฉe",
"Soiree"=>"Soirรฉe",
"souffle"=>"soufflรฉ",
"Souffle"=>"Soufflรฉ",
"soupcon"=>"soupรงon",
"Soupcon"=>"Soupรงon",
"surstromming"=>"surstrรถmming",
"Surstromming"=>"Surstrรถmming",
"tete-a-tete"=>"tรชte-ร -tรชte",
"Tete-a-tete"=>"Tรชte-ร -tรชte",
"touche"=>"touchรฉ",
"Touche"=>"Touchรฉ",
"tourtiere"=>"tourtiรจre",
"Tourtiere"=>"Tourtiรจre",
"uber"=>"รผber",
"Uber"=>"รœber",
"Ubermensch"=>"รœbermensch",
"Zaire"=>"Zaรฏre",
);

+ 1735
- 0
php-typography/lang/bg.php
File diff suppressed because it is too large
View File


+ 1052
- 0
php-typography/lang/ca.php
File diff suppressed because it is too large
View File


+ 3719
- 0
php-typography/lang/cs.php
File diff suppressed because it is too large
View File


+ 6824
- 0
php-typography/lang/cy.php
File diff suppressed because it is too large
View File


+ 1250
- 0
php-typography/lang/da.php
File diff suppressed because it is too large
View File


+ 14576
- 0
php-typography/lang/de.php
File diff suppressed because it is too large
View File


+ 599
- 0
php-typography/lang/el-Mono.php View File

@ -0,0 +1,599 @@
<?php
/*
Project: PHP Typography
Project URI: http://kingdesk.com/projects/php-typography/
File modified to place pattern and exceptions in arrays that can be understood in php files.
This file is released under the same copyright as the below referenced original file
Original unmodified file is available at: http://mirror.unl.edu/ctan/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
Original file name: hyph-el-monoton.tex
//============================================================================================================
ORIGINAL FILE INFO
% ****************************************************************
%
% File name: grmhyph5-unicode.tex
%
% This file was first created by mechanical translation from
% GRMhyph5.tex via 'elhyph-utf8 -m -c' (version 0.1 by Peter
% Heslin -- p.j.heslin@durham.ac.uk). Some additions were
% also made by hand.
%
% Created: June 6, 2008
%
% Hyphenation patterns for Modern Monotonic Greek.
%
% Created by Dimitrios Filippou with some ideas borrowed from
% Yannis Haralambous, Kostis Dryllerakis and Claudio Beccari.
%
% These hyphenation patterns are explained in 'ancient.pdf'.
% Hyphenation examples are given in the file 'anc-test.pdf'.
% Some doubtful patterns are marked by three question marks '???'.
%
% Documentation in English can be found in: D. Filippou,
% 'Hyphenation patterns for Ancient and Modern Greek, ' in
% 'TeX, XML, and Digital Typography' (A. Syropoulos et al.,
% eds.), Lecture Notes in Computer Science 3130, Springer-Verlag
% Berlin-Heidelberg, 2004. ISBN 3-540-22801-2.
%
% ****************************************************************
%
% \message{UTF-8 hyphenation patterns for Modern, Monotonic Greek}
//============================================================================================================
*/
$patgenLanguage = 'Greek (Modern Monotonic)';
$patgenExceptions = array();
$patgenMaxSeg = 4;
$patgen = array(
'begin'=>array(
'ฮน'=>'03',
'ฮฏ'=>'03',
'ฮท'=>'03',
'ฮฎ'=>'03',
'ฯ…'=>'03',
'ฯ'=>'03',
'ฮฒ'=>'04',
'ฮณ'=>'04',
'ฮด'=>'04',
'ฮถ'=>'04',
'ฮธ'=>'04',
'ฮบ'=>'04',
'ฮป'=>'04',
'ฮผ'=>'04',
'ฮฝ'=>'04',
'ฮพ'=>'04',
'ฯ€'=>'04',
'ฯ'=>'04',
'ฯƒ'=>'04',
'ฯฒ'=>'04',
'ฯ„'=>'04',
'ฯ†'=>'04',
'ฯ‡'=>'04',
'ฯˆ'=>'04'
),
'end'=>array(
'ฮฌฮท'=>'030',
'ฮฌฮน'=>'030',
'ฯŒฮท'=>'030',
'ฯŒฮน'=>'030',
'ฮฒ'=>'40',
'ฮณ'=>'40',
'ฮณฮบ'=>'400',
'ฮด'=>'40',
'ฮถ'=>'40',
'ฮธ'=>'40',
'ฮบ'=>'40',
'ฮป'=>'40',
'ฮผ'=>'40',
'ฮผฯ€'=>'400',
'ฮฝ'=>'40',
'ฮฝฯ„'=>'400',
'ฮพ'=>'40',
'ฯ€'=>'40',
'ฯ'=>'40',
'ฯƒ'=>'40',
'ฯฒ'=>'40',
'ฯ‚'=>'40',
'ฯ„'=>'40',
'ฯ„ฮถ'=>'400',
'ฯ„ฯƒ'=>'400',
'ฯ„ฯฒ'=>'400',
'ฯ„ฯ‚'=>'400',
'ฯ†'=>'40',
'ฯ‡'=>'40',
'ฯˆ'=>'40',
'ฮฒฯ'=>'400',
'ฮณฮป'=>'400',
'ฮบฮป'=>'400',
'ฮบฯ„'=>'400',
'ฮณฮบฯ‚'=>'4000',
'ฮณฮบฯฒ'=>'4000',
'ฮณฮบฯƒ'=>'4000',
'ฮบฯ‚'=>'600',
'ฮบฯฒ'=>'600',
'ฮบฯƒ'=>'400',
'ฮปฯ‚'=>'400',
'ฮปฯฒ'=>'400',
'ฮปฯƒ'=>'400',
'ฮผฯ€ฮป'=>'4000',
'ฮผฯ€ฮฝ'=>'4000',
'ฮผฯ€ฯ'=>'4000',
'ฮผฯ‚'=>'400',
'ฮผฯฒ'=>'400',
'ฮผฯƒ'=>'400',
'ฮฝฯ‚'=>'400',
'ฮฝฯฒ'=>'400',
'ฮฝฯƒ'=>'400',
'ฯฯ‚'=>'400',
'ฯฯฒ'=>'400',
'ฯฯƒ'=>'400',
'ฯƒฮบ'=>'400',
'ฯฒฮบ'=>'400',
'ฯƒฯ„'=>'400',
'ฯฒฯ„'=>'400',
'ฯ„ฮป'=>'400',
'ฯ„ฯ'=>'400',
'ฮฝฯ„ฯ‚'=>'4000',
'ฮฝฯ„ฯฒ'=>'4000',
'ฮฝฯ„ฯƒ'=>'4000',
'ฯ†ฯ„'=>'400',
'ฯ‡ฯ„'=>'400'
),
'all'=>array(
'ฮฑ'=>'01',
'ฮต'=>'01',
'ฮท'=>'01',
'ฮน'=>'01',
'ฮฟ'=>'01',
'ฯ…'=>'01',
'ฯ‰'=>'01',
'ฯŠ'=>'01',
'ฯ‹'=>'01',
'ฮฌ'=>'01',
'ฮญ'=>'01',
'ฮฎ'=>'01',
'ฮฏ'=>'01',
'ฯŒ'=>'01',
'ฯ'=>'01',
'ฯŽ'=>'01',
'ฮ'=>'01',
'ฮฐ'=>'01',
'ฮฑฮน'=>'020',
'ฮฑฮฏ'=>'020',
'ฮฌฮน'=>'020',
'ฮฌฯŠ'=>'020',
'ฮฑฯ…'=>'020',
'ฮฑฯ'=>'020',
'ฮฌฯ…'=>'030',
'ฮตฮน'=>'020',
'ฮตฮฏ'=>'020',
'ฮญฮน'=>'020',
'ฮญฯŠ'=>'020',
'ฮตฯ…'=>'020',
'ฮตฯ'=>'020',
'ฮญฯ…'=>'030',
'ฮทฯ…'=>'020',
'ฮทฯ'=>'020',
'ฮฎฯ…'=>'030',
'ฮฟฮน'=>'020',
'ฮฟฮฏ'=>'020',
'ฯŒฮน'=>'020',
'ฯŒฯŠ'=>'020',
'ฮฟฯ…'=>'020',
'ฮฟฯ'=>'020',
'ฯŒฯ…'=>'030',
'ฯ…ฮน'=>'020',
'ฯ…ฮฏ'=>'020',
'ฯฮน'=>'030',
'ฮฑฮท'=>'020',
'ฮฑฯŠ'=>'020',
'ฮฑฯ‹'=>'020',
'ฮตฯŠ'=>'020',
'ฮตฯ‹'=>'020',
'ฮฟฮตฮน'=>'0200',
'ฮฟฮท'=>'020',
'ฮฟฯŠ'=>'020',
'ฮนฮฑ'=>'020',
'ฮนฮฌ'=>'020',
'ฮนฮต'=>'020',
'ฮนฮญ'=>'020',
'ฮนฮฟ'=>'020',
'ฮนฯŒ'=>'020',
'ฮฟฯŠฯŒ'=>'0330',
'ฮนฯ‰'=>'020',
'ฮนฯŽ'=>'020',
'ฮทฮฑ'=>'020',
'ฮทฮฌ'=>'020',
'ฮทฮต'=>'020',
'ฮทฮญ'=>'020',
'ฮทฮฟ'=>'020',
'ฮทฯŒ'=>'020',
'ฮทฯ‰'=>'020',
'ฮทฯŽ'=>'020',
'ฯ…ฮฑ'=>'020',
'ฯ…ฮฌ'=>'020',
'ฯ…ฮฟ'=>'020',
'ฯ…ฯŒ'=>'020',
'ฯ…ฯ‰'=>'020',
'ฯ…ฯŽ'=>'020',
'\''=>'40',
'สผ'=>'40',
'แพฟ'=>'40',
'ฮฒ\''=>'400',
'ฮฒสผ'=>'400',
'ฮฒแพฟ'=>'400',
'ฮณ\''=>'400',
'ฮณสผ'=>'400',
'ฮณแพฟ'=>'400',
'ฮด\''=>'400',
'ฮดสผ'=>'400',
'ฮดแพฟ'=>'400',
'ฮถ\''=>'400',
'ฮถสผ'=>'400',
'ฮถแพฟ'=>'400',
'ฮธ\''=>'400',
'ฮธสผ'=>'400',
'ฮธแพฟ'=>'400',
'ฮบ\''=>'400',
'ฮบสผ'=>'400',
'ฮบแพฟ'=>'400',
'ฮป\''=>'400',
'ฮปสผ'=>'400',
'ฮปแพฟ'=>'400',
'ฮผ\''=>'400',
'ฮผสผ'=>'400',
'ฮผแพฟ'=>'400',
'ฮผฯ€\''=>'4000',
'ฮผฯ€สผ'=>'4000',
'ฮผฯ€แพฟ'=>'4000',
'ฮฝ\''=>'400',
'ฮฝสผ'=>'400',
'ฮฝแพฟ'=>'400',
'ฮฝฯ„\''=>'4000',
'ฮฝฯ„โ€™'=>'4000',
'ฮฝฯ„แพฟ'=>'4000',
'ฮพ\''=>'400',
'ฮพสผ'=>'400',
'ฮพแพฟ'=>'400',
'ฯ€\''=>'400',
'ฯ€สผ'=>'400',
'ฯ€แพฟ'=>'400',
'ฯ\''=>'400',
'ฯสผ'=>'400',
'ฯแพฟ'=>'400',
'ฯƒ\''=>'400',
'ฯƒสผ'=>'400',
'ฯƒแพฟ'=>'400',
'ฯฒ\''=>'400',
'ฯฒสผ'=>'400',
'ฯฒแพฟ'=>'400',
'ฯ„\''=>'400',
'ฯ„สผ'=>'400',
'ฯ„แพฟ'=>'400',
'ฯ„ฮถ\''=>'4000',
'ฯ„ฮถสผ'=>'4000',
'ฯ„ฮถแพฟ'=>'4000',
'ฯ„ฯƒ\''=>'4000',
'ฯ„ฯƒสผ'=>'4000',
'ฯ„ฯƒแพฝ'=>'4000',
'ฯ„ฯฒ\''=>'4000',
'ฯ„ฯฒสผ'=>'4000',
'ฯ„ฯฒแพฟ'=>'4000',
'ฯ†\''=>'400',
'ฯ†สผ'=>'400',
'ฯ†แพฟ'=>'400',
'ฯ‡\''=>'400',
'ฯ‡สผ'=>'400',
'ฯ‡แพฟ'=>'400',
'ฯˆ\''=>'400',
'ฯˆสผ'=>'400',
'ฯˆแพฟ'=>'400',
'ฮฒฮฒ'=>'410',
'ฮณฮณ'=>'410',
'ฮดฮด'=>'410',
'ฮถฮถ'=>'410',
'ฮธฮธ'=>'410',
'ฮบฮบ'=>'410',
'ฮปฮป'=>'410',
'ฮผฮผ'=>'410',
'ฮฝฮฝ'=>'410',
'ฯ€ฯ€'=>'410',
'ฯฯ'=>'410',
'ฯƒฯƒ'=>'410',
'ฯฒฯฒ'=>'410',
'ฯ„ฯ„'=>'410',
'ฯ†ฯ†'=>'410',
'ฯ‡ฯ‡'=>'410',
'ฯˆฯˆ'=>'410',
'ฮฒฮถ'=>'410',
'ฮฒฮธ'=>'410',
'ฮฒฮบ'=>'410',
'ฮฒฮผ'=>'410',
'ฮฒฮฝ'=>'410',
'ฮฒฮพ'=>'410',
'ฮฒฯ€'=>'410',
'ฮฒฯƒ'=>'410',
'ฮฒฯฒ'=>'410',
'ฮฒฯ„'=>'410',
'ฮฒฯ†'=>'410',
'ฮฒฯ‡'=>'410',
'ฮฒฯˆ'=>'410',
'ฮณฮฒ'=>'410',
'ฮณฮถ'=>'410',
'ฮณฮธ'=>'410',
'ฮณฮผ'=>'410',
'ฯฮณฮผ'=>'4520',
'ฮณฮพ'=>'410',
'ฮณฯ€'=>'410',
'ฮณฯƒ'=>'410',
'ฮณฯฒ'=>'410',
'ฮณฯ„'=>'410',
'ฮณฯ†'=>'410',
'ฮณฯ‡'=>'410',
'ฮณฯˆ'=>'410',
'ฮดฮฒ'=>'410',
'ฮดฮณ'=>'410',
'ฮดฮถ'=>'410',
'ฮดฮธ'=>'410',
'ฮดฮบ'=>'410',
'ฮดฮป'=>'410',
'ฮดฮพ'=>'410',
'ฮดฯ€'=>'410',
'ฮดฯƒ'=>'410',
'ฮดฯฒ'=>'410',
'ฮดฯ„'=>'410',
'ฮดฯ†'=>'410',
'ฮดฯ‡'=>'410',
'ฮดฯˆ'=>'410',
'ฮถฮฒ'=>'410',
'ฮถฮณ'=>'410',
'ฮถฮด'=>'410',
'ฮถฮธ'=>'410',
'ฮถฮบ'=>'410',
'ฮถฮป'=>'410',
'ฮถฮผ'=>'410',
'ฯ„ฮถฮผ'=>'0020',
'ฮถฮฝ'=>'410',
'ฮถฮพ'=>'410',
'ฮถฯ€'=>'410',
'ฮถฯ'=>'410',
'ฮถฯƒ'=>'410',
'ฮถฯฒ'=>'410',
'ฮถฯ„'=>'410',
'ฮถฯ†'=>'410',
'ฮถฯ‡'=>'410',
'ฮถฯˆ'=>'410',
'ฮธฮฒ'=>'410',
'ฮธฮณ'=>'410',
'ฮธฮด'=>'410',
'ฮธฮถ'=>'410',
'ฮธฮบ'=>'410',
'ฮธฮผ'=>'410',
'ฯฮธฮผ'=>'4520',
'ฯƒฮธฮผ'=>'0020',
'ฯฒฮธฮผ'=>'0020',
'ฮธฮพ'=>'410',
'ฮธฯ€'=>'410',
'ฮธฯƒ'=>'410',
'ฮธฯฒ'=>'410',
'ฮธฯ„'=>'410',
'ฮธฯ†'=>'410',
'ฮธฯ‡'=>'410',
'ฮธฯˆ'=>'410',
'ฮบฮฒ'=>'410',
'ฮบฮณ'=>'410',
'ฮบฮด'=>'410',
'ฮบฮถ'=>'410',
'ฮบฮธ'=>'410',
'ฮบฮผ'=>'410',
'ฮปฮบฮผ'=>'4520',
'ฯฮบฮผ'=>'4520',
'ฮบฮพ'=>'410',
'ฮบฯ€'=>'410',
'ฮบฯƒ'=>'410',
'ฮบฯฒ'=>'410',
'ฮบฯ†'=>'410',
'ฮฝฮบฯ†'=>'4520',
'ฮบฯ‡'=>'410',
'ฮบฯˆ'=>'410',
'ฮปฮฒ'=>'410',
'ฮปฮณ'=>'410',
'ฮปฮด'=>'410',
'ฮปฮถ'=>'410',
'ฮปฮธ'=>'410',
'ฮปฮบ'=>'410',
'ฮปฮผ'=>'410',
'ฮปฮฝ'=>'410',
'ฮปฮพ'=>'410',
'ฮปฯ€'=>'410',
'ฮปฯ'=>'410',
'ฮปฯƒ'=>'410',
'ฮปฯฒ'=>'410',
'ฮปฯ„'=>'410',
'ฮปฯ†'=>'410',
'ฮปฯ‡'=>'410',
'ฮปฯˆ'=>'410',
'ฮผฮฒ'=>'410',
'ฮผฮณ'=>'410',
'ฮผฮด'=>'410',
'ฮผฮถ'=>'410',
'ฮผฮธ'=>'410',
'ฮผฮบ'=>'410',
'ฮผฮป'=>'410',
'ฮผฮพ'=>'410',
'ฮผฯ'=>'410',
'ฮผฯƒ'=>'410',
'ฮผฯฒ'=>'410',
'ฮผฯ„'=>'410',
'ฮผฯ†'=>'410',
'ฮผฯ‡'=>'410',
'ฮผฯˆ'=>'410',
'ฮฝฮฒ'=>'410',
'ฮฝฮณ'=>'410',
'ฮฝฮด'=>'410',
'ฮฝฮถ'=>'410',
'ฮฝฮธ'=>'410',
'ฮฝฮบ'=>'410',
'ฮฝฮป'=>'410',
'ฮฝฮผ'=>'410',
'ฮฝฮพ'=>'410',
'ฮฝฯ€'=>'410',
'ฮฝฯ'=>'410',
'ฮฝฯƒ'=>'410',
'ฮฝฯฒ'=>'410',
'ฮฝฯ†'=>'410',
'ฮฝฯ‡'=>'410',
'ฮฝฯˆ'=>'410',
'ฮพฮฒ'=>'410',
'ฮพฮณ'=>'410',
'ฮพฮด'=>'410',
'ฮพฮถ'=>'410',
'ฮพฮธ'=>'410',
'ฮพฮบ'=>'410',
'ฮพฮป'=>'410',
'ฮพฮผ'=>'410',
'ฮพฮฝ'=>'410',
'ฮพฯ€'=>'410',
'ฮพฯ'=>'410',
'ฮพฯƒ'=>'410',
'ฮพฯฒ'=>'410',
'ฮพฯ„'=>'410',
'ฮณฮพฯ„'=>'4520',
'ฯฮพฯ„'=>'4520',
'ฮพฯ†'=>'410',
'ฮพฯ‡'=>'410',
'ฮพฯˆ'=>'410',
'ฯ€ฮฒ'=>'410',
'ฯ€ฮณ'=>'410',
'ฯ€ฮด'=>'410',
'ฯ€ฮถ'=>'410',
'ฯ€ฮธ'=>'410',
'ฯ€ฮบ'=>'410',
'ฯ€ฮผ'=>'410',
'ฯ€ฮพ'=>'410',
'ฯ€ฯƒ'=>'410',
'ฯ€ฯฒ'=>'410',
'ฯ€ฯ†'=>'410',
'ฯ€ฯ‡'=>'410',
'ฯ€ฯˆ'=>'410',
'ฯฮฒ'=>'410',
'ฯฮณ'=>'410',
'ฯฮด'=>'410',
'ฯฮถ'=>'410',
'ฯฮธ'=>'410',
'ฯฮบ'=>'410',
'ฯฮป'=>'410',
'ฯฮผ'=>'410',
'ฯฮฝ'=>'410',
'ฯฮพ'=>'410',
'ฯฯ€'=>'410',
'ฯฯƒ'=>'410',
'ฯฯฒ'=>'410',
'ฯฯ„'=>'410',
'ฯฯ†'=>'410',
'ฯฯ‡'=>'410',
'ฯฯˆ'=>'410',
'ฯƒฮด'=>'410',
'ฯฒฮด'=>'410',
'ฯƒฮถ'=>'410',
'ฯฒฮถ'=>'410',
'ฯƒฮฝ'=>'410',
'ฯฒฮฝ'=>'410',
'ฯƒฮพ'=>'410',
'ฯฒฮพ'=>'410',
'ฯƒฯ'=>'410',
'ฯฒฯ'=>'410',
'ฯƒฯˆ'=>'410',
'ฯฒฯˆ'=>'410',
'ฯ„ฮฒ'=>'410',
'ฯ„ฮณ'=>'410',
'ฯ„ฮด'=>'410',
'ฯ„ฮธ'=>'410',
'ฯ„ฮบ'=>'410',
'ฯ„ฮฝ'=>'410',
'ฯ„ฮพ'=>'410',
'ฯ„ฯ€'=>'410',
'ฯ„ฯ†'=>'410',
'ฯƒฯ„ฯ†'=>'0020',
'ฯฒฯ„ฯ†'=>'0020',
'ฯ„ฯ‡'=>'410',
'ฯ„ฯˆ'=>'410',
'ฯ†ฮฒ'=>'410',
'ฯ†ฮณ'=>'410',
'ฯ†ฮด'=>'410',
'ฯ†ฮถ'=>'410',
'ฯ†ฮบ'=>'410',
'ฯ†ฮผ'=>'410',
'ฯ†ฮฝ'=>'410',
'ฯฯ†ฮฝ'=>'4520',
'ฯ†ฮพ'=>'410',
'ฯ†ฯ€'=>'410',
'ฯ†ฯƒ'=>'410',
'ฯ†ฯฒ'=>'410',
'ฯ†ฯ‡'=>'410',
'ฯ†ฯˆ'=>'410',
'ฯ‡ฮฒ'=>'410',
'ฯ‡ฮณ'=>'410',
'ฯ‡ฮด'=>'410',
'ฯ‡ฮถ'=>'410',
'ฯ‡ฮบ'=>'410',
'ฯ‡ฮผ'=>'410',
'ฯฯ‡ฮผ'=>'4520',
'ฯ‡ฮพ'=>'410',
'ฯ‡ฯ€'=>'410',
'ฯ‡ฯƒ'=>'410',
'ฯ‡ฯฒ'=>'410',
'ฯ‡ฯ†'=>'410',
'ฯ‡ฯˆ'=>'410',
'ฯˆฮฒ'=>'410',
'ฯˆฮณ'=>'410',
'ฯˆฮด'=>'410',
'ฯˆฮถ'=>'410',
'ฯˆฮธ'=>'410',
'ฯˆฮบ'=>'410',
'ฯˆฮป'=>'410',
'ฯˆฮผ'=>'410',
'ฯˆฮฝ'=>'410',
'ฯˆฮพ'=>'410',
'ฯˆฯ€'=>'410',
'ฯˆฯ'=>'410',
'ฯˆฯƒ'=>'410',
'ฯˆฯฒ'=>'410',
'ฯˆฯ„'=>'410',
'ฮผฯˆฯ„'=>'4520',
'ฯˆฯ†'=>'410',
'ฯˆฯ‡'=>'410',
'ฮณฮบฯ†'=>'4520',
'ฮณฮบฯ„'=>'4100',
'ฮผฯ€ฯ„'=>'4100',
'ฮฝฯ„ฮถ'=>'4100',
'ฮฝฯ„ฯƒ'=>'4100',
'ฮฝฯ„ฯฒ'=>'4100',
'ฮณฮบฮผฯ€'=>'40100',
'ฮณฮบฮฝฯ„'=>'40100',
'ฮณฮบฯ„ฮถ'=>'40100',
'ฮณฮบฯ„ฯƒ'=>'40100',
'ฮณฮบฯ„ฯฒ'=>'40100',
'ฮผฯ€ฮฝฯ„'=>'40100',
'ฮผฯ€ฯ„ฮถ'=>'40100',
'ฮผฯ€ฯ„ฯƒ'=>'40100',
'ฮผฯ€ฯ„ฯฒ'=>'40100',
'ฮฝฯ„ฮผฯ€'=>'40100',
'ฯ„ฯƒฮณฮบ'=>'40100',
'ฯ„ฯฒฮณฮบ'=>'40100',
'ฯ„ฯƒฮผฯ€'=>'40100',
'ฯ„ฯฒฮผฯ€'=>'40100',
'ฯ„ฯƒฮฝฯ„'=>'40100',
'ฯ„ฯฒฮฝฯ„'=>'40100'
)
);
?>

+ 1114
- 0
php-typography/lang/el-Poly.php
File diff suppressed because it is too large
View File


+ 8628
- 0
php-typography/lang/en-GB.php
File diff suppressed because it is too large
View File


+ 5022
- 0
php-typography/lang/en-US.php
File diff suppressed because it is too large
View File


+ 3051
- 0
php-typography/lang/es.php
File diff suppressed because it is too large
View File


+ 3803
- 0
php-typography/lang/et.php
File diff suppressed because it is too large
View File


+ 268
- 0
php-typography/lang/eu.php View File

@ -0,0 +1,268 @@
<?php
/*
Project: PHP Typography
Project URI: http://kingdesk.com/projects/php-typography/
File modified to place pattern and exceptions in arrays that can be understood in php files.
This file is released under the same copyright as the below referenced original file
Original unmodified file is available at: http://mirror.unl.edu/ctan/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
Original file name: hyph-eu.tex
//============================================================================================================
ORIGINAL FILE INFO
% Hyphenation patterns for Basque.
%
% This file has first been written by Juan M. Aguirregabiria
% (juanmari.aguirregabiria@ehu.es) on February 1997 based on the
% shyphen.sh script that generates the Spanish patterns as compiled
% by Julio Sanchez (jsanchez@gmv.es) on September 1991.
%
% In June 2008 the generating script has been rewritten into ruby and
% adapted for native UTF-8 TeX engines. Patterns became part of hyph-utf8
% package and were renamed from bahyph.tex into hyph-eu.tex.
% Functionality should not change apart from adding รฑ by default.
%
% The original Copyright followed and applied also to precessor of this file
% whose last version will be always available by anonymous ftp
% from tp.lc.ehu.es or by poynting your Web browser to
% http://tp.lc.ehu.es/jma/basque.html
%
% For more information about the new UTF-8 hyphenation patterns and
% links to this file see
% http://www.tug.org/tex-hyphen/
%
% COPYRIGHT NOTICE
%
% These patterns and the generating script are Copyright (c) JMA 1997, 2008
% These patterns are made public in the hope that they will benefit others.
% You can use this software for any purpose.
% However, this is given for free and WITHOUT ANY WARRANTY.
%
% You are kindly requested to send any changes to the author.
% If you change the generating script, you must include code
% in it such that any output is clearly labeled as generated
% by a modified script.
%
% END OF COPYRIGHT NOTICE
%
% Open vowels: a e o
% Closed vowels: i u
% Consonants: b c d f g j k l m n รฑ p q r s t v w x y z
%
% Some of the patterns below represent combinations that never
% happen in Basque. Would they happen, they would be hyphenated
% according to the rules.
%
//============================================================================================================
*/
$patgenLanguage = 'Basque';
$patgenExceptions = array();
$patgenMaxSeg = 4;
$patgen = array(
'begin'=>array(),
'end'=>array(),
'all'=>array(
'ba'=>'100',
'be'=>'100',
'bo'=>'100',
'bi'=>'100',
'bu'=>'100',
'ca'=>'100',
'ce'=>'100',
'co'=>'100',
'ci'=>'100',
'cu'=>'100',
'da'=>'100',
'de'=>'100',
'do'=>'100',
'di'=>'100',
'du'=>'100',
'fa'=>'100',
'fe'=>'100',
'fo'=>'100',
'fi'=>'100',
'fu'=>'100',
'ga'=>'100',
'ge'=>'100',
'go'=>'100',
'gi'=>'100',
'gu'=>'100',
'ja'=>'100',
'je'=>'100',
'jo'=>'100',
'ji'=>'100',
'ju'=>'100',
'ka'=>'100',
'ke'=>'100',
'ko'=>'100',
'ki'=>'100',
'ku'=>'100',
'la'=>'100',
'le'=>'100',
'lo'=>'100',
'li'=>'100',
'lu'=>'100',
'ma'=>'100',
'me'=>'100',
'mo'=>'100',
'mi'=>'100',
'mu'=>'100',
'na'=>'100',
'ne'=>'100',
'no'=>'100',
'ni'=>'100',
'nu'=>'100',
'รฑa'=>'100',
'รฑe'=>'100',
'รฑo'=>'100',
'รฑi'=>'100',
'รฑu'=>'100',
'pa'=>'100',
'pe'=>'100',
'po'=>'100',
'pi'=>'100',
'pu'=>'100',
'qa'=>'100',
'qe'=>'100',
'qo'=>'100',
'qi'=>'100',
'qu'=>'100',
'ra'=>'100',
're'=>'100',
'ro'=>'100',
'ri'=>'100',
'ru'=>'100',
'sa'=>'100',
'se'=>'100',
'so'=>'100',
'si'=>'100',
'su'=>'100',
'ta'=>'100',
'te'=>'100',
'to'=>'100',
'ti'=>'100',
'tu'=>'100',
'va'=>'100',
've'=>'100',
'vo'=>'100',
'vi'=>'100',
'vu'=>'100',
'wa'=>'100',
'we'=>'100',
'wo'=>'100',
'wi'=>'100',
'wu'=>'100',
'xa'=>'100',
'xe'=>'100',
'xo'=>'100',
'xi'=>'100',
'xu'=>'100',
'ya'=>'100',
'ye'=>'100',
'yo'=>'100',
'yi'=>'100',
'yu'=>'100',
'za'=>'100',
'ze'=>'100',
'zo'=>'100',
'zi'=>'100',
'zu'=>'100',
'lla'=>'1200',
'lle'=>'1200',
'llo'=>'1200',
'lli'=>'1200',
'llu'=>'1200',
'rra'=>'1200',
'rre'=>'1200',
'rro'=>'1200',
'rri'=>'1200',
'rru'=>'1200',
'tsa'=>'1200',
'tse'=>'1200',
'tso'=>'1200',
'tsi'=>'1200',
'tsu'=>'1200',
'txa'=>'1200',
'txe'=>'1200',
'txo'=>'1200',
'txi'=>'1200',
'txu'=>'1200',
'tza'=>'1200',
'tze'=>'1200',
'tzo'=>'1200',
'tzi'=>'1200',
'tzu'=>'1200',
'bla'=>'1200',
'ble'=>'1200',
'blo'=>'1200',
'bli'=>'1200',
'blu'=>'1200',
'bra'=>'1200',
'bre'=>'1200',
'bro'=>'1200',
'bri'=>'1200',
'bru'=>'1200',
'dra'=>'1200',
'dre'=>'1200',
'dro'=>'1200',
'dri'=>'1200',
'dru'=>'1200',
'fla'=>'1200',
'fle'=>'1200',
'flo'=>'1200',
'fli'=>'1200',
'flu'=>'1200',
'fra'=>'1200',
'fre'=>'1200',
'fro'=>'1200',
'fri'=>'1200',
'fru'=>'1200',
'gla'=>'1200',
'gle'=>'1200',
'glo'=>'1200',
'gli'=>'1200',
'glu'=>'1200',
'gra'=>'1200',
'gre'=>'1200',
'gro'=>'1200',
'gri'=>'1200',
'gru'=>'1200',
'kla'=>'1200',
'kle'=>'1200',
'klo'=>'1200',
'kli'=>'1200',
'klu'=>'1200',
'kra'=>'1200',
'kre'=>'1200',
'kro'=>'1200',
'kri'=>'1200',
'kru'=>'1200',
'pla'=>'1200',
'ple'=>'1200',
'plo'=>'1200',
'pli'=>'1200',
'plu'=>'1200',
'pra'=>'1200',
'pre'=>'1200',
'pro'=>'1200',
'pri'=>'1200',
'pru'=>'1200',
'tra'=>'1200',
'tre'=>'1200',
'tro'=>'1200',
'tri'=>'1200',
'tru'=>'1200',
'subr'=>'00220',
'subl'=>'00220'
)
);
?>

+ 396
- 0
php-typography/lang/fi.php View File

@ -0,0 +1,396 @@
<?php
/*
Project: PHP Typography
Project URI: http://kingdesk.com/projects/php-typography/
File modified to place pattern and exceptions in arrays that can be understood in php files.
This file is released under the same copyright as the below referenced original file
Original unmodified file is available at: http://mirror.unl.edu/ctan/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
Original file name: hyph-_______________.tex
//============================================================================================================
ORIGINAL FILE INFO
% This file is part of hyph-utf8 package and resulted from
% semi-manual conversions of hyphenation patterns into UTF-8 in June 2008.
%
% Source: fihyph.tex (yyyy-mm-dd)
% Author: Kauko Saarinen
%
% The above mentioned file should become obsolete,
% and the author of the original file should preferaby modify this file instead.
%
% Modificatios were needed in order to support native UTF-8 engines,
% but functionality (hopefully) didn't change in any way, at least not intentionally.
% This file is no longer stand-alone; at least for 8-bit engines
% you probably want to use loadhyph-foo.tex (which will load this file) instead.
%
% Modifications were done by Jonathan Kew, Mojca Miklavec & Arthur Reutenauer
% with help & support from:
% - Karl Berry, who gave us free hands and all resources
% - Taco Hoekwater, with useful macros
% - Hans Hagen, who did the unicodifisation of patterns already long before
% and helped with testing, suggestions and bug reports
% - Norbert Preining, who tested & integrated patterns into TeX Live
%
% However, the 'copyright/copyleft' owner of patterns remains the original author.
%
% The copyright statement of this file is thus:
%
% Do with this file whatever needs to be done in future for the sake of
% 'a better world' as long as you respect the copyright of original file.
% If you're the original author of patterns or taking over a new revolution,
% plese remove all of the TUG comments & credits that we added here -
% you are the Queen / the King, we are only the servants.
%
% If you want to change this file, rather than uploading directly to CTAN,
% we would be grateful if you could send it to us (http://tug.org/tex-hyphen)
% or ask for credentials for SVN repository and commit it yourself;
% we will then upload the whole 'package' to CTAN.
%
% Before a new 'pattern-revolution' starts,
% please try to follow some guidelines if possible:
%
% - \lccode is *forbidden*, and I really mean it
% - all the patterns should be in UTF-8
% - the only 'allowed' TeX commands in this file are: \patterns, \hyphenation,
% and if you really cannot do without, also \input and \message
% - in particular, please no \catcode or \lccode changes,
% they belong to loadhyph-foo.tex,
% and no \lefthyphenmin and \righthyphenmin,
% they have no influence here and belong elsewhere
% - \begingroup and/or \endinput is not needed
% - feel free to do whatever you want inside comments
%
% We know that TeX is extremely powerful, but give a stupid parser
% at least a chance to read your patterns.
%
% For more unformation see
%
% http://tug.org/tex-hyphen
%
%------------------------------------------------------------------------------
%
% -----> Finnish hyphenation patterns for MLPCTeX <------
% First release January -86 by Kauko Saarinen,
% Computing Centre, University of Jyvaskyla, Finland
%
% Completely rewritten January -88. The new patterns make
% much less mistakes with foreign and compound words.
% The article 'Automatic Hyphenation of Finnish'
% by Professor Fred Karlsson is also referred
% ---------------------------------------------------------
%
% 8th March -89 (vers. 2.2), some vowel triples by Fred Karlsson added.
% 9th January - 95: added \uccode and \lccode by Thomas Esser
%
% ********* Patterns may be freely distributed **********
%
//============================================================================================================