Edit supported fonts

This commit is contained in:
Svetlana Maleeva 2024-03-12 18:08:21 +03:00
parent 16b3d7765b
commit 5f7eda4a0f
4 changed files with 27 additions and 4 deletions

View File

@ -25,7 +25,13 @@
<p>Sometimes you might want to add additional fonts to <b>ONLYOFFICE Docs</b> to enhance the work with the editors. That can be done quite easily.</p> <p>Sometimes you might want to add additional fonts to <b>ONLYOFFICE Docs</b> to enhance the work with the editors. That can be done quite easily.</p>
<h2 id="BareBonesInstructions">Bare Bones Instructions</h2> <h2 id="BareBonesInstructions">Bare Bones Instructions</h2>
<p>By default <b>ONLYOFFICE Docs</b> uses embedded free fonts (true type only in <code>.ttf</code> format) from the operating system where <b>ONLYOFFICE Docs</b> is installed. If you would like to use additional fonts you can do the following:</p> <p>By default <b>ONLYOFFICE Docs</b> uses embedded free fonts from the operating system where <b>ONLYOFFICE Docs</b> is installed.</p>
<p>All fonts that the FreeType library defines as TrueType/OpenType are supported:</p>
<ul>
<li>TrueType: <code>.ttf</code>, <code>.tte</code>, <code>.dfont</code> (excepting <code>.dfont</code> fonts on MacOS/iOS)</li>
<li>OpenType:<code>.otf</code>, <code>.otc</code>, <code>.ttf</code>, <code>.ttc</code></li>
</ul>
<p>If you would like to use additional fonts you can do the following:</p>
<ol> <ol>
<li>Install the font by copying it to <code>/usr/share/fonts/</code> (to the computer with <b>ONLYOFFICE Docs</b> installed).</li> <li>Install the font by copying it to <code>/usr/share/fonts/</code> (to the computer with <b>ONLYOFFICE Docs</b> installed).</li>
<li>Open the <code>/usr/bin</code> folder.</li> <li>Open the <code>/usr/bin</code> folder.</li>

View File

@ -25,7 +25,12 @@
<p>Иногда вам может потребоваться добавить дополнительные шрифты в <b>ONLYOFFICE Docs</b>, чтобы улучшить работу с редакторами. Это доволно легко.</p> <p>Иногда вам может потребоваться добавить дополнительные шрифты в <b>ONLYOFFICE Docs</b>, чтобы улучшить работу с редакторами. Это доволно легко.</p>
<h2 id="BareBonesInstructions">Основные инструкции</h2> <h2 id="BareBonesInstructions">Основные инструкции</h2>
<p>По умолчанию в <b>ONLYOFFICE Docs</b> используются встроенные бесплатные шрифты (только шрифты TrueType в формате <code>.ttf</code>) операционной системы, на которой установлен <b>ONLYOFFICE Docs</b>. Если вы хотите использовать дополнительные шрифты, можно сделать следующее:</p> <p>По умолчанию в <b>ONLYOFFICE Docs</b> используются встроенные бесплатные шрифты операционной системы, на которой установлен <b>ONLYOFFICE Docs</b>.</p>
<p>Поддерживаются все шрифты, которые библиотека FreeType определяет как TrueType/OpenType:</p>
<ul>
<li>TrueType: <code>.ttf</code>, <code>.tte</code>, <code>.dfont</code> (кроме шрифтов <code>.dfont</code> на MacOS/iOS)</li>
<li>OpenType:<code>.otf</code>, <code>.otc</code>, <code>.ttf</code>, <code>.ttc</code></li>
</ul>
<ol> <ol>
<li>Установите шрифт, скопировав его в папку <code>/usr/share/fonts/</code> (на компьютере, где установлен <b>ONLYOFFICE Docs</b>).</li> <li>Установите шрифт, скопировав его в папку <code>/usr/share/fonts/</code> (на компьютере, где установлен <b>ONLYOFFICE Docs</b>).</li>
<li>Откройте папку <code>/usr/bin</code>.</li> <li>Откройте папку <code>/usr/bin</code>.</li>

View File

