LAION-AI / LAION-AI/Open-Assistant

Monospace font does not render Morse code correctly (and will have other issues).

Open
#2,891 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

UI/UX website
Dominant language
Python
Stars
37.4k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

The monospace font used by the web client cannot render Morse code properly. The dots are sometimes rendered level with the dashes (in the middle, like a multiply operator), and other times, level with the line (at the bottom, like a period).

Screenshot 2023-04-24 at 23 55 03

This seems to be caused by using a font with ligatures that were optimized for rendering code. If so, there will be other corner-cases, so we should switch to something more general purpose (I would recommend IBM Plex Mono).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the web client's font configuration and reproduce the Morse code rendering shown in the issue. Check the current monospace font's treatment of dots and dashes, then verify that the selected general-purpose font renders Morse code correctly without introducing the reported font issues.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.