•  
      code_for_government #482402
    New Feature development
    Academic Bank of Credits
    Improve or Rebuild HTML to PDF Conversion Script with Multilingual Font Support (Especially Hindi) - Academic Bank of Credits
    Empty
    Active
    Python
    Medium
    Empty
    We already have a working HTML to PDF conversion script available at the following repository:

    Repo Url - https://openforge.gov.in/plugins/git/abc-collabwithgov/HtmlToPdf

    While it handles basic HTML well, it fails to consistently render non-English text, especially Hindi and other Indic scripts, due to font encoding or missing font rendering issues.

    This task is intended to either improve the existing script or build a fresh, robust version that can reliably generate PDFs from HTML while maintaining full support for multilingual content, including Unicode, Indic scripts, RTL languages, and custom fonts.
    CLI or Python function-based interface

    Support for embedded fonts

    Language-agnostic handling (multilingual content)

    Option to load remote fonts or use locally embedded fonts

    Provide usage documentation and sample inputs

    Clear error handling and logging
    A Python script or tool that:

    Converts HTML to PDF reliably

    Renders Hindi and other non-English text without corruption

    Accepts external fonts via configuration or environment

    Includes sample HTML input, fonts, and expected PDF output

    Comes with an updated README with usage instructions

    Clone the Repository: Start by cloning the project’s repository. Create a Branch: Use Git to create your branch for the task. Generate a Pull Request: After completing your audit, submit your findings by generating a pull request.

    2025-05-01
    2025-05-15 13:59
    2025-06-30

    Organization Type: Government Publisher Name : Academic Bank of Credits (Digital India Corporation)

    Sanjay Patel (sanjay_patel)
    Empty
    Empty
    #482402

    Follow-ups

    User avatar

    Hi, I am interested Please assign me the "Improve or Rebuild HTML to PDF Conversion Script with Multilingual Font Support (Especially Hindi) - Academic Bank of Credits" task for the Academic Bank of Credits. My GitHub username is zubekhan01st. Excited to contribute!

    Thanks, Zuber Khan

    User avatar
    • Descriptions
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • What You’ll Do
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Expected Outcome
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Repository URL
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes