Re: @fontface sur safari
Anne-Pok Dubé <[email protected]>
| Newsgroups | gmane.comp.web.spip.user |
|---|---|
| Message-ID | <CAFAb__eo5W9JmtYqghKAVdDGJnwYV_vZAO2zH1jZUyakCJywMA@mail.gmail.com> |
Je pense avoir tout essayer sans succès pour safari
J'ai mis
@font-face {
font-family: 'MISTRAL';
font-style: normal;
src: local('MISTRAL'), local('MISTRAL'), url('./font/MISTRAL.woff2')
format('woff2'), url('./font/MISTRAL.woff')format('woff'),
url('./font/MISTRAL.TTF') format('truetype'),
url('./font/MISTRAL.eot') format('eot'),
url('./font/MISTRAL.svg') format('svg'),
}
Le mar. 2 mars 2021 à 08:45, Anne-Pok Dubé <[email protected]> a
écrit :
> J’ai fait un .png pour sa signature qui sert de logo du site
> Mais j’ai besoin du caractère mistral pour « Passion Gaspésie » dans
> l’en-tête parce que le site est bilingue.
> Je croyais que pour @fontface juste les .woff et .woff2 étaient nécessaires
> Je vais ajouter d’autres extensions.
>
> Le mar. 2 mars 2021 à 08:24, JLuc <[email protected]> a écrit :
>
>> Le 02/03/2021 à 06:37, Anne-Pok Dubé a écrit :
>> > Je fais un site pour un photographe et il utilise la police de
>> caractère mistral pour sa signature
>> > www.barryleblancphoto.ça J’ai donc installé dans
>> squelettes/fonts/mistral.woff et mistral.woff2
>> > Dans perso.css j’ai mis @font-face ...
>>
>> Si ce n'est pour sa signature seulement, c'est vraiment overkill.
>>
>> Mieux vaudrait faire une simple image bitmap (jpg) ou vectorielle (svg)
>> de cette signature.
>>
>> JLuc
>>
>> _______________________________________________
>> liste spip
>> [email protected] - désabonnement : envoyer un mail à [email protected]
>>
>> Archives : https://www.mail-archive.com/[email protected]/maillist.html
>>
>> Infos : https://listes.rezo.net/mailman/listinfo/spip
>>
>> Documentation de SPIP : http://www.spip.net/
>>
>> Irc : de l'aide à toute heure : http://spip.net/irc
>
>