Re: Setting pango attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Fri, Sep 1, 2017 at 7:50 PM, Igor Korot <ikorot01@xxxxxxxxx> wrote:
Emmanuelle,

On Fri, Sep 1, 2017 at 6:37 PM, Emmanuele Bassi <ebassi@xxxxxxxxx> wrote:
> On 1 September 2017 at 21:20, Igor Korot <ikorot01@xxxxxxxxx> wrote:
>>  Hi, ALL,.
>> There is a GtkFontChooserDialog class which enable a user to do a font
>> selection.
>>
>> However, this dialog does not allow to select some pango attributes - notably
>> strikethrough and underline.
>>
>> Is there a way to have some kind of a GUI controls to select them?
>> If not - why they are not present in the dialog itself?
>
> Because that's not what a font selection dialog does?

So I should just add 2 checkboxes to my panel to make them selectable?

As Emmanuelle noted, ​they are not related to font selection. ​ You have to decide if you consider all this stuff related or not.



>
> The bold and italic font faces you see are different font weights
> inside a family, not Pango attributes being set.

I was actually asking about underline/strikethrough not bold/italic.

​so was Emmanuelle. Again: strikethrough & underline are Pango rendering attributes, not part of font (unlike bold/italic, which are part of a font)

 

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux