19

What happens when you set "font_size": 32 in your favorite editor? I would’ve told you anyway, but I’m glad that you asked.

you are viewing a single comment's thread
view the rest of the comments
[-] ChrislyBear@lemmy.world 10 points 1 year ago

Wow, all the ideas of the author are bad.

Font size in pixels are a bad idea, because people have different screen resolutions. For some your text might be legible and for some it will be a text for ants. You don't want that. Also a piece of paper doesn't have pixels, so you'll get different results for printed pages. You don't want that as well.

And the line height thing? No. Just no. Only because I have one larger letter anywhere in my text I don't want to screw up the line spacing for the whole paragraph/text.

Text size in px is objectively a bad idea.

this post was submitted on 04 Jul 2023
19 points (85.2% liked)

Programming

17074 readers
322 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS