Skip to content

Commit 748d517

Browse files
committed
docs: update README and CHANGELOG for v0.10
1 parent 0245ae4 commit 748d517

File tree

2 files changed

+72
-10
lines changed

2 files changed

+72
-10
lines changed

CHANGELOG.md

+64-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,68 @@
88

99
## [Unreleased]
1010

11+
## [0.10] – 2022-11-15
12+
13+
### Changed
14+
15+
* User selection within current chunk outside Edit mode is no longer removed
16+
when the cursor leaves the client browser tab.
17+
* If there is a user selection within current chunk outside edit mode when a new
18+
chunk comes in, the current chunk is now replaced entirely, not just the
19+
selected part. (To have just a part of it replaced instead, enter Edit mode by
20+
double-clicking the current chunk area and select the text to be replaced
21+
there.)
22+
* Startup time with OCR enabled has been improved in some cases by initializing
23+
Recognizer in a separate thread.
24+
* Remote OCR request that has failed to complete is now retried twice in some
25+
cases before a failure is reported to the client.
26+
* The current chunk is now faded out instead of hidden while OCR is in progress.
27+
* Characters from unicode block [Specials][unicode-specials] are now stripped
28+
from incoming chunks if `chunk.correct = true` (it is so by default).
29+
* Default furigana font size has been decreased and further downscaling is now
30+
applied to it depending on the length of the annotation relatively to the base
31+
text—this in order to prevent the furigana overflowing and introducing
32+
inconsistencies in spacing between characters. (For how to restore previous
33+
behaviour, see the
34+
[„Current chunk” font sizing][wiki-current-chunk-font-sizing] section in the
35+
Wiki.)
36+
* Furigana font can now be scaled in `custom.css` using the variable
37+
`--chunk-furigana-font-scale`. It is now also scaled with `--chunk-font-size`.
38+
(For details, see the
39+
[„Current chunk” font sizing][wiki-current-chunk-font-sizing] section
40+
in the Wiki.)
41+
* Removed the CSS variable `--chunk-line-height` for now, since due to browser
42+
quirks and furigana interactions it was not fully functional for regulating
43+
the line height in `custom.css`.
44+
* Added CSS variables `--font-ui` and `--font-jp` for easier customization of
45+
font faces. (See the [Font faces][wiki-font-faces] section in the Wiki)
46+
* Added CSS variables `--chunk-font-weight` and `--chunk-furigana-font-weight`
47+
for easier customization of chunk font weight. (See the
48+
[„Current chunk” font weight][wiki-current-chunk-font-weight]
49+
section in the Wiki.)
50+
* Make user selection in current chunk visually stand out a bit more.
51+
52+
[unicode-specials]: https://en.wikipedia.org/wiki/Specials_(Unicode_block)
53+
[wiki-current-chunk-font-sizing]: https://github.com/fauu/Kamite/wiki/Styling-recipes#current-chunk-font-sizing
54+
[wiki-font-faces]: https://github.com/fauu/Kamite/wiki/Styling-recipes#font-faces
55+
[wiki-current-chunk-font-weight]: https://github.com/fauu/Kamite/wiki/Styling-recipes#current-chunk-font-weight
56+
57+
### Fixed
58+
59+
* “Manga OCR” Online OCR engine works again (switched to
60+
[a Hugging Face Space by Detomo][manga-ocr-hf-detomo]).
61+
* Current chunk label now has correct line height on Chrome.
62+
* Status panel fade is now correctly recalculated in a certain situation where
63+
it previously was not.
64+
* Empty incoming chunks are now rejected in some circumstances when they might
65+
not have been previously.
66+
* Likely reduced the incidence of Tesseract executable availability check
67+
failing when it should not.
68+
* *Select highlighted* action no longer appears when it would be a no-op because
69+
of the chunk selection already being equal to the highlight.
70+
71+
[manga-ocr-hf-detomo]: https://huggingface.co/spaces/Detomo/Japanese-OCR
72+
1173
## [0.9] – 2022-10-31
1274

1375
### Fixed
@@ -243,7 +305,8 @@
243305

244306
Initial release.
245307

246-
[Unreleased]: https://github.com/fauu/Kamite/compare/v0.9...HEAD
308+
[Unreleased]: https://github.com/fauu/Kamite/compare/v0.10...HEAD
309+
[0.10]: https://github.com/fauu/Kamite/releases/tag/v0.10
247310
[0.9]: https://github.com/fauu/Kamite/releases/tag/v0.9
248311
[0.8]: https://github.com/fauu/Kamite/releases/tag/v0.8
249312
[0.7]: https://github.com/fauu/Kamite/releases/tag/v0.7

README.md

+8-9
Original file line numberDiff line numberDiff line change
@@ -378,10 +378,10 @@ Kamite integrates with four alternative OCR (Optical Character Recognition)
378378
providers to enable the extraction of text from manga pages displayed on screen.
379379
The available OCR engines are:
380380

381-
* “Manga OCR” Online (a Hugging Face Space by Gryan Galario)
381+
* “Manga OCR” Online (a Hugging Face Space by Detomo)
382382

383383
<https://github.com/kha-white/manga-ocr>\
384-
<https://huggingface.co/spaces/gryan-galario/manga-ocr-demo>
384+
<https://huggingface.co/spaces/Detomo/Japanese-OCR>
385385

386386
* “Manga OCR” (Local)
387387

@@ -420,10 +420,10 @@ system resources.
420420
#### Setting up “Manga OCR” Online
421421

422422
> **Warning**
423-
> The “Manga OCR” Online engine depends on a third-party online
424-
> service ([a Hugging Face Space by Gryan Galario][manga-ocr-hf-gg]), so using
425-
> it involves sending screenshots of portions of your screen to a third-party.
426-
> Here is [the stated privacy policy of Hugging Face][huggingface-privacy-policy].
423+
> The “Manga OCR” Online engine depends on a third-party online service
424+
> ([a Hugging Face Space by Detomo][manga-ocr-hf]), so using it involves sending
425+
> screenshots of portions of your screen to a third-party. Here is
426+
> [the stated privacy policy of Hugging Face][huggingface-privacy-policy].
427427
428428
The online API used by the “Manga OCR” Online engine is freely accessible and
429429
consequently *does not* require any setup.
@@ -1864,8 +1864,7 @@ Kamite never saves your data to disk.
18641864
Kamite never sends your data through the network, with the following exceptions:
18651865
18661866
* When `ocr.engine` is set to `mangaocr_online`, screenshots of portions of your
1867-
screen are sent to a [Hugging Face Space][manga-ocr-hf-gg] for text
1868-
recognition.
1867+
screen are sent to a [Hugging Face Space][manga-ocr-hf] for text recognition.
18691868
18701869
* When `ocr.engine` is set to `ocrspace`, screenshots of portions of your screen
18711870
are sent to [OCR.space] for text recognition.
@@ -1941,5 +1940,5 @@ the original license notices.
19411940
[Gomics-v]: https://github.com/fauu/gomicsv
19421941
[Sway]: https://swaywm.org/
19431942
[manga-ocr]: https://github.com/kha-white/manga-ocr
1944-
[manga-ocr-hf-gg]: https://huggingface.co/spaces/gryan-galario/manga-ocr-demo
1943+
[manga-ocr-hf]: https://huggingface.co/spaces/Detomo/Japanese-OCR
19451944
[OCR.space]: https://ocr.space/

0 commit comments

Comments
 (0)