jubarte-render 0.20.0

The render product of the jubarte engine: DOCX to PDF and PNG, with Word-faithful layout
Documentation
1
2
3
4
5
6
7
8
9
10
11
// SPDX-FileCopyrightText: 2026 Jandira Technologies, LLC
//
// SPDX-License-Identifier: Apache-2.0

use super::pdf_page_count;

#[test]
fn page_count_ignores_pages_dictionary() {
    let pdf = b"%PDF-1.4\n/Type /Pages\n/Type /Page\n/Type /Page\n";
    assert_eq!(pdf_page_count(pdf), 2);
}