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
1
vote
1 answer

CentOS and fontconfig: Cannot load default config file

I'm getting following error when using imagick: Fontconfig error: Cannot load default config file My script is working but i would like to fix this (is filling up log file). OS is: # cat /etc/redhat-release CentOS release 5.10 (Final) I was…
ntatic
  • 151
  • 1
  • 7
1
vote
2 answers

Can I customise the content of an Excel drop down box to mirror the colour of another variable cell?

I hope someone can help me with this, I am creating an accounts spreadsheet where 'Sheet 1' contains a list of: All activities we will be billing against Activity budget Planned spend Actual spend Budget varience (I.e. money left to spend or will…
1
vote
0 answers

Adding native language android

I need to add native language rendering (not the font.My language,sinhala,use complex scripts) support to android.Is there any chance of using fontconfig compiled for arm to do this?
Madushan
  • 814
  • 1
  • 8
  • 21
1
vote
1 answer

Why is libtool looking for .lib files instead of .a files?

I am in the process of cross-compiling Fontconfig for Windows using Mingw-w64 (the host is Ubuntu 12.04 64-bit). The process consists of the following steps: Compile and install the build dependencies (Freetype and eXpat). Run…
Nathan Osman
  • 63,773
  • 66
  • 242
  • 344
1
vote
4 answers

Is it possible to install Freetype or Fontconfig on Heroku?

I'm trying to make phantom.js work on heroku, so far I've managed to launch a custom buildpack and run the binary file. However, it seems that in order to render things correctly I need to also install Freetype and Fontconfig. Heroku doesn't seem…
Vlad
  • 7,419
  • 11
  • 51
  • 82
1
vote
0 answers

How do I escape a special character in fontconfig?

I am executing Inkscape from the command line to convert SVG to PDF, and I rely on fontconfig to match the font-family of text elements in the SVG to the font files on the (Debian) machine. This works except when the font-family value of the text…
ram1
  • 5,610
  • 6
  • 37
  • 43
0
votes
0 answers

SIGABRT when trying to clean up PangoCairo / FontConfig

OS: Arch Linux I'm using pango cairo in my window manager to draw text. till now i've been using these three statements after exiting my window manager to clean up pangocairo. pango_cairo_font_map_set_default(nullptr); …
0
votes
0 answers

Setting a backup font for CJK in QML

My QML app has both English and Chinese Text, and I would like to use the Noto Sans font. However, the Noto Sans CJK font with Chinese glyphs is actually a rebranded Source Han Sans, and the Latin glyphs inside are from Source Sans Pro. So if I…
jdm
  • 8,101
  • 9
  • 46
  • 90
0
votes
0 answers

Install new fonts during runtime and use them in C# System.Drawing without restart

For my application I have to be able to install new fonts, rebuild the font cache with fc-cache, and use them in my C# application for drawing by using System.Graphics (libgdi+). Is this possible without restarting the application? Currently it…
0
votes
0 answers

Cairo text rendering issues with pango and fontconfig

I have a strange problem with using cairo/pango/fontconfig for text rendering. In my application, I am using these libraries for creating an image surface for rendering text on it through Pango apis. For fonts, I have my own fonts in a custom folder…
0
votes
0 answers

Fontconfig "if" condition example

Can you provide some example of tag usage in Fontconfig configuration file? The documentation is not clear for me: My goal is to use conditional match by environment variable. e.g. IF SUBSTITUTE_ALL_FONTS THEN ....
Pavel Madr
  • 96
  • 6
0
votes
0 answers

cross compile fontconfig for imx25 failure

Cross compiler: Sourcery_G++_Lite/bin/arm-none-linux-gnueabi Autoconfig failed on below checking of "grab the raw symbol name" with arm-none-linux-gnueabi-nm. checking command to parse…
0
votes
0 answers

Installing QtWebengineView on RPI4: “A suitable version of fontconfig could not be found. QtWebEngine will not be built.”

I installed QT 5.11.3 in Raspberry Pi 4. I used following commands to install QT on my RPI sudo apt-get install qt5-* sudo apt-get install libqt5* sudo apt-get install qtcreator Now I am trying to install QtWebEngineView on Raspberry Pi 4 from here…
vallabh
  • 162
  • 10
0
votes
3 answers

AWS Lambda + Puppeteer cookies - page.setCookie() not working & custom fonts not getting applied

I am using AWS Lambda + Puppeteer + Handlebars to generate PDF at runtime. I am creating the HTML on the fly and need to set cookies in order to render some images in the HTML pages before creating the PDF. Puppeteer v4.0.0 Node v12.x I have run…
0
votes
0 answers

Chromium displays serif as sans-serif

This is a simple HTML page with both LGC and CJK characters:
aaaa
ββββ
ДДДД
いいいい
일일일일
大大大大
What is expected: All characters are displayed…
Cyker
  • 7,326
  • 7
  • 49
  • 73