160 Commits

Author SHA1 Message Date
Sync1211
4cf1376858
* Fixed incorrect icon for aligning text to the right 2022-06-01 11:37:17 +02:00
Sync1211
c72658e241
* Fixed text clipping out of the text box when increasing the font size
* Centered "text-font" and "text-size" inputs
* Fixed missing "checked" attribute for the default text alignment option
2022-05-28 13:35:19 +02:00
Sync1211
44df87011c
* Improved element alignment in "Insert Text" dialog 2022-05-28 13:23:52 +02:00
Sync1211
179aada453
* Replaced text alignment selector with radio buttons 2022-05-25 13:26:54 +02:00
Sync1211
4732469b64
- Reset hinted buttons on reset 2022-05-25 12:03:22 +02:00
Sync1211
9a4a81c78b
+ Added websafe fonts to font selection 2022-05-25 11:56:37 +02:00
Sync1211
0685603832
+ Added drag & drop for text files
* Fixed spaces not being allowed in text area
2022-05-25 11:32:19 +02:00
Sync1211
1cb3c795d6
+ Added text-alignment setting 2022-05-25 09:23:01 +02:00
Sync1211
9adf5392cf
* Fixed "Show more options" button missing from "Print" panel 2022-05-25 09:08:41 +02:00
Sync1211
0a65235065
* Implemented text align in canvas 2022-05-24 08:40:46 +02:00
Sync1211
0608d87cf6
+ Implemented preview of text style within the "insert text" dialog 2022-05-24 08:30:33 +02:00
Sync1211
e163c5739f
* Moved style to CSS 2022-05-19 23:19:16 +02:00
Sync1211
de2e4e518b
+ Added a text area to the "insert text" dialog
* Moved the text settings into the "insert text" dialog
2022-05-19 23:07:24 +02:00
Sync1211
8cdaa048ee
* Moved text settings into the "print" tab
+ Added setting to enable or disable word wrap by space
2022-05-19 21:50:52 +02:00
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