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

96 questions
0
votes
0 answers

Building fontconfig from source and using .so file elsewhere

I need to build the Linux library fontconfig from source and bundle the libfontconfig.so along with an application's bin folder. When building from source, I add a prefix directory during configure in order to install it in a specific directory. The…
0
votes
1 answer

Create custom font families with Fontconfig

I'm starting to dive into using sway + waybar. For styling my Waybar, my ultimate goal is to be able to have it use monochrome emoji and prevent color emoji from appearing. However, I want to have color emoji everywhere else on my system, so…
crs
  • 77
  • 1
  • 8
0
votes
0 answers

ChartJSNodeCanvas Fontconfig error: Cannot load default config file

Im having an issue Im currently trying to run a javascript project with ChartJSNodeCanvas const width = 400; //px const height = 400; //px const canvasRenderService = new ChartJSNodeCanvas({width:width, height:height}); const…
0
votes
0 answers

Rust cross-compile plotters to x86_64-unknown-linux-musl failed

My project used plotters as dependencies. I want to compile my project to target platform x86_64-unknown-linux-musl from my host platform centos8. Then I met the problems below. Compiling yeslogic-fontconfig-sys v3.2.0 error: failed to run custom…
0
votes
0 answers

Unicode - how to determine the right font for drawing a grapheme cluster consisting of multiple unicode codepoints?

I need a very simple user interface for my Linux C++ program. The UI should just represent a list of strings through which the user can iterate with keyboard arrows or j/k/h/l keys. I am aware that it is generally not recommended to use such…
Alexey104
  • 969
  • 1
  • 5
  • 17
0
votes
0 answers

CUPS doesn't find font installed by fontconfig

I want display and print a special unicode character in LibreOffice. Initially, Libreoffice can't display this character. I install the font package, and run fontconfig. Libreoffice can now display correctly the character. But I can't display…
bbb ee
  • 1
  • 1
0
votes
1 answer

rust glium compile error missing package on ubuntu

I try compile this in Rust with glium on an Ubutnu machine. #[macro_use] extern crate glium; fn main() { println!("Hello, world!"); } It results in this error: --- stderr thread 'main' panicked at '`"pkg-config" "--libs" "--cflags"…
0
votes
1 answer

Noto Color Emoji not rendering in Emacs

I can't get Emacs on X11 to display emojis using Google's Noto Color Emoji font. I'm testing with a file containing only one Unicode character CROSSED FLAGS (U+1F38C) and a line feed. I open this file using emacs -Q crossed-flags.txt to inhibit any…
lbo
  • 193
  • 8
0
votes
0 answers

disable automatic font ligatures

There’s a Qt5 application that I use to render text on screen and to PDF. I’ve been having trouble with newer fonts automatically creating ligatures from e.g. ff (which is plain wrong, ① because U+FB00 ff exists for this purpose, and ② because this…
mirabilos
  • 5,123
  • 2
  • 46
  • 72
0
votes
1 answer

OSError about 'fontconfig-1' after install 'fontconfig' on mac OS ventura on rosetta

I'm trying to run django migrate with iTerm that is running on rosetta, my OS is mac OS 13.0.1 Ventura. When I've run python manage.py migrate command, I got OSError: ctypes.util.find_library() did not manage to locate a library called…
Lazyer
  • 917
  • 1
  • 6
  • 16
0
votes
0 answers

List of possible fonts that poppler can read

I'm doing a search on some fonts and I'm interested in getting a list of all the possible fonts that a software like popppler can handle. Analyzing the source code of the latter, I found that it uses the fontconfig library (also used by pdffonts to…
Teo7
  • 47
  • 5
0
votes
1 answer

Building Chromium's unit tests: generate_fontconfig_caches failed

I have been able to build Chromium from source, for Ubuntu using this guide. Subsequently, I want to build the unit tests for it. And specifically, I want to build vaapi_unittest. I have not been able to do so. First it failed on missing TTF fonts,…
Bram
  • 7,440
  • 3
  • 52
  • 94
0
votes
1 answer

Installing fonts on CentOS from the /tmp/ folder

I am trying to create a process on a machine that can asynchronously download and install fonts for LibreOffice to use. Our processes for whatever reason cannot access the usr folder, and every guide to installing fonts mentions to first move the…
Arya
  • 1,382
  • 2
  • 15
  • 36
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
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…
Manmeet Bhurjee
  • 143
  • 1
  • 10