MyGit

v0.3.6

pdfcpu/pdfcpu

版本发布时间: 2020-09-30 07:47:04

pdfcpu/pdfcpu最新发布版本:v0.8.1(2024-08-31 21:13:37)

Hello!

The focus of this release is the pdfcpu config dir. This dir contains config.yml which represents the current default configuration. config.yml will be loaded on restarting pdfcpu either via the API or the CLI.

You can find out about the location of the config dir via pdfcpu version -v

Since there seem to be usecases where it makes sense to bypass the config dir you can pass the new flag -config disable into any call executed on the cmd line and in your Go backend you may call api.DisableConfigDir() to achieve the same. Just a friendly reminder that in such a scenario user fonts (possibly for stamping) are not available.

You can also pass a custom path to an existing directory like in config /User/pdf and pdfcpu will create a pdfcpu config dir within. Like this you can manage multiple config dirs. Just make sure you pass the corresponding config dir you'd like to use before your pdfcpu operation.

.
├── config.yml
└── fonts
    ├── Geneva.gob
    ├── OldTypewriter.gob
    └── Roboto-Regular.gob

The config dir also contains a dir called fonts which is the home for user fonts installed via eg. pdfcpu fonts install abc.ttf More about this in the next release which will be all about fonts.

Thank you all for reporting bugs and filing issues. Stay tuned and happy coding 💚

Changelog

67f0c34 Add low level test for collect e77e4e4 Add low level test for split 4f10ad0 Fix #218 9328d3b Fix #220 7a20978 Fix #221 f5a85ae Fix #222 113adaf Fix #223 4c18535 Fix #224 6b2e3b4 Fix #231, #232, bump version d8572c7 Fix attachment literal creations 218a002 Handle config dir & introduce config.yml

相关地址:原始地址 下载(tar) 下载(zip)

1、 checksums.txt 489B

2、 pdfcpu_0.3.6_Linux_i386.tar.xz 1.79MB

3、 pdfcpu_0.3.6_Linux_x86_64.tar.xz 1.96MB

4、 pdfcpu_0.3.6_macOS_x86_64.tar.xz 2.03MB

5、 pdfcpu_0.3.6_Windows_i386.zip 2.05MB

6、 pdfcpu_0.3.6_Windows_x86_64.zip 2.13MB

查看:2020-09-30发行的版本