GNOME Bugzilla – Bug 391179
font selection dialog needs color option
Last modified: 2018-04-15 00:07:59 UTC
The font selection dialog should have a font color option added to it where the user can select the color for their font. This is what Windows does and can be fairly useful.
The question is, where is that colour going to show up? I see how it might be useful to select together with a font, but generally the font as such doesn't include colour information. You, or anyone interested, might come up with a more concrete use case, to see how the integration might look like.
Agreed. Well, the caller can set an option that it also accepts a color, and set a current color. Later it can fetch whether the color was changed and the chosen color.
Created attachment 122199 [details] [review] Add _set_select_color and _set_color This is an attempt at adding a colour button to the font selection and functions to enable it and set and retrieve the colour. No properties yet, and I reused the fontsel->pixels_button and fontsel->points_button to avoid a private structure. If you like the idea I can add properties, and if you prefer that, also add a private, if the workaround is too ugly.
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla. If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab: https://gitlab.gnome.org/GNOME/gtk/issues/new