Skip to content

Commit

Permalink
Добавлено статья по установки шрифтов
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderShad committed Feb 29, 2024
1 parent 0174fa3 commit 7d9485a
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _data/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ export const docs = [
{ text: 'Настройка яркости экрана', link: '/display-brightness'}
],
collapsed: true
}
},
{ text: 'Установка шрифтов', link: '/add-fonts'}

],
collapsed: true
}
Expand Down
43 changes: 43 additions & 0 deletions docs/using_gnome/add-fonts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Установка шрифтов в систему

Шрифты в систему ALT Gnome можно установить через пакеты из репозитория.

## Microsoft - установка шрифтов

Для установки шрифтов воспользуйтесь терминалом

::: code-group
```shell[apt-get]
su -
apt-get update
apt-get install fonts-ttf-ms
exit
fc-cache -fv
```
```shell[epm]
epm -i fonts-ttf-ms
fc-cache -fv
```
:::

## Китайские иероглифы - установка шрифтов

Для установки шрифтов воспользуйтесь терминалом

::: code-group
```shell[apt-get]
su -
apt-get update
apt-get install fonts-otf-adobe-source-han-sans-cn
exit
fc-cache -fv
```
```shell[epm]
epm -i fonts-otf-adobe-source-han-sans-cn
fc-cache -fv
```
:::

:::info
Для обновления кэша установленных шрифтов используется команда **fc-cache -fv**
:::

0 comments on commit 7d9485a

Please sign in to comment.