96 Commits

Author SHA1 Message Date
Sync1211
47d3d2ecea
* Fixed wrap_by_space not working correctly when given a word that is too long for the canvas 2022-05-18 20:31:03 +02:00
Sync1211
049aa74e40
* Moved getElementById and querySelector calls from insertText into the constructor
* Replaced prompt with Dialog.prompt
* Replaced loop in wrapText with string.lastIndexOf
* Renamed wrapText to wrap_by_space
* Renamed variables in insertText to match the snake_case convention
* Moved new strings to the end of localization files
2022-05-18 18:44:54 +02:00
Sync1211
17d4678f75
* Fix: hang when inserting text with characters which do not fit into the canvas 2022-05-18 13:10:21 +02:00
Sync1211
ccef4062fd
* Replaced getElementsByName call with querySelector 2022-05-18 12:45:51 +02:00
Sync1211
bb4223f44a
+ Adjust canvas size to the size of the entered text
+ Set algorithm to "Text" after entering text
2022-05-18 12:35:57 +02:00
Sync1211
7afe68c151
+ Added comments to getMaxCharsPerLine and wrapText
+ Added German and English strings for text-size and text-font
2022-05-18 12:12:11 +02:00
Sync1211
8f402eb80f
+ Added font and text size to settings panel 2022-05-18 12:05:54 +02:00
Sync1211
949ab15857
+ Added text printing option to HTML interface 2022-05-18 09:44:46 +02:00
NaitLee
fec31bd168 Add contribution guideline 2022-05-16 10:20:14 +08:00
NaitLee
1f47d2ae57 Long awaited PF2 font zooming ("scaling"), fixes:
Frontend will connect to printer only right before printing
Frontend option layout organized & optimized
Backend supress useless warnings
0.5.2
2022-05-16 06:13:14 +08:00
NaitLee
39e29deb5b Important fixes to 0.5.0 0.5.1 2022-05-08 01:34:15 +08:00
NaitLee
367c901259 Better printing experience; Add "strength" control; many other 0.5.0 2022-05-07 22:51:47 +08:00
NaitLee
c25362f85c Ready for 0.4.3 0.4.3 2022-05-06 00:55:24 +08:00
NaitLee
2a768e232c Try fix incorrect connection; placehold YT01; error selectable 2022-05-05 22:06:30 +08:00
NaitLee
b5ad2328e1 Small but essential fix... 0.4.2 2022-05-05 08:19:17 +08:00
NaitLee
da921d8e9a
Merge pull request #24 from andypiper/file-picker-update
main.js: only choose from image files
2022-05-05 08:16:50 +08:00
Andy Piper
3afe5b5896
main.js: only choose from image files 2022-05-04 22:02:41 +01:00
NaitLee
1b4402c6d2 clean js routine; concat script; try fix macos 2022-05-04 12:07:14 +08:00
NaitLee
002072b586 Layout fix; better dithering; misc corrections 0.4.1 2022-05-03 00:55:20 +08:00
NaitLee
db54d6004d Better CLI; misc/minor fixes; clean up 0.4.0 2022-04-28 23:42:13 +08:00
NaitLee
a8454cbf51 Revised Keyboard mode 2022-04-27 01:59:18 +08:00
NaitLee
ab9ad406cb Accessibility: keyboard mode by Tab 2022-04-26 17:24:46 +08:00
NaitLee
bf81524083 I18n update; also apply special CSS to iframe 2022-04-25 23:47:30 +08:00
NaitLee
b97fd7022e Many misc things. Initial i18n doc. 0.3.1 2022-04-25 02:23:54 +08:00
NaitLee
71ae431d86
Merge pull request #18 from frankenstein91/Strings2German
Strings to german
2022-04-24 22:04:36 +08:00
Frank Tornack
a2239be588
Made it German 2022-04-24 11:44:18 +02:00
frankenstein91
9d7b352f0c
Merge pull request #4 from NaitLee/main
Strings in Two Updates
2022-04-24 11:29:43 +02:00
NaitLee
71c49adb70 Merge branch 'main' of https://github.com/NaitLee/Cat-Printer 0.3.0 2022-04-22 01:18:07 +08:00
NaitLee
33d0157b15 Frontend Big Update 2022-04-22 01:14:40 +08:00
Frank Tornack
b98723b4d7
Merge remote-tracking branch 'origin/main' into main 2022-04-18 14:25:30 +02:00
NaitLee
83a8f64629
Merge pull request #14 from frankenstein91/hotfix/fixArchBuild
fix arch build
2022-04-18 16:57:28 +08:00
Frank Tornack
4ee69c66ca Merge branch 'change2wishes' into hotfix/fixArchBuild 2022-04-17 23:06:08 +02:00
Frank Tornack
40196e5e51 use bundle.py now 2022-04-17 23:05:40 +02:00
Frank Tornack
9bda1ff934 remove copy of files 2022-04-17 22:42:13 +02:00
Frank Tornack
11b2294eba remove i18n git 2022-04-17 22:39:57 +02:00
Frank Tornack
7d47901bb2 Merge remote-tracking branch 'origin/main' into main 2022-04-17 22:28:31 +02:00
NaitLee
205f5ad5ca Backend Big Update (document later) 0.2.0 2022-04-17 03:20:37 +08:00
Frank Tornack
a73871f094 fixed missing font
This solves the problem but is not a permanent solution.
2022-04-14 18:01:36 +02:00
Frank Tornack
3356b9f019 fix License for i18njs4 2022-04-14 17:50:11 +02:00
Frank Tornack
a464c0aa9f add missing i18njs 2022-04-14 17:46:36 +02:00
Frank Tornack
cde79d2d5f Merge remote-tracking branch 'origin/main' into main 2022-04-14 16:57:25 +02:00
NaitLee
1f3c16cf16
Merge pull request #13 from frankenstein91/feature/german
Translation of the new lines
2022-04-14 15:23:48 +08:00
NaitLee
87c9afab5a
Merge pull request #12 from frankenstein91/feature/systemd
A service to make everyday work easier.
2022-04-14 15:23:16 +08:00
Frank Tornack
17419f363c Translation of the new lines 2022-04-13 23:36:18 +02:00
Frank Tornack
494f4a0228 added systemd service
I hope this helps for CUPS
2022-04-13 23:25:43 +02:00
Frank Tornack
e2a25fef5b Merge remote-tracking branch 'origin/main' into main 2022-04-13 22:43:35 +02:00
Frank Tornack
3cf6ff2213 Merge remote-tracking branch 'origin/develop' into develop 2022-04-13 22:43:26 +02:00
NaitLee
996bc5ec99 Usable text printing (needs code cleaning later) 2022-04-14 01:24:09 +08:00
Frank Tornack
0a9e86243c Merge remote-tracking branch 'NaitLee/main' into main 2022-04-13 09:28:55 +02:00
NaitLee
cc93b981f5 Merge branch 'frankenstein91-forPullRequest' 22041300 2022-04-13 14:35:44 +08:00