项目作者: maxatome

项目描述 :
Generate labels for (wine) bottle neck
高级语言: Go
项目地址: git://github.com/maxatome/bottle-label.git
创建时间: 2017-10-08T08:32:29Z
项目社区:https://github.com/maxatome/bottle-label

开源协议:BSD 2-Clause "Simplified" License

下载


bottle-label

Installation

  1. go install

Usage

  1. bottle-label -font georgia.json -output wine.pdf \
  2. "3 x Domaine Vayssette\nCuvée Léa - 2011\nGaillac - 9,20 -> 2016/9" \
  3. "6 x Château l'Hospitalet\nLa Clape - 2015\nLanguedoc - 7,85" \
  4. "Romain Duvernay\nVisan - 2016\nCôtes du Rhône V. - 5,30"

bottle-label example

The georgia.json has to be generated with makefont utility of
gofpdf package, see https://github.com/jung-kurt/gofpdf#nonstandard-fonts

By default, bottle-label use helvetica font.

-output is optional. Default output file is output.pdf.