HexaPDF v0.7.0 Release Notes

Release Date: 2018-06-19 // over 1 year ago
  • 🔄 Changed

    • 💎 All Ruby source files use frozen string literal pragma
    • [HexaPDF::MalformedPDFError::new] method signature
    • [HexaPDF::Layout::TextFragment::new] and [HexaPDF::Layout::TextFragment::create] method signatures
    • [HexaPDF::Encryption::SecurityHandler#set_up_encryption] argument force_V4 to force_v4
    • HexaPDF::Layout::TextLayouter#draw to return result of #fit if possible

    ✂ Removed

    • Optional leading argument to HexaPDF::Content::Canvas#font_size method

    🛠 Fixed

    • Misspelt variable name in [HexaPDF::Layout::TextLayouter::SimpleLineWrapping]
    • [HexaPDF::Layout::TextLayouter::SimpleTextSegmentation] to work if the last character in a text fragment is \r
    • [HexaPDF::Layout::TextLayouter] to work if an optional break point (think soft-hyphen) is followed by whitespace
    • 🏗 [HexaPDF::Font::TrueType::Builder] to correctly order the entries in the table directory
    • 🏗 [HexaPDF::Font::TrueType::Builder] to pad the table data to achieve the correct alignment
    • [HexaPDF::Filter::FlateDecode] by removing the Zlib pools since they were not thread safe
    • All color space classes to accept the color space definition as argument to ::new