Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM ubuntu:focal

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
git python3.8 wget build-essential emacs ruby rhino python3-pip
RUN pip3 install afdko
RUN PERL_MM_USE_DEFAULT=1 cpan App::cpanminus
RUN cpanm Math::Clipper
RUN git clone https://github.com/adobe-type-tools/perl-scripts.git /opt/perl-scripts
2 changes: 1 addition & 1 deletion Makefile_HanaMin
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PROG = .
PERL = perl
SCRIPTS = $(HOME)/.ghq/github.com/adobe-type-tools/perl-scripts
SCRIPTS = /opt/perl-scripts
PS2PDF = ps2pdf
version = $(shell date "+%y.%j")
sub = A
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ These fonts also cover all variants of

Run the following command to create the newest font. Please make sure
that you install all required software, set up Perl library environment
variables, set the $(AFDKO) environment variable to the installation
variables, set the $(SCRIPTS) variable to the installation
directory of AFDKO perl scripts.

git clone http://github.com/kawabata/glyphwiki-afdko
Expand All @@ -87,6 +87,16 @@ directory of AFDKO perl scripts.
«check Makefile/Makefile_HanaMin settings»
make

You can also build in a Docker container to make it easier to install
the dependencies like this:

git clone http://github.com/kawabata/glyphwiki-afdko
cd glyphwiki-afdko
git submodule init
git submodule update
docker build -t gw-afdko .
docker run -v "$PWD:/code" -w /code gw-afdko make

This will download "dump.tar.gz" from GlyphWiki web site and create
the fonts. It may take several hours (depends on your machine power),
and then "HanaMinA.otf" and "HanaMinB.otf" will be produced.
Expand Down