Menu

#337 --fontsize don't change font, and I use --no-markup switch

New
None
High
Defect
2024-04-12
2023-03-07
No
  • yad 0.40.0 (GTK+ 3.24.33) on Linux Mint 21 vanessa

When I try to set font size with --fontname='Monospace Regular 42', there's no font size adjustment.

I have read others answers on this issue, but what I try to do is to not use the HTML (Pandoc?) span style syntax in --text '<span font='Monospace Regular 12'>text</span>', because I use --no-markup switch: I have random input string, than can break yad box.

One of my yad invocation: yad --fontname='Monospace Regular 42' \ --no-focus --on-top --borders=10 --geometry -0+80 \ --height=100 --question --title "$title" \ --window-icon "$icon_redi" --text='foobar'

Any solution?

Discussion

  • Victor Ananjevsky

    you are using an ancient version of yad. please update (https://github.com/v1cont/yad) or build your version against gtk2

     
  • Hans Meier

    Hans Meier - 2024-04-12

    I use 13.0 (GTK+ 3.24.41) and have the same problem, even without --no-markup switch.
    Should i open another ticket?

     

Log in to post a comment.