Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
pagedjs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
160
Issues
160
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tools
pagedjs
Commits
e4507c45
Commit
e4507c45
authored
Aug 27, 2018
by
Fred Chasen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add font.conf for Docker
parent
b9b1ca3e
Pipeline
#61
passed with stage
in 6 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
Dockerfile
Dockerfile
+10
-0
docker-font.conf
docker-font.conf
+13
-0
No files found.
Dockerfile
View file @
e4507c45
...
...
@@ -22,6 +22,16 @@ RUN apt-get update && \
# See https://crbug.com/795759
RUN
apt-get update
&&
apt-get
install
-yq
libgconf-2-4
# Update Freetype
COPY
docker-font.conf /etc/fonts/local.conf
ENV
FREETYPE_PROPERTIES="truetype:interpreter-version=35"
RUN
apt-get update
\
&&
sh
-c
'echo "deb http://http.us.debian.org/debian stable main contrib non-free" >> /etc/apt/sources.list'
\
&&
apt-get update
\
&&
apt-get
install
-y
ttf-mscorefonts-installer
\
--no-install-recommends
\
&&
rm
-rf
/var/lib/apt/lists/
*
# Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others)
# Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer
# installs, work.
...
...
docker-font.conf
0 → 100644
View file @
e4507c45
<?
xml
version
=
"1.0"
?>
<!
DOCTYPE
fontconfig
SYSTEM
"fonts.dtd"
>
<
fontconfig
>
<
match
target
=
"font"
>
<
edit
name
=
"antialias"
mode
=
"assign"
><
bool
>
true
</
bool
></
edit
>
</
match
>
<
match
target
=
"font"
>
<
edit
name
=
"hintstyle"
mode
=
"assign"
><
const
>
hintnone
</
const
></
edit
>
</
match
>
<
match
target
=
"font"
>
<
edit
mode
=
"assign"
name
=
"hinting"
><
bool
>
false
</
bool
></
edit
>
</
match
>
</
fontconfig
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment