mirror of
https://github.com/belluzj/fantasque-sans.git
synced 2024-12-22 07:21:31 +01:00
commit
5f00c7b95a
21
Dockerfile
Normal file
21
Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install software-properties-common -y && \
|
||||||
|
add-apt-repository ppa:fontforge/fontforge -y && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
fontforge \
|
||||||
|
woff-tools \
|
||||||
|
woff2 \
|
||||||
|
ttfautohint \
|
||||||
|
make \
|
||||||
|
zip
|
||||||
|
|
||||||
|
WORKDIR /fantasque
|
||||||
|
|
||||||
|
VOLUME /fantasque/Release
|
||||||
|
|
||||||
|
COPY . /fantasque
|
||||||
|
|
||||||
|
CMD ["make"]
|
|
@ -105,6 +105,13 @@ the latest prebuilt release of these fonts.
|
||||||
`make install` will install the TTF fonts into your local `.fonts/` directory
|
`make install` will install the TTF fonts into your local `.fonts/` directory
|
||||||
and update the font cache. It comes in handy while modifying the font.
|
and update the font cache. It comes in handy while modifying the font.
|
||||||
|
|
||||||
|
Alternatively, if you'd like to build Fantasque without installing required dependencies, a Dockerfile is provided. Run the following command, and the fonts will be built to the ./Variants directory.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker build -t fantasque .
|
||||||
|
docker run -v `pwd`/Variants:/fantasque/Variants fantasque
|
||||||
|
```
|
||||||
|
|
||||||
[![](Specimen/Specimen.png)](Specimen/Specimen.pdf)
|
[![](Specimen/Specimen.png)](Specimen/Specimen.pdf)
|
||||||
|
|
||||||
Webfonts
|
Webfonts
|
||||||
|
|
Loading…
Reference in New Issue
Block a user