46 Commits

Author SHA1 Message Date
NaitLee
4fa145459b a bit code review 2023-02-13 18:46:49 +08:00
NaitLee
423a9caf49 Add MX05, MX06 as supported, minor fix;
better Chinese conversion infrastructure
2023-02-12 19:37:24 +08:00
NaitLee
e81553fcc5 Update i18n:
Traditional Chinese by OpenCC conversion
Chinese translation of `jslicense.html` ahead of time
Replace (device) "refresh" as "scan"
Minor change to readme and a few other
I18n will also modify `<html lang="...">`
2022-07-19 21:34:21 +08:00
NaitLee
4e3a5f540d Better anim in CSS; remove © clause in CC0 code 2022-07-19 18:33:28 +08:00
NaitLee
500971ae95 Major code clean up; new features:
Test unknown devices (scan everything)
Rework of Web FE Event & Dispatch
Fix major performance problem
Better image processing algorithm
New Halftone-like dither algo., namingly "Pattern"
Some fixes to CSS
Fix potential misc problems by manual testing
2022-07-15 02:51:44 +08:00
NaitLee
502a572183 better css; image rotation; lolcat i18n; update about
the works are still incomplete. expecting more code cleaning
2022-07-10 01:31:23 +08:00
NaitLee
947cb9a5b9
Merge pull request #31 from sync1211/main
Added the option to print text from the web interface.
2022-07-09 02:18:49 +08:00
NaitLee
403a23415a Add license info per-file, adjust docs:
Remove `COPYING` for being identified as "unknown", moved to readme
Few fixes to readme and contributing
More in TODO & dev-diary
2022-07-07 17:34:50 +08:00
Sync1211
47ace549c6
* Do not insert text if textarea is empty 2022-06-01 12:38:35 +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
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
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