Enlarge the type on the bonafide certificate - #1979
Merged
vikrantwiz02 merged 1 commit intoSep 2, 2026
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The certificate was set in 11.5pt, which reads small for a document that is printed and handed to a student.
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 checkclean, no model changes, no migration.Certificates that already hold a cached PDF keep their existing layout, since a stored copy is served back verbatim.