From 5f7eda4a0fd67634078a602f842b7fdfaeb4b961 Mon Sep 17 00:00:00 2001 From: svetlana maleeva Date: Tue, 12 Mar 2024 18:08:21 +0300 Subject: [PATCH] Edit supported fonts --- .../Document/InstallFontsLinux/InstallFontsLinux.ascx | 8 +++++++- .../Document/InstallFontsLinux/InstallFontsLinux.ru.ascx | 7 ++++++- .../Windows/Document/InstallFonts/InstallFonts.ascx | 8 +++++++- .../Windows/Document/InstallFonts/InstallFonts.ru.ascx | 8 +++++++- 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/Web/Controls/Help/Server/Linux/Document/InstallFontsLinux/InstallFontsLinux.ascx b/Web/Controls/Help/Server/Linux/Document/InstallFontsLinux/InstallFontsLinux.ascx index 52c6bd3cf..afa4b8189 100644 --- a/Web/Controls/Help/Server/Linux/Document/InstallFontsLinux/InstallFontsLinux.ascx +++ b/Web/Controls/Help/Server/Linux/Document/InstallFontsLinux/InstallFontsLinux.ascx @@ -25,7 +25,13 @@

Sometimes you might want to add additional fonts to ONLYOFFICE Docs to enhance the work with the editors. That can be done quite easily.

Bare Bones Instructions

-

By default ONLYOFFICE Docs uses embedded free fonts (true type only in .ttf format) from the operating system where ONLYOFFICE Docs is installed. If you would like to use additional fonts you can do the following:

+

By default ONLYOFFICE Docs uses embedded free fonts from the operating system where ONLYOFFICE Docs is installed.

+

All fonts that the FreeType library defines as TrueType/OpenType are supported:

+ +

If you would like to use additional fonts you can do the following:

  1. Install the font by copying it to /usr/share/fonts/ (to the computer with ONLYOFFICE Docs installed).
  2. Open the /usr/bin folder.
  3. diff --git a/Web/Controls/Help/Server/Linux/Document/InstallFontsLinux/InstallFontsLinux.ru.ascx b/Web/Controls/Help/Server/Linux/Document/InstallFontsLinux/InstallFontsLinux.ru.ascx index 5abc2edff..60274b3f7 100644 --- a/Web/Controls/Help/Server/Linux/Document/InstallFontsLinux/InstallFontsLinux.ru.ascx +++ b/Web/Controls/Help/Server/Linux/Document/InstallFontsLinux/InstallFontsLinux.ru.ascx @@ -25,7 +25,12 @@

    Иногда вам может потребоваться добавить дополнительные шрифты в ONLYOFFICE Docs, чтобы улучшить работу с редакторами. Это доволно легко.

    Основные инструкции

    -

    По умолчанию в ONLYOFFICE Docs используются встроенные бесплатные шрифты (только шрифты TrueType в формате .ttf) операционной системы, на которой установлен ONLYOFFICE Docs. Если вы хотите использовать дополнительные шрифты, можно сделать следующее:

    +

    По умолчанию в ONLYOFFICE Docs используются встроенные бесплатные шрифты операционной системы, на которой установлен ONLYOFFICE Docs.

    +

    Поддерживаются все шрифты, которые библиотека FreeType определяет как TrueType/OpenType:

    +
    1. Установите шрифт, скопировав его в папку /usr/share/fonts/ (на компьютере, где установлен ONLYOFFICE Docs).
    2. Откройте папку /usr/bin.
    3. diff --git a/Web/Controls/Help/Server/Windows/Document/InstallFonts/InstallFonts.ascx b/Web/Controls/Help/Server/Windows/Document/InstallFonts/InstallFonts.ascx index 488c74ece..1f5be7aab 100644 --- a/Web/Controls/Help/Server/Windows/Document/InstallFonts/InstallFonts.ascx +++ b/Web/Controls/Help/Server/Windows/Document/InstallFonts/InstallFonts.ascx @@ -29,7 +29,13 @@

      Sometimes you might want to add additional fonts or language spellchecking support to ONLYOFFICE Docs to enhance the work with the editors. That can be done quite easily.

      Bare Bones Instructions

      Installing new fonts
      -

      By default ONLYOFFICE Docs uses embedded free fonts (true type only in .ttf format) from the operating system where ONLYOFFICE Docs is installed. If you would like to use additional fonts you can do the following on the computer with ONLYOFFICE Docs installed:

      +

      By default ONLYOFFICE Docs uses embedded free fonts from the operating system where ONLYOFFICE Docs is installed.

      +

      All fonts that the FreeType library defines as TrueType/OpenType are supported:

      +
        +
      • TrueType: .ttf, .tte, .dfont (excepting .dfont fonts on MacOS/iOS)
      • +
      • OpenType:.otf, .otc, .ttf, .ttc
      • +
      +

      If you would like to use additional fonts you can do the following:

      1. Install the font to the C:\Windows\Font folder by clicking the font and choosing the Install for all users option in the context menu. On Windows versions lower than Windows 11 or Windows Server 2022, just select Install.
      2. Go to the C:\Program Files\ONLYOFFICE\DocumentServer\bin\ folder and run the documentserver-generate-allfonts.bat file as administrator. diff --git a/Web/Controls/Help/Server/Windows/Document/InstallFonts/InstallFonts.ru.ascx b/Web/Controls/Help/Server/Windows/Document/InstallFonts/InstallFonts.ru.ascx index a8f86e576..0c420c1fe 100644 --- a/Web/Controls/Help/Server/Windows/Document/InstallFonts/InstallFonts.ru.ascx +++ b/Web/Controls/Help/Server/Windows/Document/InstallFonts/InstallFonts.ru.ascx @@ -29,7 +29,13 @@

        Иногда вам может потребоваться добавить дополнительные шрифты или поддержку дополнительных языков проверки орфографии в ONLYOFFICE Docs, чтобы улучшить работу с редакторами. Это доволно легко.

        Основные инструкции

        Установка новых шрифтов
        -

        По умолчанию в ONLYOFFICE Docs используются встроенные бесплатные шрифты (только шрифты TrueType в формате .ttf) операционной системы, на которой установлен ONLYOFFICE Docs. Если вы хотите использовать дополнительные шрифты, можно сделать следующее на компьютере, где установлен ONLYOFFICE Docs:

        +

        По умолчанию в ONLYOFFICE Docs используются встроенные бесплатные шрифты операционной системы, на которой установлен ONLYOFFICE Docs.

        +

        Поддерживаются все шрифты, которые библиотека FreeType определяет как TrueType/OpenType:

        +
          +
        • TrueType: .ttf, .tte, .dfont (кроме шрифтов .dfont на MacOS/iOS)
        • +
        • OpenType:.otf, .otc, .ttf, .ttc
        • +
        +

        Если вы хотите использовать дополнительные шрифты, можно сделать следующее на компьютере, где установлен ONLYOFFICE Docs:

        1. Установите шрифт в папку C:\Windows\Font, кликнув мышкой на шрифт и выбрав в контекстном меню пункт Install for all users. На версиях Windows ниже, чем Windows 11 или Windows Server 2022, просто выберите Install.
        2. Перейдите в папку C:\Program Files\ONLYOFFICE\DocumentServer\bin\ и запустите файл documentserver-generate-allfonts.bat от имени администратора.