mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-13 17:54:19 +01:00
feat: add option to opt out of embedding full fonts in OCR settings
This commit is contained in:
1 parent
b4a2c98497
commit
37b5956bd5
3 files changed
+28
-4
No files matched your search
@@ -121,6 +121,9 @@ async function runOCR() {
|
||||
);
|
||||
const binarize = (document.getElementById('ocr-binarize') as HTMLInputElement)
|
||||
.checked;
|
||||
const embedFullFonts = (
|
||||
document.getElementById('ocr-embed-full-fonts') as HTMLInputElement
|
||||
).checked;
|
||||
const whitelist = (
|
||||
document.getElementById('ocr-whitelist') as HTMLInputElement
|
||||
).value;
|
||||
@@ -154,6 +157,7 @@ async function runOCR() {
|
||||
resolution: scale,
|
||||
binarize,
|
||||
whitelist,
|
||||
embedFullFonts,
|
||||
onProgress: updateProgress,
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user