kopia lustrzana https://github.com/tonsky/FiraCode
Merge 3bc87c2128
into 717ec96635
commit
9246ca7c80
10
Dockerfile
10
Dockerfile
|
@ -1,9 +1,13 @@
|
|||
FROM python:3
|
||||
FROM python:3.10
|
||||
|
||||
WORKDIR /opt
|
||||
|
||||
RUN pip install --upgrade Pillow==5.4.1 idna==2.8 requests==2.21.0 urllib3==1.24.1 pycairo==1.20.1 gftools==0.7.4 fontmake==2.4.0 fontbakery==0.8.0
|
||||
RUN pip install --upgrade Pillow==11.0.0 idna==2.8 requests==2.32.3 urllib3==2.2.3 pycairo==1.20.1 gftools==0.7.4 fontmake==2.4.0 fontbakery==0.8.0 protobuf==3.20.1
|
||||
RUN apt-get update && \
|
||||
apt-get install -y ttfautohint && \
|
||||
apt-get install -y woff2 && \
|
||||
apt-get install -y sfnt2woff-zopfli
|
||||
apt-get install -y sfnt2woff-zopfli
|
||||
|
||||
COPY . /opt
|
||||
|
||||
VOLUME [ "/opt/distr" ]
|
|
@ -263,7 +263,7 @@ You can also limit the font weights that will be created with the `-w / --weight
|
|||
./script/build.sh --features "ss02,ss08,ss10,cv03,cv07,cv14" --family-name "Fira Code straight" --weights "Regular,Bold"
|
||||
|
||||
# or via a docker container (creates the family name 'Fira Code cv01 cv02 cv06 cv31 onum ss01 ss03 ss04 zero')
|
||||
docker run --rm -v "${PWD}":/opt tonsky/firacode:latest ./script/build.sh -f "cv01,cv02,cv06,ss01,zero,onum,ss03,ss04,cv31" -n "features"
|
||||
docker run --rm -v "${PWD}/output":/opt/distr tonsky/firacode:latest ./script/build.sh -f "cv01,cv02,cv06,ss01,zero,onum,ss03,ss04,cv31" -n "features"
|
||||
|
||||
# in Git Bash from Git for Windows, or any other MSYS2 based shell, you might need to disable path conversion
|
||||
MSYS2_ARG_CONV_EXCL="*" docker run --rm -v "${PWD}":/opt tonsky/firacode:latest ./script/build.sh -f "ss02,ss03,ss04,ss05,ss06,ss07"
|
||||
|
|
Ładowanie…
Reference in New Issue