33 Commits

Author SHA1 Message Date
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
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
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
2022-05-16 06:13:14 +08:00
NaitLee
39e29deb5b Important fixes to 0.5.0 2022-05-08 01:34:15 +08:00
NaitLee
367c901259 Better printing experience; Add "strength" control; many other 2022-05-07 22:51:47 +08:00
NaitLee
2a768e232c Try fix incorrect connection; placehold YT01; error selectable 2022-05-05 22:06:30 +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 2022-05-03 00:55:20 +08:00
NaitLee
db54d6004d Better CLI; misc/minor fixes; clean up 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. 2022-04-25 02:23:54 +08:00
NaitLee
33d0157b15 Frontend Big Update 2022-04-22 01:14:40 +08:00
NaitLee
205f5ad5ca Backend Big Update (document later) 2022-04-17 03:20:37 +08:00
NaitLee
592ee8b9f7 Possible GB03 support, i18n for CLI (optional) 2022-04-09 17:19:35 +08:00
NaitLee
1de73c79d9 A new start! 2022-04-06 18:13:19 +08:00
NaitLee
bde24855e0 Optimization, add help. 2021-09-18 18:57:18 +08:00
NaitLee
a82315e8f2 Fix that cannot select device correctly 2021-09-16 13:25:34 +08:00
NaitLee
ed8410d2e9 i18n, preview document manually, fixes 2021-09-08 11:35:04 +08:00
NaitLee
e60e4cbbb4 Print Document feature; move some methods to main.js 2021-09-07 19:03:37 +08:00
NaitLee
4f2c2dbb26 Organized directory, fix something 2021-09-07 18:08:08 +08:00