View Single Post
Old 08-25-2024, 11:23 AM   #6
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 898
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
This cannot be done through a qss file.
Line height is sewn inside the font and depends on the size of the font offset.
I don't know if I'm using the right vocabulary, but it's simply a font metric that stores the height for the entire font and font family to maintain consistency.

In this exceptional case, for use in Sigil's Code View and without changing the program code (which is unnecessary, by the way) I think the best solution would be to edit the font and, for example, add 100 points ascender and 100 points descender.

An example below using the IBM Plex Mono font as an example.
One screenshot shows the original font and the other the modified one.

As you can see, in Sigil itself there is no control over this parameter of the Code View window.
Attached Thumbnails
Click image for larger version

Name:	sigil-ibm-plex-mono-standard.png
Views:	247
Size:	56.4 KB
ID:	210401   Click image for larger version

Name:	sigil-ibm-plex-mono-modified.png
Views:	246
Size:	53.7 KB
ID:	210402  
BeckyEbook is online now   Reply With Quote