Skip to content

[BUG] Non UTF-8 characters break PDF #4

@JeS24

Description

@JeS24

Problem Description

Non-UTF-8 characters such as μ are rendered fine in the web-preview, but not rendered in the PDF and cause artifacts as in the screenshot.
webpage
pdf

Expected Behavior

PDF should render properly.

Steps to Reproduce the Problem

  1. Go to the website.
  2. Select Microbiology from SBS.
  3. Generate PDF.

Platform Details

  • Browser (with Version): Tested on Edge Dev 98.0.1100.3 (Official build) dev (64-bit), Firefox 95.0.2 (64-bit)
  • Operating System (with Version): Windows 10 Pro Build 19044.1415

Additional context

This is an issue with jsPDF unless we load a custom font. Since that will just bloat the website, let's not use non-UTF-8 characters in the database.

Self-check

  • I have checked timetable/issues and could not find any related open bug report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions