Re: Fontconfig Support

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Sun, 17 Jul 2005 23:39:12 +0200


Hi Daniele,

   if you come with a patch along the lines you described that would be fine.

Cheers, Fons.

Daniele Nicolodi wrote:
> Hello, one of the ugly things in root in my opinion is the dependency
> on the microsoft fonts. As first step to remove that dependency i want
> to code the support for the use of the fontconfig library to make root
> able to use the system wide installed fonts.
>
> Looking at the sources it looks like is enought to modity
> SetTextFont(const char *fontname) and SetTextFont(Font_t fontnumber)
> methods of the TTF class.
>
> The variation of those methods could be included in an #ifdef
> and enabled only if the fontconfig library is detected at config time
> so a new dependency is not realy introduced.
>
> What the main developers think about that proposal?
>
> Ciao

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Sun Jul 17 2005 - 23:39:20 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:10 MET