Fix font maker script character encoding
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 7 Nov 2012 03:39:15 +0000 (03:39 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 7 Nov 2012 03:39:15 +0000 (03:39 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/sr_freecap/trunk@67672 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
mod1/class.tx_srfreecap_fontmaker.php

index c6f3f7b..424520d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-06  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fix font maker script character encoding
+
 2012-11-05  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Migrate localization files to xliff
index 9357121..f3bd658 100644 (file)
@@ -124,6 +124,7 @@ class tx_srfreecap_fontmaker extends t3lib_SCbase {
                                $numchars = 26;
                                $startCharacter = 'a';
                        } else if ($charactersToIncludeInFont == 2) {
+                               // Note: This script must be iso-8859-1-encoded
                                $characters = 'a,b,c,d,e,f,g,h,i,j,k,l,m,n,o'
                                        .',p,q,r,s,t,u,v,w,x,y,z,-,-,-,-,-'
                                        .',-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-'
@@ -131,9 +132,9 @@ class tx_srfreecap_fontmaker extends t3lib_SCbase {
                                        .',-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-'
                                        .',-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-'
                                        .',-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-'
-                                       .',-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,'
-                                       .',�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�'
-                                       .',�,�,�,�,�,�,�,-,�,�,�,�,�,�,�,�';
+                                       .',-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,ß'
+                                       .',à,á,â,ã,ä,å,æ,ç,è,é,ê,ë,ì,í,î,ï'
+                                       .',ð,ñ,ò,ó,ô,õ,ö,-,ø,ù,ú,û,ü,ý,þ,ÿ';
                                        $numchars = 159;
                                        $startCharacter = 'a';
                        } else {