On Wed, Jul 19, 2017 at 2:13 AM, Carl Hetherington wrote:
> Hi Behdad,
>
> [snip]
>
> > Try calling FcInitLoadConfigAndFonts first for example...
>
> Many, many thanks: using FcInitLoadConfig() instead of FcConfigCreate()
> appears to have fixed it!
>
See! You didn't include
Hi Behdad,
[snip]
> Try calling FcInitLoadConfigAndFonts first for example...
Many, many thanks: using FcInitLoadConfig() instead of FcConfigCreate()
appears to have fixed it!
All the best,
Carl
>
> Thank you,
> Carl
>
> On Tue, 18 Jul 2017, Behdad Esfahbod wrote:
>
>
On Tue, Jul 18, 2017 at 1:32 AM, Carl Hetherington wrote:
> Hi Behdad,
>
> This is on Ubuntu 16.04. It works fine if I remove the
> FcConfigAppFontAddFile.
Humm . I wouldn't have expected that.
> I'm happy to build Pango/Cairo from source and
> do any debugging that
Hi Behdad,
This is on Ubuntu 16.04. It works fine if I remove the
FcConfigAppFontAddFile. I'm happy to build Pango/Cairo from source and
do any debugging that would help.
Thank you,
Carl
On Tue, 18 Jul 2017, Behdad Esfahbod wrote:
> pangocairo is supposed to do that automatically. Is this
Hi all,
I am writing text to a Cairo RGB24 ImageSurface using code along the lines
of
FcConfigAppFontAddFile (..., "Arial.ttf");
auto surface = Cairo::ImageSurface::create (...);
auto context = Cairo::Context::create (surface);
auto layout = Pango::Layout::create (context);