Edit InstallFonts.ascx

This commit is contained in:
Svetlana Maleeva 2023-12-26 14:23:41 +03:00
parent d073a950a2
commit faef8587bc
2 changed files with 4 additions and 4 deletions

View File

@ -29,9 +29,9 @@
<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>
<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:</p>
<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>
<ol>
<li>Install the font by copying it to <code>C:\Windows\Font</code> (to the computer with <b>ONLYOFFICE Docs</b> installed).</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.
<p>It will scan the system font folder for the installed font, the font will be used by the <code>AllFonts.js</code> script to form the font thumbnails in the editors and add the font metrics to the <code>font_selection.bin</code> file for its further usage.</p>
</li>

View File

@ -29,9 +29,9 @@
<p>Иногда вам может потребоваться добавить дополнительные шрифты или поддержку дополнительных языков проверки орфографии в <b>ONLYOFFICE Docs</b>, чтобы улучшить работу с редакторами. Это доволно легко.</p>
<h2 id="BareBonesInstructions">Основные инструкции</h2>
<h5>Установка новых шрифтов</h5>
<p>По умолчанию в <b>ONLYOFFICE Docs</b> используются встроенные бесплатные шрифты (только шрифты TrueType в формате <code>.ttf</code>) операционной системы, на которой установлен <b>ONLYOFFICE Docs</b>. Если вы хотите использовать дополнительные шрифты, можно сделать следующее:</p>
<p>По умолчанию в <b>ONLYOFFICE Docs</b> используются встроенные бесплатные шрифты (только шрифты TrueType в формате <code>.ttf</code>) операционной системы, на которой установлен <b>ONLYOFFICE Docs</b>. Если вы хотите использовать дополнительные шрифты, можно сделать следующее на компьютере, где установлен <b>ONLYOFFICE Docs</b>:</p>
<ol>
<li>Установите шрифт, скопировав его в папку <code>C:\Windows\Font</code> (на компьютере, где установлен <b>ONLYOFFICE Docs</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> от имени администратора.
<p>Папка с системными шрифтами будет просканирована на наличие установленного шрифта. Этот шрифт будет использован файлом сценария <code>AllFonts.js</code> , чтобы сформировать эскизы шрифта в редакторах и добавить метрику шрифта в файл <code>font_selection.bin</code> для его дальнейшего использования.</p>
</li>