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
21
votes
2 answers

Octave Fontconfig error

I installed Octave via Homebrew using the instructions given here. When I try to generate a plot, I get the following message: Fontconfig error: Cannot load default config file warning: could not match any font: *-normal-normal-10 warning: called…
gsganden
  • 313
  • 3
  • 7
15
votes
5 answers

Make Anaconda's tkinter aware of system fonts or install new fonts for Anaconda

I have two Python installations on my Debian Sid notebook, ⑴ the system's Python (v.2.7) with a little bunch of utility packages (including Tkinter) and ⑵ Anaconda's Python 3. It is easy to see which (well, here how many...) fonts are available for…
gboffi
  • 22,939
  • 8
  • 54
  • 85
14
votes
2 answers

How to set font per Unicode range / codepoint in fontconfig?

I recently figured out how to use fontconfig on Linux to set system default fonts for serif, sans-serif and monospaced fonts; basically, you save an XML configuration file to ~/.config/fontconfig/fonts.conf with the following content:
John Frazer
  • 1,018
  • 13
  • 18
11
votes
2 answers

How can one find the Unicode codepoints that a font has glyphs for, on a Debian-based system?

From a scripting language (Python or Ruby, say) on a Debian-based system, I would like to find either one of: All the Unicode codepoints that a particular font has glyphs for All the fonts that have glyphs for a particular Unicode…
Mark Longair
  • 446,582
  • 72
  • 411
  • 327
7
votes
1 answer

Qt : Unable to load TTF file

I have a Qt-embedded application that I develop in OpenSuse 11.4 where I need to load a TTF font file. However when I call int QFontDatabase::addApplicationFont() function, it's returning -1. Upon reading the documentation, I found out that adding…
Owen
  • 4,063
  • 17
  • 58
  • 78
7
votes
1 answer

Pentaho/POI throws InvocationTargetException

I am trying to upgrade all my java application to openJDK11 ( from Oracle 8 ). and I notice one problem in my reporting server which use Pentaho. It seems that the Excel autosize feature requires libfontconfig.so in openJDK11, however I can find the…
Rudy
  • 7,008
  • 12
  • 50
  • 85
6
votes
1 answer

How to compile fontconfig without uuid

I want create fontconfig's dylib but I have to do that without uuid Mine ./configure options are: ./configure --disable-docs --disable-dependency-tracking --disable-silent-rules --enable-shared…
Martin
  • 93
  • 7
6
votes
1 answer

Rename ttf/woff/woff2 file to PostScript Font Name with Script

I am a typographer working with many fonts that have incorrect or incomplete filenames. I am on a Mac and have been using Hazel, AppleScript, and Automator workflows, attempting to automate renaming these files*. I require a script to replace the…
Moscarda
  • 373
  • 4
  • 14
6
votes
1 answer

What is the purpose of fc-cache in fontconfig?

i went through the documentation of fontconfig and i could understand the purpose of fc-match and fc-list. I am not understanding what does fc-cache does? How does it help device to understand things related to fonts? Could anyone explain what is…
shri
  • 61
  • 1
  • 1
  • 4
6
votes
5 answers

Java: How to tell which fontconfig file my system is currently using?

I am trying to debug a font-related issue in a third-party Java application. Specifically, ChemAxon JChem. I've been consulting this guide: http://java.sun.com/j2se/1.5.0/docs/guide/intl/fontconfig.html Part of the problem, is that I'm not sure…
jkndrkn
  • 4,012
  • 4
  • 36
  • 41
5
votes
2 answers

How to config Font substitution in poppler

When convert pdf page to image, if a Font is not embedded in the input pdf, default Font substitution (usually Arial) is used. However, I want to change the default font. There is a description here but it is too few information. I don't know how to…
yuma4012
  • 61
  • 2
5
votes
1 answer

Fontconfig errors when launching emacs intalled with nix

I am using Ubuntu 19.10. I have nix version 2.3.1. I installed emacs 26.3 using: nix-env -iA nixpkgs.emacs When I launch emacs I get these error messages: (process:9100): Gtk-WARNING **: 09:41:39.668: Locale not supported by C library. Using the…
5
votes
0 answers

How to perform glyph substitution with Freetype, Harfbuzz and Fontconfig

I am currently implementing font rendering in McCLIM using Freetype, Harfbuzz and Fontconfig. As long as I pick the correct font, I can get text to render very nicely using these libraries. My main problem right now is how to deal with missing…
Elias Mårtenson
  • 3,820
  • 23
  • 32
5
votes
2 answers

How do I build Cairo/Harfbuzz?

Cairo has a dependency on FontConfig. FontConfig has a dependency on Freetype. I have built FreeType, but when I try to build FontConfig I get link errors as FreeType needs HarfBuzz. When I try to build Harfbuzz, it has a dependency on FreeType.…
AlastairG
  • 4,119
  • 5
  • 26
  • 41
5
votes
1 answer

iPhone: Fontconfig error: Cannot load default config file

I have the following problem: I included a static library of FontConfig libfontconfig.a into my iPhone project. The application is building and i can run it on the device but when I do a call to a method that needs some functions of this library the…
el flex
  • 246
  • 2
  • 10
1
2 3 4 5 6 7