HexaPDF v0.18.0 Release Notes

Release Date: 2021-11-04 // over 2 years ago
  • ➕ Added

    • [HexaPDF::Content::ColorSpace::serialize_device_color] for serialization of device colors in parts other than the canvas
    • [HexaPDF::Type::AcroForm::VariableTextField::create_appearance_string] for centralized creation of appearance strings
    • [HexaPDF::Object::make_direct] for making objects and all parts of them direct instead of indirect

    🔄 Changed

    • [HexaPDF::Type::AcroForm::VariableTextField::parse_appearance_string] to also return the font color
    • 0️⃣ [HexaPDF::Type::AcroForm::VariableTextField#set_default_appearance_string] to allow specifying the font color
    • 👍 [HexaPDF::Type::AcroForm::Form] methods to support new variable text field methods
    • 👍 [HexaPDF::Type::AcroForm::AppearanceGenerator] to support the set font color when creating text field appearances

    🛠 Fixed

    • Writing of existing, encrypted PDF files where parts of the encryption dictionary are indirect objects
    • [HexaPDF::Content::GraphicObject::EndpointArc] to correctly determine the start and end points
    • HexaPDF::Dictionary#perform_validation to correctly handle objects that should not be indirect objects