文字,字符,图片终端打印, print something in terminal
Project description
terminal printer
在使用link等快捷方式,或者在其他目录调用主程序时,字体目录需要使用绝对路径,即需要指定程序所在绝对目录 (当然如果在主程序当前目录的话随意)
如果输出结果为乱码,说明该字体不支持这个字(出现问题一般都是中文,即中文字体库不完全) 当在终端打印图片时,终端字体越小,终端越大(目测高分屏显示效果比较理想,然而并没有尝试过),理论上显示的再现度越高(当初想在rmbp上试一下~~然而还没有机会)
主程序并不大,臃肿的是字体库,下一个版本再尝试调用系统字体库
中英文混合输入时字体宽度异常
计划将中文英文在同一行中分别输出,这将导致核心部分大面积重写(猜测)
github
Deploy
# 初始化字体库
$ terminalprint –init
# 使用
$ terminalprint -t linux
$ terminalprint target.jpg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file TerminalPrinter-1.2.0.tar.gz.
File metadata
- Download URL: TerminalPrinter-1.2.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b69d19249094a763b613d6f4c70a9b60a67c25628856b398a2057e63ba1e551
|
|
| MD5 |
52504b9b8398c62f23f5205b8c007327
|
|
| BLAKE2b-256 |
9ea9a6199fbfca8a1eb5ad4085cb0f4b40071a321a1c1299b402b39da4e12631
|
File details
Details for the file TerminalPrinter-1.2.0-py2.7.egg.
File metadata
- Download URL: TerminalPrinter-1.2.0-py2.7.egg
- Upload date:
- Size: 51.6 MB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6ac9d2536cacf375cd66dd7dc42553af17ecd5afdb813c4f752208f09ce5959
|
|
| MD5 |
b3bb080f718cf19661aa9253d914b023
|
|
| BLAKE2b-256 |
be5af8a670c1e873e45a124757f9d170ee1f82dac20ce7bb2abaac2ca81375c3
|