| 1 | ### 0.11 |
| 2 | - PdfFontManager: Add font hash to cache descriptor |
| 3 | - Add high-level signing API |
| 4 | - Add special SetAppearance for PdfSignature respecting |
| 5 | "Digital Signature Appearances" document specification |
| 6 | |
| 7 | ### 1.0 |
| 8 | - PdfParserObject: Release the device after loading |
| 9 | - PdfMemDocument: Consider removing SetEncrypt(encrypt) |
| 10 | - PdfEncrypt: Consider removing CreateFromEncrypt (shared_ptr in PdfMemDocument could be used now) |
| 11 | - PdfContents: Remove PdfContents::Reset(obj) (keep parameterless) and make constructors private |
| 12 | - Restore manuals |
| 13 | - Review all page import functions to check correct working/improve |
| 14 | the code |
| 15 | - PdfCanvas: Add CopyTo facilities, see PdfContents |
| 16 | - Review PdfNameTree/PdfFileSpec |
| 17 | - Check accessibility of PdfEncrypt.h classes, check AESV3 naming |
| 18 | - PdfFilterFactory: Move CreateFilterList somewhere else (PdfFilter), make it private |
| 19 | - Rename NameToColorSpaceRaw/ColorSpaceToNameRaw to something more consistent? |
| 20 | - More enum <-> strings functions and make them public |
| 21 | - Make PdfObjectStream not flate filter by default in PdfMemDocument? |
| 22 | - PdfElement: Optimize, keep dictionary/array pointer. Add GetObjectPtr() |
| 23 | - PdfPageCollection: Add iteration on PdfPage*. See PdfAnnotationCollection |
| 24 | - PdfPageCollection::CreatePage() with PdfPageSize or default inferred from doc |
| 25 | - PdfPage: Add GetFields() iteration |
| 26 | - PdfDocument: Add GetAnnoationFields()/GetAllFields() iteration |
| 27 | - Fix PdfFontMetrics handling of symbol encoding |
| 28 | - Fix/complete handling of text extraction in rotated pages |
| 29 | - Check PdfWriter should really update doc trailer when saving. |
| 30 | Now the new trailer is written but the doc still has the old one |
| 31 | - PdfImage: cache PdfColorSpace |
| 32 | - Check PdfSignature to have correct /ByteRange and /Contents |
| 33 | values in the dictionary after signing with SignDocument |
| 34 | - Evaluate move more utf8::next to utf8::unchecked::next |
| 35 | - Add PdfString(string&&) and PdfName(string&&) constructors that |
| 36 | either assume UTF-8 and/or checks for used codepoints |
| 37 | - Added PdfResources::GetResource with enum type |
| 38 | - Add a PdfRect-like class PdfCorners that avoid coordinates normalization |
| 39 | by default |
| 40 | - Check PdfStreamedDocument working |
| 41 | - Check/Review doxygen doc |
| 42 | - PdfToggleButton: Add proper IsChecked/ExportValue handling |
| 43 | - Review PdfPage::SetICCProfile() |
| 44 | - Review PdfPageCollection::AppendDocumentPages(), |
| 45 | PdfPageCollection::InsertDocumentPageAt(), PdfPage::MoveAt() |
| 46 | Add proper text/graphics state stack check/handling |
| 47 | - PdfWriter: Check if SetEncrypt() should accept mutable reference instead |
| 48 | - Add a "on rails" incremental update/sign facilities, so it's more |
| 49 | clear that either the same file has to be locked and then updated, |
| 50 | or a buffer is copied from the source file |
| 51 | - Reintroduce other non-unit tests, possibly migrating them into unit ones |
| 52 | - PdfResources: Improve API |
| 53 | - Do more overflow checks using Chromium numerics, which is now |
| 54 | bundled. See comments in utls::DoesMultiplicationOverflow() |
| 55 | - PdfParser: Handle all pdfs in |
| 56 | https://www.mail-archive.com/[email protected]/msg04801.html |
| 57 | |
| 58 | ### After 1.0 |
| 59 | - PdfParser: Handle invalid startxref by rebuilding the index, |
| 60 | similarly to what pdf.js does |
| 61 | - high-level signing API: Add PAdES B-B support |
| 62 | - Add text shaping with Harfbuzz https://github.com/harfbuzz/harfbuzz |
| 63 | - Add fail safe sign/update mechanism, meaning the stream gets trimmed |
| 64 | to initial length if there's a crash. Not so easy, especially since |
| 65 | we are now using STL streams and it's not easy to trim files |
| 66 | without access to native handle and low level I/O operations |
| 67 | - Added version of PdfFont::TryGetSubstituteFont for rendering |
| 68 | (metrics of loaded font override metrics found on /FontFile) |
| 69 | - Added method to retrieve shared_ptr from PdfObject, PdfFont (and |
| 70 | maybe others) to possibly outlive document destruction |
| 71 | - PdfDifferenceEncoding: Rework Adobe Glyph List handling and moving it to private folder |
| 72 | - Option to unfold Unicode ligatures to separate codepoints during encoded -> utf8 conversion |
| 73 | - Option to convert Unicode ligatures <-> separate codepoints when drawing strings/converting to encoded |
| 74 | - Optimize charbuff to not initialize memory, keeping std::string compatibility |
| 75 | - Add backtrace: https://github.com/boostorg/stacktrace |
| 76 | |
| 77 | ### Ideas: |
| 78 | - Consider converting protected PdfFontMetrics::GetFaceHandle() to return just FT_Face, |
| 79 | and reference the face with FT_Reference_Face |
| 80 | - PdfFontManager: Consider also statically caching the queries and filepaths. |
| 81 | Maybe we could also weakly (weak shared pointer) cache metrics instead of fonts |