ecrin-github / ecrin-github/rms-portal-new

Study/DO: Add support for more scripts in PDF generation

Open
#84 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When generating a PDF for a DO or a study with non-latin script, it renders garbage instead of the correct text because the fonts available for the PDF generation only support latin script.
Note: to fix this, a library will most likely need to be added, either to replace the current limited PDF generation library, or a library to detect scripts in text and to map the scripts to correct fonts.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name a file, test, entry point, or current PDF-generation library. Start by locating the PDF generation path and its existing font handling, then identify the required non-Latin scripts and define completion through correct rendering tests for studies and DOs.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.