Questions tagged [fontconfig]

Fontconfig is a library for configuring and customizing font access.

Fontconfig is a library for configuring and customizing font access.

cf. http://freedesktop.org/software/fontconfig/front.html

81 questions
0
votes
1 answer

Tk - segfaults when I use widget (button, text)

I have compiled Tcl/Tk into my application. When I open my application, I get a window (due to Tk_init) which I can manipulate: > wm title . "mysh" > wm geometry . 300x300 But when I try button or any of the other widgets it segfaults > button…
Anand
  • 1,084
  • 3
  • 20
  • 33
0
votes
1 answer

How do I set the fallback font for special characters in Pango strings on Windows?

My application displays strings using Pango, Cairo and GTK3. Some of those strings include some special characters, including one not in the Unicode basic plane. On Linux this just worked, but on Windows it can't find the special characters and…
Paul Johnson
  • 16,435
  • 3
  • 38
  • 54
0
votes
0 answers

Where to place the fontfile for the FFmpeg drawtext-Filter?

I'm using the precompiled FFmpeg-Android by Bravobit (via gradle: implementation 'nl.bravobit:android-ffmpeg:1.1.5'; based on WritingMind's) with the intention of drawing the current timestamp/location onto a .mp4 file. I am completely new to FFmpeg…
jpgerh
  • 1
  • 2
0
votes
1 answer

libtool include wrong path

I'm trying to compile fontconfig to android i've sucessfully compiled all its dependencies but im gettin a weird error on fontconfig compile: here is the command i…
Rafael Lima
  • 1,834
  • 21
  • 63
0
votes
1 answer

Use font per program

I use phantomjs and puppeteer on the same system. I am using a font file to support emoji in PDF exports. phantomjs crashed when I use that font, but not chromium browser used in puppeteer. Is there any way I can load the font file specifically for…
mohsinulhaq
  • 795
  • 1
  • 10
  • 24
0
votes
0 answers

error: Unable to determine the type of the len parameter of the gperf hash/lookup function

I'd like to build fontconfig library under AIX os 64 bits. So I downloaded fontconfig source and I executed the configure commande : ./configure --prefix=/home/stephv/libraries/sharedlib configure returns the followings error: checking The type of…
ZINEBA
  • 33
  • 1
  • 6
0
votes
0 answers

Liberation fonts matching for wkhtmltopdf in a docker container for centos 7

I am trying run a docker container with wkthmltopdf 0.12.4 in centos 7. We only want to support "Arial", "Times New Roman" and "Courier New" and do want to deal with msttcorefonts package. So the liberation fonts packages is close enough. However,…
AirWick219
  • 694
  • 5
  • 25
0
votes
1 answer

Fontconfig 2.8.0 linux fc-list no result

I installed fontconfig by command yum install fontconfig. there's no error when install, but after installed, I run fc-list, the result is empty. Run fc-cache also no result. why no fonts installed? Please help. Please see below screenshot: [command…
Sophia
  • 13
  • 3
0
votes
1 answer

Installing fontconfig from source, says it can't find configure

I downloaded fontconfig 2.8.0 as part of a chain of downloads trying to fix another issue. I went into the directory and the INSTALL file said to run: ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man Perfectly fine, done that a…
Ian
  • 499
  • 11
  • 35
0
votes
1 answer

Fontconfig: How to add local customization file

I need to add some local font directories. one option is to edit fonts.conf and add dir tag to add directories. But it is not good to edit this file, for local customization local.conf is used but when I installed fontconfig local.conf is not…
0
votes
2 answers

preferred glyph fallback font

[Problem] When rendering a string of multiple languages, the font selected might not support all glyphs. Is it possible to specify a list of fonts to test the glyph through? [Context] The system is Pango + Fontconfig, my first guess this is…
Solti
  • 603
  • 2
  • 6
  • 16
0
votes
0 answers

How can i test the Windows Font driver of FreeType with font files .FNT or .FON

I am working on some research related to FreeType2 Driver modules. I started my study by reading the Windows font Driver module (Because of its simplicity compared to TrueType and Type1). This Driver module works when a file with format .FNT or .FON…
Ammar Ul Hassan
  • 671
  • 1
  • 13
  • 35
0
votes
1 answer

Statically linking fontconfig: disable `fonts.conf` file

My application statically links libfontconfig.a on macOS, but does not ship with any fontconfig configuration files. Each time the application starts, it gives a warning about fonts.conf not found. After that it falls back on default fontconfig…
Jeroen
  • 28,942
  • 33
  • 116
  • 190
0
votes
1 answer

Cross-compilation and libraries

During a cross-compilation I got this linker error: /home/tech/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lfontconfig This is the g++ command…
Mark
  • 3,093
  • 4
  • 32
  • 77
0
votes
1 answer

Graphviz - dot fails with fontconfig error

A problem I had with Graphviz yesterday - I couldn't find anything documenting this exact error on Stack Overflow or elsewhere, so I decided to write it up. On Linux, every call to dot started failing with the error message: No fonts found; this…
Jacob Ritchie
  • 1,092
  • 9
  • 21