Skip to content

Unify certificate typography, justify body text, fix margins and semester labels - #2010

Merged
vikrantwiz02 merged 1 commit into
FusionIIIT:prod/acad-reactfrom
vikrantwiz02:feature/certificate-typography-and-margins
Oct 7, 2026
Merged

vikrantwiz02 merged 1 commit into
FusionIIIT:prod/acad-reactfrom
vikrantwiz02:feature/certificate-typography-and-margins

Conversation

@vikrantwiz02

Copy link
Copy Markdown
Member

Summary

  • All four certificates (Bonafide, Fee, Demand Letter, Fee Structure) now share one consistent style: Caladea at 11pt for headings/labels/signatures, 12pt for the main certify-that body paragraph, and Carlito at 11pt for bulleted footnotes.
  • Caladea/Carlito are metric-compatible, SIL Open Font License substitutes for Cambria/Calibri (the originals are proprietary Microsoft fonts and can't be redistributed in the repo), sourced from Google Fonts.
  • Body text, table cells and signature lines are now justified instead of left-aligned.
  • Page margins unified to 3.5cm top, 1.5cm left/right, 2cm bottom across all four.
  • Fixed the Fee Structure Certificate's semester-pair table headers, which were hardcoded to "Semester-I"/"Semester-II" regardless of which semester pair was actually being issued (e.g. semester 7/8) — they now read the real odd/even semester numbers.

Test plan

  • Syntax-checked with python -m ast
  • Generated real PDFs end-to-end (Bonafide, Fee Certificate, Fee Structure Certificate for semester 7/8) and visually verified fonts, justification, margins, and the semester-label fix

…ster labels

All four certificates (Bonafide, Fee, Demand Letter, Fee Structure)
now share one consistent style: Caladea at 11pt for headings/labels/
signatures, 12pt for the main certify-that body paragraph, and
Carlito at 11pt for bulleted footnotes -- Caladea/Carlito are
metric-compatible, SIL Open Font License substitutes for Cambria/
Calibri, which are proprietary and not redistributable.

Body text, table cells and signature lines are now justified instead
of left-aligned. Page margins are 3.5cm top, 1.5cm left/right, 2cm
bottom across all four.

Also fixes the Fee Structure Certificate's semester-pair table
headers, which were hardcoded to "Semester-I"/"Semester-II"
regardless of which semester pair was actually being issued -- they
now read the real odd/even semester numbers.
@vikrantwiz02
vikrantwiz02 merged commit 2bffa36 into FusionIIIT:prod/acad-react Oct 7, 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