Re: Get the default font in Gtk3



On Thu, Mar 29, 2018 at 12:58:25AM +0200, rastersoft wrote:


El 28/03/18 a las 23:02, Rafał Mużyło escribió:
On Wed, Mar 28, 2018 at 08:20:21PM +0200, rastersoft wrote:
Hi all:

I want to paint in a Cairo canvas some letters, and I want to use the
default tipografy and size from Gtk to give it coherence with all the
buttons and so on, no matter if the user changes it. So the question is:
how can I get it?

You don't.

No, you seriously don't.
Unless you want to do something fancy, all you need to do would be (in
  "draw" handler):

Well, that's the point: I want to do "something fancy". That's the 
problem O:)

Describe your usecase then - my crystal ball is *still* out of order.
Perhaps what you think as "fancy" actually isn't.



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