4012 Commits

Author SHA1 Message Date
James R. Barlow
61163c2aa9
Fix stupid Python runtimeerror 2025-06-13 01:46:30 -07:00
James R. Barlow
332369f1b0
Adjust set_start_method decision, changing fork to forkserver for platforms other than win32, darwin 2025-06-13 01:22:01 -07:00
James R. Barlow
7ea940a3a6
v16.10.3 release notes 2025-06-13 00:28:33 -07:00
James R. Barlow
8a784d6052
Drop explicit norecursedirs setting, which we no longer need 2025-06-13 00:03:24 -07:00
James R. Barlow
5cf86a7c2e
Update uv.lock 2025-06-13 00:02:53 -07:00
James R. Barlow
3beabf55e7
Skip optimizing images with pre-blended soft masks
Fixes issue [Bug]: Optimized pdf not rendering with Quartz / Core Graphics #1536
2025-06-12 23:58:43 -07:00
James R. Barlow
6f6448f286
Update dependency lockfile 2025-05-27 14:19:09 -07:00
James R. Barlow
9f6e5a48ad
Deny use of pikepdf 9.8.0 due to GlyphlessFont error v16.10.2 2025-05-27 12:16:19 -07:00
PunkPangolin
ee3da07710
Add appstream metainfo file + screenshot (#1462)
* Add io.ocrmypdf.ocrmypdf.metainfo.xml

* Create sample_screenshot.png

* Better screenshot

* Add screenshot to metainfo

* Move into /misc/flatpak

* Add screenshot URL

* Add icon and categories to metainfo

* Use installed icon instead of remote

* Add keywords to metainfo, change summary closer to Flathub Guildelines
2025-05-27 00:42:47 -07:00
jbarlow
45043f6a8c
Merge pull request #1519 from ocrmypdf/dependabot/github_actions/astral-sh/setup-uv-6
Bump astral-sh/setup-uv from 5 to 6
2025-05-27 00:41:52 -07:00
James R. Barlow
b166e86216
jbig2 doc: mention pkg-config
Closes #1484
2025-05-26 13:04:05 -07:00
dependabot[bot]
1e2d76b931
Bump astral-sh/setup-uv from 5 to 6
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 5 to 6.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v5...v6)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 11:23:43 +00:00
James R. Barlow
6851ea7f11
Remove test since ghostscript error handling changed v16.10.1 2025-04-21 12:23:34 -07:00
James R. Barlow
4143154e91
Update uv version and lock for build issues 2025-04-21 11:00:22 -07:00
James R. Barlow
7c5bed41f1
v16.10.1 2025-04-21 01:15:29 -07:00
James R. Barlow
9865f01f47
Convert dep5 to REUSE 2025-04-21 01:05:17 -07:00
James R. Barlow
be3971e755
Merge branch 'sphinx-md' 2025-04-21 00:53:16 -07:00
James R. Barlow
3304498bdc
Fix some anchors and markdown quirks 2025-04-21 00:50:26 -07:00
James R. Barlow
e4a8f7a354
Remove redundant optimizer content 2025-04-17 15:10:59 -07:00
James R. Barlow
d1a45e4abc
Convert remaining rst -> md 2025-04-17 15:03:21 -07:00
James R. Barlow
3b9367fc69
Continuing rst -> md 2025-04-17 02:27:59 -07:00
James R. Barlow
92a78f611e
rst -> md migration in progress 2025-04-17 02:10:40 -07:00
James R. Barlow
6f16d0130a
Clarify that ocrmypdf-compare is a testing tool 2025-04-15 00:03:14 -07:00
jbarlow
8b1443c482
Merge pull request #1493 from BBC-Esq/main
fix ._hocr
2025-04-06 04:11:31 -04:00
James R. Barlow
d84c47816c
webservice: promote pages to primary option 2025-04-06 01:07:47 -07:00
James R. Barlow
15a77c9d69
Modernize pyproject license specification 2025-04-06 01:07:25 -07:00
James R. Barlow
43c84ca268
Merge branch 'main' of github.com:ocrmypdf/OCRmyPDF 2025-03-27 11:00:00 -07:00
jbarlow
4125b8a456
Merge pull request #1497 from FlowerCard/main
doc: add readme zh markdown file
2025-03-25 02:52:50 -04:00
jbarlow
07e774cce9
Merge pull request #1494 from eltociear/patch-1
docs: update installation.rst
2025-03-25 02:52:41 -04:00
HuaPai
553a20a8e6 docs: 添加 README_ZH.md 文件,提供中文版说明
为方便中文用户理解和使用 OCRmyPDF,新增了中文版的 README 文件,内容基于原始英文版本进行翻译,保留了所有重要信息和结构。
2025-03-25 11:44:18 +08:00
HuaPai
172ba4cad1 chore: 在.gitignore中添加.idea/目录
避免将IDE配置文件提交到版本控制中
2025-03-24 13:05:36 +08:00
Ikko Eltociear Ashimine
0f5ccb71ca
docs: update installation.rst
instal -> install
2025-03-09 01:27:25 +09:00
BBC-Esq
0970cebfea
Update _hocr.py 2025-03-08 07:37:37 -05:00
James R. Barlow
6de6749062
webservice: fix download button downloads wrong file 2025-02-26 18:42:50 -08:00
James R. Barlow
7b2dd892e5
v16.10.0 release notes v16.10.0 2025-02-26 15:16:18 -08:00
James R. Barlow
c05ed7297c
Merge branch 'main' of github.com:ocrmypdf/OCRmyPDF 2025-02-26 15:16:07 -08:00
Odin Dahlström
c29f58a8b7
Process hOCR textangle attribute 2025-02-26 15:09:59 -08:00
jbarlow
eb303fef1a
Merge pull request #1441 from aliemjay/fix-prog-bar 2025-02-26 15:05:54 -08:00
James R. Barlow
2a55ceadd0
Merge branch 'pr/rugk/1489' 2025-02-26 14:59:06 -08:00
James R. Barlow
71991ad09b
Remove podman 2025-02-26 14:58:43 -08:00
James R. Barlow
bd60d6ccd9
Merge branch 'pr/rugk/1488' 2025-02-26 14:57:46 -08:00
James R. Barlow
83b4469ef1
Word wrap 2025-02-26 14:57:18 -08:00
James R. Barlow
d2a7caf496
Merge branch 'feature/remove-ttyd' 2025-02-26 14:54:40 -08:00
James R. Barlow
ff0ea45bf2
Merge branch 'main' of github.com:ocrmypdf/OCRmyPDF 2025-02-26 14:53:48 -08:00
James R. Barlow
b5bc1d209c
Remove ttyd 2025-02-26 14:53:13 -08:00
rugk
53270b8eb1
Doc: Update docker.rst to use
I prefer to write the name in full aka `jbarlow83/ocrmypdf-alpine` and I'd also suggest to document this because:
* if you use `docker tag` this AFAIK only tags the currently downloaded (=pulled) version of that image
* in case a new update comes out, the new one will not be pulled automatically and one would have to pull and tag the image locally, again
* This `docker tag`  command is easily overlooked, if users just run `docker run ocrmypdf` this may or may not work, depending on how it is resolved.
   Also, AFAIK if one could get Docker to register https://hub.docker.com/ocrmypdf then this would suddenly be used instead of your image (currently `podman pull docker.io/ocrmypdf` returns a 404 for me, though)
