8000 podofo 1.0.0 by BrewTestBot · Pull Request #225326 · Homebrew/homebrew-core · GitHub
[go: up one dir, main page]

Skip to content

podofo 1.0.0 #225326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 1, 2025
Merged

podofo 1.0.0 #225326

merged 2 commits into from
Jun 1, 2025

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
- Added support for Type1, CFF and OpenType CFF font subsetting
- Added support for Type3 font subsetting (no encoding subsetting, yet)
- Implemented full "Adobe Glyph List" [specification](https://github.com/adobe-type-tools/agl-specification) for text extraction and glyph selection
- Implemented full Type1, TrueType font glyph selection
- Many fixes in TrueType legacy subsetting
- Added support for PDF/UA preserving when adding annotations/form fields
- Improved PDF/A preserving (eg. when PDF/UA level is set as well in the XMP metadata)
- Added support for automatically rotating imported images drawn on a `PdfPainter`
  when a orientation is detected in the source image codec metadata. Currently supported
  on Tiff images only (Jpeg exif metadata support pending)
- Added high-level signing API, see `PdfSignerCMS` and [`TestSignature1`](https://github.com/podofo/podofo/blob/edbcb16a5b18cb20f1d0da1724639cee13608436/test/unit/SignatureTest.cpp#L37) test case
- Added support for signing encrypted documents
- Added support for preserving encryption among savings
- Removed Libidn dependency, default to AESV3R6 encryption
- Added support for predefined CMap(s) for improved CJK text extraction
- Added much better CMake [integration](https://github.com/podofo/podofo?tab=readme-ov-file#consume-podofo-from-package-managers-with-cmake)
- Added raw rectangle corners retrieval in `PdfAnnotation`, `PdfPage`
- `PdfDocument`: Added `GetFieldsIterator()`
- `PdfPage`: Added `GetFieldsIterator()`
- `PdfSignature`: Added `TryGetPreviousRevision()`
- `PdfCanvas`: Added `CopyContentsTo()`
- `FileStreamDevice` now uses again C stdio for better performance
- `PdfName`:
  * Optimized for struct size and construction from string const literal
  * Added `PdfName operator""_nm(const char*, size_t)`
- `PdfString`:
  * Optimized for struct size
  * Added `std::string&&` constructor
- `PdfVariant`: Optimized for accessing `PdfString`, `PdfName` and `PdfReference`
- Reviewed `PdfFileSpec`, `PdfAction`, `PdfDestination` API and their usage in
`PdfOutlineItem`, `PdfOutlines`, `PdfAnnotationActionBase`, `PdfAnnotationLink`, `PdfAnnotationFileAttachment`
- Reviewed `PdfExtension` API
- Reviewed `PdfNameTree`, renamed to `PdfNameTrees` and added `PdfNameTree` to pick specific trees with typed element
- Reviewed `PdfExtGState`
- Reviewed `PdfTilingPattern`, `PdfShadingPattern`, `PdfFunction`: the API now exposes the full capabilities of the PDF specification
- `PdfEncrypt` is now stateless: added `PdfEncryptContext` as a
   separate state context and used as argument in `PdfEncrypt` methods
- Set `PdfSignature` to have correct `/ByteRange` and `/Contents` after signing with `PoDoFo::SignDocument`
- Added `PdfNames` and moved all known names there from `PdfName`
- `PdfPageCollection`: Methods creating pages now takes `PdfPageSize` or default inferred size from doc
- Fixed `PdfStreamedDocument`, see #88
- Tons of API improvements (see [API-MIGRATION.md](https://github.com/podofo/podofo/blob/master/API-MIGRATION.md))
- Tons of other bug fixes

View the full release notes at https://github.com/podofo/podofo/releases/tag/1.0.0.


@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label May 31, 2025
@daeho-ro daeho-ro force-pushed the bump-podofo-1.0.0 branch 3 times, most recently from 4ff70a8 to f1a4f1d Compare May 31, 2025 11:42
@chenrui333
Copy link
Member
   In file included from /private/tmp/podofo-20250531-8554-d9g1y9/podofo-1.0.0/src/podofo/main/PdfColor.cpp:7:
  /private/tmp/podofo-20250531-8554-d9g1y9/podofo-1.0.0/src/podofo/private/PdfDeclarationsPrivate.h:380:13: error: call to 'from_chars' is ambiguous
    380 |         if (std::from_chars(str.data(), str.data() + str.size(), val, fmt).ec == std::errc())
        |             ^~~~~~~~~~~~~~~
  /private/tmp/podofo-20250531-8554-d9g1y9/podofo-1.0.0/src/podofo/main/PdfColor.cpp:545:20: note: in instantiation of function template specialization 'utls::TryParse<double, void>' requested here
    545 |         if (!utls::TryParse(name.substr(1), grayVal))
        |                    ^
  /opt/homebrew/Cellar/llvm/20.1.6/bin/../include/c++/v1/__charconv/from_chars_floating_point.h:63:1: note: candidate function
     63 | from_chars(const char* __first, const char* __last, double& __value, chars_format __fmt = chars_format::general) {
        | ^
  /private/tmp/podofo-20250531-8554-d9g1y9/podofo-1.0.0/src/podofo/private/charconv_compat.h:41:30: note: candidate function
     41 |     inline from_chars_result from_chars(const char* first, const char* last,
        |                              ^
  1 error generated.

@chenrui333 chenrui333 added build failure CI fails while building the software CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. labels May 31, 2025
@daeho-ro daeho-ro force-pushed the bump-podofo-1.0.0 branch 2 times, most recently from 6d8d9f7 to 01d66f3 Compare May 31, 2025 16:31
@daeho-ro daeho-ro removed the build failure CI fails while building the software label May 31, 2025
@daeho-ro daeho-ro force-pushed the bump-podofo-1.0.0 branch 3 times, most recently from 15a06be to 745aa5b Compare May 31, 2025 17:07
@daeho-ro daeho-ro force-pushed the bump-podofo-1.0.0 branch from 745aa5b to 3b53ea7 Compare June 1, 2025 01:58
@daeho-ro daeho-ro force-pushed the bump-podofo-1.0.0 branch from 3b53ea7 to 5586a10 Compare June 1, 2025 02:11
@daeho-ro daeho-ro added the ready to merge PR can be merged once CI is green label Jun 1, 2025
Copy link
Contributor
github-actions bot commented Jun 1, 2025

🤖 An automated task has requested bottles to be published to this PR.

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jun 1, 2025
@BrewTestBot BrewTestBot enabled auto-merge June 1, 2025 14:44
@BrewTestBot BrewTestBot added this pull request to the merge queue Jun 1, 2025
Merged via the queue into master with commit 6f52ea8 Jun 1, 2025
17 checks passed
@BrewTestBot BrewTestBot deleted the bump-podofo-1.0.0 branch June 1, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. ready to merge PR can be merged once CI is green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0