128 Commits

Author SHA1 Message Date
Sync1211
f85bc4cdf3
* Proofreading and corrections for German translation by "Sabse" 2022-08-28 20:00:49 +02:00
Sync1211
cf6a77e8a0
Merge branch 'main' of https://github.com/NaitLee/Cat-printer into main 2022-07-24 15:05:55 +02: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
0.6.0.2
2022-07-15 02:51:44 +08:00
Sync1211
cb1ed2feeb * Updated German translations 2022-07-11 20:40:56 +02:00
Sync1211
664667a164 * Adjusted English translation in README.md 2022-07-11 20:19:10 +02:00
Sync1211
9a4f7c51c5 Merge branch 'main' of https://github.com/NaitLee/Cat-printer into main 2022-07-11 20:12:16 +02:00
Sync1211
5198bb0a17 * Updated German translation for cat-face-toward 2022-07-11 20:02:01 +02:00
NaitLee
502a572183 better css; image rotation; lolcat i18n; update about
the works are still incomplete. expecting more code cleaning
0.6.0.1
2022-07-10 01:31:23 +08:00
Sync1211
f761a9cba3 * Updated German translation 2022-07-09 18:34:12 +02:00
Sync1211
363e3c471b
+ Added localization to the license information
* Small adjustments to some English translations
2022-07-09 18:31:09 +02:00
Sync1211
979b0ee788 * Added missing localization entry for "Wrap text" 2022-07-09 18:12:45 +02:00
Sync1211
d564994808 * Adjusted German translations 2022-07-09 17:55:07 +02: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
5f88390853
* Adjusted line-height of textarea to better reflect the look of the end result 2022-06-01 12:35:07 +02:00
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