html to pdf – Itext htmltopdf not rendering all pages

<!DOCTYPE html> <html> <head> <style type=”text/css”> @font-face { font-family: Noto; src: url(“fonts/noto/NotoSans-Regular.ttf”); } .testDesign { font-family: Noto; font-size: 12px; display: flex; flex-direction: column; flex: 1 0 auto; color: #000000; } .testDesign :where(h1, h2, h3, h4, h5, h6) { font-family: Noto; margin-bottom: 0; } .testDesign h1, .testDesign h2, .testDesign h3, .testDesign h4, .testDesign h5, .testDesign h6, … Read more