[Qt-interest] Fontconfig woes.

william.crocker at analog.com william.crocker at analog.com
Mon Jul 27 22:50:56 CEST 2009


Hello:

I build the Qt libraries two different ways, with
and without X11/FontConfig enabled. I then build
and run my app...

With FontConfig *disabled* during the Qt build process:
     PDF printing from my app does *not* work because raw X11
     does not provide the required scalable font support
     (or so I am told).

With FontConfig *enabled* during the Qt build process:
     PDF printing works. This is good, but now
     Every GUI object in my app is twice as large
     as before either because the fonts provided by FontConfig
     are lying about their metrics and providing ascent
     and descent numbers which are too large or Qt is
     not properly interpreting these font metrics.
     In either case, Qt thinks the font glyphs are larger
     than they appear so it allocates too much space for them.

I am working on: Red Hat Enterprise Linux WS release 4
                  with X11 R6.

Has anyone else encountered this problem?

Does anyone have a solution?

Thanks.

Bill



More information about the Qt-interest-old mailing list