Skip to content

Enlarge the type on the bonafide certificate - #1979

Merged
vikrantwiz02 merged 1 commit into
FusionIIIT:prod/acad-reactfrom
vikrantwiz02:acad-certificate-larger-type
Sep 2, 2026
Merged

Enlarge the type on the bonafide certificate#1979
vikrantwiz02 merged 1 commit into
FusionIIIT:prod/acad-reactfrom
vikrantwiz02:acad-certificate-larger-type

Conversation

@vikrantwiz02

Copy link
Copy Markdown
Member

The certificate was set in 11.5pt, which reads small for a document that is printed and handed to a student.

Before After
Body paragraphs 11.5pt, leading 18 13.5pt, leading 22
Heading 13pt, leading 16 15pt, leading 19
Header and signature 11.5pt, leading 15 13.5pt, leading 18
Internship note 11.5pt, leading 18 13.5pt, leading 22

The line spacing is raised alongside the type rather than left alone, so the larger size does not close up the gap between lines — body leading lands at roughly 1.6 times the font size. Page margins are unchanged.

Checked the case most likely to overflow: the longest father's name in the data (41 characters) together with the Internship purpose, which adds the extra note paragraph. Both render on a single page, as does the ordinary case. manage.py check clean, no model changes, no migration.

Certificates that already hold a cached PDF keep their existing layout, since a stored copy is served back verbatim.

The certificate was set in 11.5pt, which reads small for a document that
is printed and handed over. Body, header and signature move to 13.5pt
and the heading to 15pt, with the line spacing raised alongside so the
extra size does not close the gap between lines -- body leading goes
from 18 to 22, roughly 1.6 times the type size.

Checked against the longest father's name in the data, with and without
the internship note: the certificate still fits on one page.
@vikrantwiz02
vikrantwiz02 merged commit 3a711af into FusionIIIT:prod/acad-react Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant