GithubHelp home page GithubHelp logo

yeenbean / iosevka-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avivace/iosevka-docker

0.0 0.0 0.0 51 KB

Docker containers to build custom (or upstream) versions of the Iosevka typeface and package them for Debian

Home Page: https://hub.docker.com/r/avivace/iosevka-build

License: Creative Commons Zero v1.0 Universal

Shell 59.27% Dockerfile 40.73%

iosevka-docker's Introduction

iosevka-docker

Docker Pulls

Docker containers to build your own (or standard) version of the Iosevka typeface without worrying about dependencies and build environments.

Quickstart

Linux:

docker run -it -v $(pwd):/build avivace/iosevka-build

Windows (Command Prompt)

docker run -it -v %cd%:/build avivace/iosevka-build

Windows (PowerShell)

docker run -it -v ${PWD}:/build avivace/iosevka-build

For the rest of this document, replace $(pwd) with either %cd% or ${PWD} based on your environment

Will build the latest released version of Iosevka with the default configuration.

Your built font files will be available in the dist/ folder.

Custom build configuration

To customize your build, just launch the docker command from the directory where your private-build-plans.toml is placed.

You can prepare your configuration following the Customized Build documentation or use the Iosevka Build Customizer.

Be aware of the breaking changes introduced with 4.0.0 i.e. configurations working with 3.7.1 are not guaranteed to work with 4.0.0.

Version

To specify a version to build, just add -e FONT_VERSION= to the Docker command. E.g. to build version 3.7.1:

docker run -e FONT_VERSION=3.7.1 -it -v $(pwd):/build avivace/iosevka-build

Releases can be found here. Only font versions 3.0.0 or higher are supported.

Build arguments

You can pass any of the optional build options described in Customized Build.

docker run -it -v $(pwd):/build avivace/iosevka-build [optional build args]

E.g. to only build TTF files:

docker run -it -v $(pwd):/build avivace/iosevka-build ttf::iosevka-custom

Build the Docker image yourself

  1. Be sure to have Docker installed. Clone this repository.
git clone https://github.com/avivace/fonts-iosevka.git
  1. If you want, replace the provided private-build-plans.toml file with yours.

  2. Build and run the Docker container

# Build the container
docker build -t iosevka_build . -f Dockerfile

# Launch the build on Iosevka git tag 3.7.1, using the build folder on the host
docker run -e FONT_VERSION=3.7.1 -it -v $(pwd)/build:/build iosevka_build
  1. Done! Your built font files are available in the dist folder.

Install

Copy the generated folders in ~/.local/share/fonts and run fc-cache.

cp -r build/dist/* ~/.local/share/fonts/
fc-cache

Debian packaging

TODO

References and links

iosevka-docker's People

Contributors

avivace avatar onkeltem avatar azmcode avatar dehghani-mehdi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.