this post was submitted on 13 Sep 2024
4 points (100.0% liked)

No Stupid Questions (Developer Edition)

923 readers
1 users here now

This is a place where you can ask any programming / topic related to the instance questions you want!

For a more general version of this concept check out [email protected]

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
4
submitted 2 months ago* (last edited 2 months ago) by ertai to c/no_stupid_questions
 

To my understanding:

Many terminals are capable of displaying multiple fonts at the same time, say latin unicode characters in font foo and japanese unicode characters in font baz. In urxvt at least, it is also possible to have one font in a certain size and the next font in another size. However, no font can have a size bigger than the base size, the size of a terminal cell.

Why is it not possible to have multiple terminal cell sizes? For exampleso one line has terminal size 8 and the next line has terminal size 12.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 months ago

You could probably emulate multiple font sizes by using sixel graphics or ReGIS, but in most situations it's probably more convenient to write software with a "real" GUI.