* It is more common to write at least the user namespace there and the project, to prevent such errors.

Also, default [Docker has many shortcuts for this and e.g. assumes Docker-Hub is always being used](https://stackoverflow.com/questions/37861791/how-are-docker-image-names-parsed). Podman usually does not, that's why I personally prefer to use the very full and clear `docker.io/jbarlow83/ocrmypdf-alpine:latest` e.g. for alpine. This makes it not only clear which version is used, but also where it is pulled from (should one have configured different Docker registries).
2025-02-26 02:43:46 +01:00
rugk
3049a10757
doc: Update docker.rst to explain how to use with podman
I've fiddled/struggled with this by myself, by getting a permission error like this one:
```shell
OutputFileAccessError: Output file location (./output.pdf) is not a writable file.
``` 

I've loosely followed and found https://github.com/containers/podlet?tab=readme-ov-file#in-a-container and explained the required flags in a similar way, but adapted for this tool (it likely won't be used so much on system files).

I've tested it and it works fine for me. The same issue may be on Docker rootless, but I guess people will get that and I cannot test it here.
2025-02-26 02:30:25 +01:00
jbarlow
53002f65d9
Merge pull request #1485 from alexpdp7/main
Correct the installation instructions for Windows
2025-02-22 11:18:14 -08:00
alex
acea9529ea Correct the installation instructions for Windows 2025-02-22 10:46:22 +01:00
James R. Barlow
32322a9fe9
Fix broken test_hocrtransform_matches_sandwich
Expect word similarity rather than exact match. Difference appears to be due to quote styles.

Thanks @QuLogic for reporting.
2025-02-09 13:57:50 -08:00