Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.
/ WeliPilla Public archive

Welipilla is a boilerplate font project which uses Vagrant as build environment and Hindkit as build script

License

Notifications You must be signed in to change notification settings

mooniak/WeliPilla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeliPilla

Welipilla is a font build system based on hindkit by ITF. This system uses FontForge, RoboFab, Fonttools to build fonts from .sfd and .ufo sources. Vagrant, a software to create and configure virtual development environments, is used to remove platform dependancies. Therefore WeliPilla can be used on any major Operating system.

This repository is just a boilerplate to show where things go. To get a clear idea of this build system please refer our working font projects such as this. ##Dependancies

##Folder Structure Some of the folders, which should be present on a actual font project is not visible here due to gitignore. Following folders are essential for the build process.

|--masters
|--build
|--sources
|--instances
|--scripts

  • masters: Where master ufo files reside
  • build: Compiled .otf goes here
  • sources: Source ufo files resides here.(Since we use FontForge at Mooniak we use sub folder named sfd to put our working files and using the build script we convert them to ufoat build)
  • instances: Interpolated font instances will go here
  • scripts: Contains all the build scripts

##Building WeliPilla based project

  • Install above two dependencies
  • Go to cloned project using terminal and run $vagrant up. This will spawn a Ubuntu 12 virtual machine and provision it with all the dependencies for hindkit, hindkit and fontforge. At first time this will take about 10-20 minutes depending on your Internet connection.

On Unix based systems

  • After above command run $vagrant ssh and it will open a ssh connection to newly spawned VM.

On Windows based systems

  • Download SSH tool like putty

  • Enter the IP and the port of VM. This will be shown when Vagrant machine is starting up.(Normally IP is 127.0.0.1 or localhost.If you dont have any other VMs running, most proberbly the port will be 2222).

  • Use vagrant as username and password when prompted. (You can use private key authentication if you want). It will open a ssh connection to newly spawned VM.

  • After connecting to VM run$cd /vagrant/scripts This will take you into the scripts folder of font project.

  • Run ./builder.sh. It will build your font and put otf files in build directory.

##Who does what.. There few scripts serving the build process.

  • /Vagrantfile: Contains details on which Vagrant box to use, which is the provisioning script and etc.
  • /buil.py: hindkit config file for the font. Welipilla uses ITF, hindkit as build tool. Refer hindkit for more details on this file.
  • /scripts/bootstrap.sh: This is the provisioning script for Vagrant VM.
  • /scripts/merger.py: This Python script is used to combine two or more ufo objects in to one.
  • /scripts/fontconvert: This script is used to convert sfd files to ufo object using FontForge Python interface.
  • /scripts/builder.sh: This shell script contains shell commands to run above scripts with necessary arguments.

About

Welipilla is a boilerplate font project which uses Vagrant as build environment and Hindkit as build script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages