55 Commits

Author SHA1 Message Date
cuu
31670a4428 indent code with clang-format, add rotation 2022-03-10 04:02:24 -06:00
cuu
3237703ec3 add get_serial_cache_font_width to calc the whole line ser_cache width 2022-03-08 00:55:03 -06:00
cuu
8eff139781 very close the perfect,adding baseline 2022-03-06 23:48:09 -06:00
cuu
205ebf2c2c user bbox_height to be the max size of rows,left with too wide linesheight problem 2022-03-06 03:55:05 -06:00
cuu
7b0e930ffc ttf cjk printing beta tested 2022-03-06 01:13:37 -06:00
cuu
5d0727108d bug fix,first line disappear fixed,next is clear extra points that appear incorrectly at bottom,and word-to-word alignment 2022-02-28 06:04:37 -06:00
cuu
441adea43f cjk printing done,but still has bug ,will lose top line of bitmap occasionally 2022-02-27 03:15:40 -06:00
cuu
a7707aa703 disable freetype AA 2022-02-26 17:13:58 +08:00
cuu
9a21d046e0 printing out cjk ok,but not perfect,need more advanced space between here and there 2022-02-20 02:34:40 -06:00
cuu
4218cd1e88 code fix 2022-02-13 16:58:27 +08:00
cuu
14b8e42f11 code fix 2022-02-13 13:47:26 +08:00
cuu
b41cf3879e code fix 2022-02-13 13:46:37 +08:00
cuu
0153dca17e code fix 2022-02-13 13:44:28 +08:00
cuu
9408d4c237 code fix 2022-02-13 13:43:43 +08:00
cuu
1befb7959c code fix 2022-02-13 13:41:45 +08:00
cuu
c1215b0f1d code fix 2022-02-13 13:40:31 +08:00
cuu
24f1649b90 add print_lines_ft for freetype 2022-02-12 17:54:32 +08:00
cuu
a7ef30e16b correctly read utf8 string into int32_t 2022-02-10 14:35:45 +08:00
cuu
22e587aa7a ser_cache add utf8idx to store utf8 chars 2022-02-09 14:42:53 +08:00
cuu
dc41ceb9ab add gitignore for idea 2022-01-26 15:04:11 +08:00
cuu
ed9ab854c5 update thermal_printer README 2021-12-22 16:47:51 +08:00
cuu
a900c2fff5 add mtp03 2021-12-01 11:06:26 +00:00
cuu
4351dfcef7 fix readme typo 2021-09-16 11:52:00 +08:00
cuu
1ca70d37d9 add eg cli commands in readme 2021-08-18 22:48:43 +08:00
cuu
3cc430a555 add eg cli commands in readme 2021-08-18 20:33:20 +08:00
cuu
013be94ac8 add eg cli commands in readme 2021-08-18 20:29:35 +08:00
cuu
167edbd2f5 add eg cli commands in readme 2021-08-18 20:23:24 +08:00
cuu
ec9598f841 map adc node to /tmp/devterm_adc 2021-08-11 15:10:07 +08:00
cuu
2e449853c3 remove self test grid printing 2021-07-13 15:06:35 +08:00
cuu
aff53426b2 devterm thermal printer readme 2021-07-12 22:40:59 +08:00
cuu
ec9d220daf ... 2021-05-29 17:37:47 +08:00
cuu
dc995cf546 readme 2021-05-29 17:34:08 +08:00
cuu
ddd21b4d62 add lock mode for thermal printer when battery is low 2021-05-29 17:14:43 +08:00
cuu
4e06a6e213 add check_battery 2021-05-29 13:25:14 +08:00
cuu
0824e292fd change max print pts with battery level 2021-05-28 19:39:13 +08:00
cuu
cab226e6b9 decrease HEAT_TIME 2021-05-28 13:16:31 +08:00
cuu
a3530fd6cf add glob to find i2c adc device path 2021-05-28 12:26:30 +08:00
cuu
9c0e674f78 tested the read_adc with thermal_printer 2021-05-27 13:47:34 +08:00
cuu
46944be3ce minor mod for trackball
add read_adc to read temperature for thermal_printer
2021-05-27 13:28:13 +08:00
cuu
bcc984109a tab to be two space in PRINT_STATE 2021-05-16 13:51:52 +08:00
cuu
72eeb89451 tab to be two space in PRINT_STATE 2021-05-16 13:50:39 +08:00
cuu
52b2aaae11 one tab become two spaces 2021-05-16 13:40:12 +08:00
cuu
5e37a70a51 edit devterm-printer.service 2021-05-14 10:01:26 +08:00
cuu
9179e0abc2 bug fix 2021-05-14 09:24:09 +08:00
cuu
08f1f1fa4d bug fix 2021-05-13 17:06:03 +08:00
cuu
ae9e649925 bug fix 2021-05-13 17:04:24 +08:00
cuu
fb12b78724 add PRINTF, StandardOutput for debugging 2021-05-13 16:50:01 +08:00
cuu
3fb2310548 add CONFIG printf 2021-05-13 13:03:00 +08:00
cuu
3186a3216f add CONFIG printf 2021-05-13 13:00:33 +08:00
cuu
c6e3c43116 add CONFIG printf 2021-05-13 12:59:35 +08:00