Using Yad 0.36.3 I created a script to pipe the info of 'mediainfo' to a Yad gui.
If I use '--fontname=somefont' and pick any font to use from the system, the output of mediainfo is not correct.
If I don't use '--fontname=somefont' and let Yad default to the font it uses now, then it displays correctly.
Mediainfo displays out put like this with all the info on the right side with all the semicolons in a line, from top to bottom
In YAD they are being displayed like this;
General
Unique ID : 249425704421930790561365851281720110779 (0xBBA5A4AF9C5B228AA125DDE2A5706EBB)
Complete name : /home/sar/Videos/Me.Before.You.2016.720p.HDRip.850MB.MkvCage.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 852 MiB
Duration : 1 h 50 min
Overall bit rate : 1 074 kb/s
Movie name : Me.Before.You.2016.720p.HDRip.850MB.MkvCage
Encoded date : UTC 2016-08-11 18:38:13
Writing application : mkvmerge v7.9.0 ('Birds') 32bit
Writing library : libebml v1.3.1 + libmatroska v1.4.2
The output I copied and pasted did not show correctly, so I'm attaching a screen shot that shows what this actually looks like.
Notice how the semicolons on the right side are not all in line with each other....
Notice where it says;
Video
ID :2
How the :2 is way over to the left, then other areas where the semicolons start are over to the right and they ziag zag down the screen.
If I use the default Monospace and add it in, and change the size, as example it works fine;
--fontname="Monospace 9"
hmmm
What is causing this, and can I fix this, or a bug in yad?
THANKS
Last edit: SourceBugs 2016-08-14
use monospaced fonts like Courier New
I've never really bothered to learn about fonts.
Ok so I read;
A monospaced font, also called a fixed-pitch, fixed-width, or non-proportional font, is a font whose letters and characters each occupy the same amount of horizontal space. This contrasts with variable-width fonts, where the letters and spacings have different widths.
Ahh so I'm assuming what I was using is variable-width...
THANKS Victor! :)