: ttf2eot.bat : batch pour Windows : pour le programme : http://code.google.com/p/ttf2eot/ : lance l'utilitaire ttf2eot.exe : variable 1 nom de la police TTF a convertir en EOT : variable 2 (Optionnelle) renomme lE fichier EOT @echo off if NOT "%2" =="" GOTO TEST @title Conversion de font/%1.ttf en font/%1.eot ttf2eot.exe font/%1.ttf font/%1.eot @echo Fichier creer ou ecraser : font/%1.eot @echo ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ color 8f @echo * @echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» @echo testez votre police : %CD%/font/%1.eot dans IE @echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ @echo * pause GOTO ENDT :TEST @title Conversion de font/%1.ttf en font/%2.eot ttf2eot.exe font/%1.ttf font/%2.eot xcopy/y %CD%\font\%1.ttf %CD%\font\%2.ttf @echo Fichier creer ou ecraser : font/%2.eot et font/%2.ttf @echo ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ color 1f @echo * @echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» @echo testez votre police : %CD%/font/%2.eot dans IE @echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ @echo * pause GOTO ENDT :ENDT @cls @echo Dans le dossier de votre police , creer un fichier html simple avec les chiffres , @echo l'alphabet et les caracteres speciaux @echo pour tester votre police ajouter dans les styles : @echo \n\r @echo /* ===============test police eot ================== */ @echo @font-face { @echo font-family:'%1';/* ou %2.eot si vous l'avez renommer ... */ @echo src: url('font/%1.eot'); @echo } @echo body {font-family:%1.eot;} @echo /* ================fin test police eot =============== */ @echo FERMEZ CETTE FENETRE SI VOUS NE VOULEZ PAS LANCER INTERNET EXPLORER (cliquez la croix en haut a droite) . pause start /max "c:\Program Files\Internet Explorer" iexplore.exe %CD%/test.html