Je m'aperçois seulement maintenant que le line-height par défaut a changé sous Firefox 4. Apparemment, cela se produit seulement sous Vista et Windows 7.
Citation
If you're using Firefox 4 on Windows 7, and you notice that fonts look different, its because the entire Firefox GUI is now 100% hardware accelerated on Windows Vista and 7 by Direct2D (a 2D acceleration subsystem introduced in Windows Vista). The reason fonts look different is because Firefox now renders using DirectWrite, and it has a different way of rendering fonts compared to GDI (the old Windows graphics subsystem)
Par exemple, en Verdana 13px, le line-height est à 17px au lieu de 16.
En forçant le line-height, on solutionne le problème mais connaitriez-vous un moyen plus élégant ?




Haut