@ -29,7 +29,13 @@
<p>Sometimes you might want to add additional fonts or language spellchecking support to <b>ONLYOFFICE Docs</b> to enhance the work with the editors. That can be done quite easily.</p> <p>Sometimes you might want to add additional fonts or language spellchecking support to <b>ONLYOFFICE Docs</b> to enhance the work with the editors. That can be done quite easily.</p>
<h2 id="BareBonesInstructions">Bare Bones Instructions</h2> <h2 id="BareBonesInstructions">Bare Bones Instructions</h2>
<h5>Installing new fonts</h5> <h5>Installing new fonts</h5>
<p>By default <b>ONLYOFFICE Docs</b> uses embedded free fonts (true type only in <code>.ttf</code> format) from the operating system where <b>ONLYOFFICE Docs</b> is installed. If you would like to use additional fonts you can do the following on the computer with <b>ONLYOFFICE Docs</b> installed:</p> <p>By default <b>ONLYOFFICE Docs</b> uses embedded free fonts from the operating system where <b>ONLYOFFICE Docs</b> is installed.</p>
<p>All fonts that the FreeType library defines as TrueType/OpenType are supported:</p>
<ul>
<li>TrueType: <code>.ttf</code>, <code>.tte</code>, <code>.dfont</code> (excepting <code>.dfont</code> fonts on MacOS/iOS)</li>
<li>OpenType:<code>.otf</code>, <code>.otc</code>, <code>.ttf</code>, <code>.ttc</code></li>
</ul>
<p>If you would like to use additional fonts you can do the following:</p>
<ol> <ol>
<li>Install the font to the <code>C:\Windows\Font</code> folder by clicking the font and choosing the <b>Install for all users</b> option in the context menu. On Windows versions lower than Windows 11 or Windows Server 2022, just select <b>Install</b>.</li> <li>Install the font to the <code>C:\Windows\Font</code> folder by clicking the font and choosing the <b>Install for all users</b> option in the context menu. On Windows versions lower than Windows 11 or Windows Server 2022, just select <b>Install</b>.</li>
<li>Go to the <code>C:\Program Files\ONLYOFFICE\DocumentServer\bin\</code> folder and run the <code>documentserver-generate-allfonts.bat</code> file as administrator. <li>Go to the <code>C:\Program Files\ONLYOFFICE\DocumentServer\bin\</code> folder and run the <code>documentserver-generate-allfonts.bat</code> file as administrator.

View File

@ -29,7 +29,13 @@
<p>Иногда вам может потребоваться добавить дополнительные шрифты или поддержку дополнительных языков проверки орфографии в <b>ONLYOFFICE Docs</b>, чтобы улучшить работу с редакторами. Это доволно легко.</p> <p>Иногда вам может потребоваться добавить дополнительные шрифты или поддержку дополнительных языков проверки орфографии в <b>ONLYOFFICE Docs</b>, чтобы улучшить работу с редакторами. Это доволно легко.</p>
<h2 id="BareBonesInstructions">Основные инструкции</h2> <h2 id="BareBonesInstructions">Основные инструкции</h2>
<h5>Установка новых шрифтов</h5> <h5>Установка новых шрифтов</h5>
<p>По умолчанию в <b>ONLYOFFICE Docs</b> используются встроенные бесплатные шрифты (только шрифты TrueType в формате <code>.ttf</code>) операционной системы, на которой установлен <b>ONLYOFFICE Docs</b>. Если вы хотите использовать дополнительные шрифты, можно сделать следующее на компьютере, где установлен <b>ONLYOFFICE Docs</b>:</p> <p>По умолчанию в <b>ONLYOFFICE Docs</b> используются встроенные бесплатные шрифты операционной системы, на которой установлен <b>ONLYOFFICE Docs</b>.</p>
<p>Поддерживаются все шрифты, которые библиотека FreeType определяет как TrueType/OpenType:</p>
<ul>
<li>TrueType: <code>.ttf</code>, <code>.tte</code>, <code>.dfont</code> (кроме шрифтов <code>.dfont</code> на MacOS/iOS)</li>
<li>OpenType:<code>.otf</code>, <code>.otc</code>, <code>.ttf</code>, <code>.ttc</code></li>
</ul>
<p>Если вы хотите использовать дополнительные шрифты, можно сделать следующее на компьютере, где установлен <b>ONLYOFFICE Docs</b>:</p>
<ol> <ol>
<li>Установите шрифт в папку <code>C:\Windows\Font</code>, кликнув мышкой на шрифт и выбрав в контекстном меню пункт <b>Install for all users</b>. На версиях Windows ниже, чем Windows 11 или Windows Server 2022, просто выберите <b>Install</b>.</li> <li>Установите шрифт в папку <code>C:\Windows\Font</code>, кликнув мышкой на шрифт и выбрав в контекстном меню пункт <b>Install for all users</b>. На версиях Windows ниже, чем Windows 11 или Windows Server 2022, просто выберите <b>Install</b>.</li>
<li>Перейдите в папку <code>C:\Program Files\ONLYOFFICE\DocumentServer\bin\</code> и запустите файл <code>documentserver-generate-allfonts.bat</code> от имени администратора. <li>Перейдите в папку <code>C:\Program Files\ONLYOFFICE\DocumentServer\bin\</code> и запустите файл <code>documentserver-generate-allfonts.bat</code> от имени администратора.