informatique:ecriture:polices
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| informatique:ecriture:polices [2023/08/08 09:07] – alexis | informatique:ecriture:polices [2025/01/02 17:51] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. 66.249.66.77 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Polices ====== | ====== Polices ====== | ||
| - | <WRAP info> | ||
| - | Pour visualiser les polices disponibles sur mon système, j' | ||
| - | </ | ||
| - | |||
| <WRAP info> | <WRAP info> | ||
| Les différentes polices sont testées avec l' | Les différentes polices sont testées avec l' | ||
| Ligne 15: | Ligne 11: | ||
| 0O 1l B8 <> [] {} 2N2N2N2N | 0O 1l B8 <> [] {} 2N2N2N2N | ||
| - | /** | + | public function getElementValue(array $collection, |
| - | * Transform class to DOM element | + | { |
| - | */ | + | |
| - | public function toDomElement(\DomDocument | + | if (empty($collection)) { |
| - | $image = $domDocument->createElement(' | + | return null; |
| - | $image->setAttribute('src', | + | |
| - | $image->setAttribute(' | + | |
| - | + | // Comment #2 | |
| - | | + | foreach ($collection as $key => $element) { |
| + | if ($key < $index || $key > $index) { | ||
| + | echo 'Index does not match key', | ||
| + | | ||
| + | } | ||
| + | |||
| + | return | ||
| + | | ||
| } | } | ||
| </ | </ | ||
| Ligne 52: | Ligne 55: | ||
| </ | </ | ||
| <WRAP half column box> | <WRAP half column box> | ||
| - | <typo ff:' | + | <typo ff:' |
| - | %%/**%%\\ | + | %%public function getElementValue(array $collection, |
| - | %% * Transform class to DOM element%%\\ | + | { |
| - | %% */%%\\ | + | |
| - | %%public function toDomElement(\DomDocument | + | if (empty($collection)) { |
| - | %% $image = $domDocument->createElement(' | + | |
| - | %% | + | } |
| - | %% | + | |
| - | %%%%\\ | + | // Comment #2 |
| - | %% return $image;%%\\ | + | foreach ($collection as $key => $element) { |
| - | %%}%%\\ | + | if ($key < $index || $key > $index) { |
| + | echo 'Index does not match key', | ||
| + | | ||
| + | } | ||
| + | |||
| + | return | ||
| + | | ||
| + | }%% | ||
| </ | </ | ||
| </ | </ | ||
| Ligne 72: | Ligne 82: | ||
| * La police supporte les ligatures. | * La police supporte les ligatures. | ||
| </ | </ | ||
| + | |||
| + | ==== Intel One Mono ==== | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | abcdefghijklmnopqrstuvwxyz\\ | ||
| + | ABCDEFGHIJKLMNOPQRSTUVWXYZ\\ | ||
| + | 0123456789.:,; | ||
| + | àÀâÂçÇéÉèÈêÊëËîÎïÏôÔùÙûÛüÜæÆœŒ\\ | ||
| + | The quick brown fox jumps over the lazy dog\\ | ||
| + | %%== === != !== >= <= -> <=> =>%%\\ | ||
| + | 0O 1l B8 <> [] {} 2N2N2N2N | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | %%public function getElementValue(array $collection, | ||
| + | { | ||
| + | /** Comment #1 */ | ||
| + | if (empty($collection)) { | ||
| + | return null; | ||
| + | } | ||
| + | | ||
| + | // Comment #2 | ||
| + | foreach ($collection as $key => $element) { | ||
| + | if ($key < $index || $key > $index) { | ||
| + | echo 'Index does not match key', PHP_EOL; | ||
| + | continue; | ||
| + | } | ||
| + | | ||
| + | return $element-> | ||
| + | } | ||
| + | }%% | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP info> | ||
| + | * [[https:// | ||
| + | </ | ||
| + | |||
| + | ==== Iosevka ==== | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | abcdefghijklmnopqrstuvwxyz\\ | ||
| + | ABCDEFGHIJKLMNOPQRSTUVWXYZ\\ | ||
| + | 0123456789.:,; | ||
| + | àÀâÂçÇéÉèÈêÊëËîÎïÏôÔùÙûÛüÜæÆœŒ\\ | ||
| + | The quick brown fox jumps over the lazy dog\\ | ||
| + | %%== === != !== >= <= -> <=> =>%%\\ | ||
| + | 0O 1l B8 <> [] {} 2N2N2N2N | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | %%public function getElementValue(array $collection, | ||
| + | { | ||
| + | /** Comment #1 */ | ||
| + | if (empty($collection)) { | ||
| + | return null; | ||
| + | } | ||
| + | | ||
| + | // Comment #2 | ||
| + | foreach ($collection as $key => $element) { | ||
| + | if ($key < $index || $key > $index) { | ||
| + | echo 'Index does not match key', PHP_EOL; | ||
| + | continue; | ||
| + | } | ||
| + | | ||
| + | return $element-> | ||
| + | } | ||
| + | }%% | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP info> | ||
| + | * [[https:// | ||
| + | * La police supporte les ligatures. | ||
| + | * La police vient en différentes variantes, il va falloir chercher un peu pour trouver celle qui convient. | ||
| + | </ | ||
| + | |||
| + | ==== JetBrains Mono ==== | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | abcdefghijklmnopqrstuvwxyz\\ | ||
| + | ABCDEFGHIJKLMNOPQRSTUVWXYZ\\ | ||
| + | 0123456789.:,; | ||
| + | àÀâÂçÇéÉèÈêÊëËîÎïÏôÔùÙûÛüÜæÆœŒ\\ | ||
| + | The quick brown fox jumps over the lazy dog\\ | ||
| + | %%== === != !== >= <= -> <=> =>%%\\ | ||
| + | 0O 1l B8 <> [] {} 2N2N2N2N | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | %%public function getElementValue(array $collection, | ||
| + | { | ||
| + | /** Comment #1 */ | ||
| + | if (empty($collection)) { | ||
| + | return null; | ||
| + | } | ||
| + | | ||
| + | // Comment #2 | ||
| + | foreach ($collection as $key => $element) { | ||
| + | if ($key < $index || $key > $index) { | ||
| + | echo 'Index does not match key', PHP_EOL; | ||
| + | continue; | ||
| + | } | ||
| + | | ||
| + | return $element-> | ||
| + | } | ||
| + | }%% | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP info> | ||
| + | * [[https:// | ||
| + | * La police supporte les ligatures ((Il existe une version sans ligature pour utiliser avec les outils n' | ||
| + | * La police supporte plusieurs langues, plusieurs langages, plusieurs graisses. | ||
| + | </ | ||
| + | |||
| + | ==== Liens ==== | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| ===== Polices utilisées ===== | ===== Polices utilisées ===== | ||
| + | Il existe des milliers de polices, mais celles-ci sont celles que j' | ||
| ==== Ænigma Scrawl 4 BRK ==== | ==== Ænigma Scrawl 4 BRK ==== | ||
| Ligne 112: | Ligne 254: | ||
| </ | </ | ||
| - | === ParaType Sans === | + | ==== ParaType Sans ==== |
| <WRAP box> | <WRAP box> | ||
| <typo ff:'PT Sans'; | <typo ff:'PT Sans'; | ||
| Ligne 130: | Ligne 272: | ||
| </ | </ | ||
| - | === ParaType Serif === | + | ==== ParaType Serif ==== |
| <WRAP box> | <WRAP box> | ||
| <typo ff:'PT Serif'; | <typo ff:'PT Serif'; | ||
| Ligne 148: | Ligne 290: | ||
| </ | </ | ||
| - | === Sketch Nothing === | + | ==== Sketch Nothing |
| <WRAP box> | <WRAP box> | ||
| <typo ff:' | <typo ff:' | ||
| Ligne 166: | Ligne 308: | ||
| </ | </ | ||
| + | ===== Autres polices ===== | ||
| + | ==== Old Newspaper Types ==== | ||
| + | <WRAP box> | ||
| + | <typo ff:' | ||
| + | abcdefghijklmnopqrstuvwxyz\\ | ||
| + | ABCDEFGHIJKLMNOPQRSTUVWXYZ\\ | ||
| + | 0123456789.:,; | ||
| + | àÀâÂçÇéÉèÈêÊëËîÎïÏôÔùÙûÛüÜæÆœŒ\\ | ||
| + | The quick brown fox jumps over the lazy dog\\ | ||
| + | %%== === != !== >= <= -> <=> =>%%\\ | ||
| + | 0O 1l B8 <> [] {} 2N2N2N2N | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP info> | ||
| + | * [[https:// | ||
| + | </ | ||
| ===== Polices à tester ===== | ===== Polices à tester ===== | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | |||
| + | ===== Répertoires de polices ===== | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[http:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | |||
| + | ===== Configuration et utilisation ===== | ||
| + | |||
| + | ==== Installation sous Linux ==== | ||
| + | |||
| + | Si les polices sont disponibles dans les dépôts, il est recommandé d' | ||
| + | Sinon il faut copier les fichiers dans le répertoire '' | ||
| + | < | ||
| + | fc-cache --force --verbose | ||
| + | </ | ||
| + | ==== Visualisation ==== | ||
| + | Pour visualiser les polices disponibles sur mon système, j' | ||
| + | Il affichera l' | ||
| + | Celles-ci sont situées soit dans ''/ | ||
| + | ==== Activation des ligatures dans vscode ==== | ||
| + | * Installer une police le permettant, ici [[https:// | ||
| + | * Dans la configuration, | ||
| + | * Dans le fichier // | ||
| + | ==== Ajouter des polices dans Dokuwiki ==== | ||
| + | Voir [[informatique: | ||
informatique/ecriture/polices.1691510858.txt.gz · Dernière modification : de alexis
