msasikanth / twine

Twine: A multiplatform RSS reader built using Kotlin and Compose
Apache License 2.0
1.77k stars 73 forks source link

Monospace font in code blocks is not entirely monospace #736

Closed andreyorst closed 2 months ago

andreyorst commented 2 months ago

Hello!

I don't know how to properly describe it, but the monospaced blocks of code in various feeds are wobbly at times. Here's a screenshot of a code block from one of my posts from my blog:

image

It's subtle, but you can see that colons don't align properly. Here's how it looks in the browser:

image

I've seen more exaggerated examples of that, but I can't find them right now. I must say, this doesn't happen with all feeds, so perhaps it depends on the article's contents. Maybe the HTML parser doesn't strip the bold property properly (and maybe other properties).

To Reproduce Steps to reproduce the behavior:

  1. Add the https://andreyor.st/feed.xml feed
  2. Click on https://andreyor.st/posts/2020-10-15-raymarching-with-fennel-and-love/ post
  3. Scroll down to 'Scene setup'
  4. See error

Feed Information Links to the feed that are having this issue

Device Information