Skip to content
shidocchiPublic

About

text typesetter with fpdf2

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text2pdf

text typesetter with fpdf2

  • プレーンテキストをPDF化します (a2pdfぽいやつ)
  • 特殊文字は「改行」「改ページ」だけ処理が行えるようにします
  • マークアップによる強調などの装飾は扱いません

INSTALL

$ python -m pip install git+https://github.com/shidocchi/text2pdf.git

USAGE

usage: python -m text2pdf ...

text typesetter

options:
  -h, --help            show this help message and exit
  --raw                 suppress stdin encoding
  --out OUT             output filename
  --page {a3,b4,a4,b5,a5,hagaki}
                        page size
  --landscape           landscape
  --margin MARGIN       margin mm
  --size SIZE           font pt
  --height HEIGHT       line height pt
  --font {cons,yu,noto,udev,ipa}
                        font
  --do {print,edit,open}
                        operation
  --sample              sample text
$ cat sample.txt | python -m text2pdf

About

text typesetter with fpdf2

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages