Skip to content

Commit 07302a1

Browse files
988484-LinuxUG
1 parent d29fbfd commit 07302a1

File tree

1 file changed

+16
-0
lines changed
  • Document-Processing/Excel/Excel-Library/NET

1 file changed

+16
-0
lines changed

Document-Processing/Excel/Excel-Library/NET/Linux.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,22 @@ COPY ["ProjectName/Fonts/*.*", "/usr/local/share/fonts/"]
3232

3333
You can download a complete working sample from <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Linux/Copy%20fonts%20to%20linux%20containers/.NET/Copy_fonts_to_linux_containers">GitHub</a>.
3434

35+
## How to install Microsoft compatible fonts on Linux?
36+
37+
By default, Linux systems include a limited set of fonts located at "/usr/share/fonts/". For document conversion scenarios that require Microsoft-compatible fonts, you can install them using the following command:
38+
39+
{% tabs %}
40+
41+
{% highlight Kconfig %}
42+
sudo apt-get install ttf-mscorefonts-installer
43+
{% endhighlight %}
44+
45+
{% endtabs %}
46+
47+
After installation, the fonts will be available at "/usr/share/fonts/truetype/msttcorefonts", and will be used during conversion.
48+
49+
N> Ensure you have obtained the appropriate license clearance from Microsoft before using these fonts in your environment.
50+
3551
## How to set culture/locale in Docker containers (Windows and Linux)?
3652

3753
By default, Culture/Locale that is specified in the container image will be used in Docker containers.

0 commit comments

Comments
 (0)