You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/Excel/Excel-Library/NET/Linux.md
+2-15Lines changed: 2 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,33 +12,20 @@ The frequently asked questions about using XlsIO in Linux environment are listed
12
12
13
13
## How to copy necessary fonts to Linux containers?
14
14
15
-
Excel to PDF conversion on Linux relies on system fonts available inside the container. By default, only a limited set is installed. Copy the required fonts to "/usr/local/share/fonts/" and refresh the font cache so they are used during conversion. Refer to the steps below to copy fonts.
15
+
Excel to PDF conversion on Linux relies on system fonts available inside the container. By default, only a limited set is installed. Copy the required fonts to "/usr/local/share/fonts/" before conversion. Refer to the steps below to copy fonts.
16
16
17
17
**Steps:**
18
18
19
19
Step 1: Create a **Fonts** folder inside your project (or next to the solution).
20
20
Step 2: Place the required TrueType/OpenType font files (.ttf/.otf) in that folder.
21
-
Step 3: Add the following to your Dockerfile to install font support, copy fonts, and refresh the cache.
21
+
Step 3: Add the following to your Dockerfile to copy the fonts to the container.
22
22
23
23
{% tabs %}
24
24
25
25
{% highlight Dockerfile %}
26
26
27
-
# Install native font support
28
-
RUN apt-get update && apt-get install -y --no-install-recommends \
0 commit comments