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
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
  • 213
  • 3
  • 7
12
votes
2 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
  • 17,041
  • 5
  • 45
  • 76
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
  • 385,867
  • 66
  • 394
  • 320
10
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
  • 690
  • 8
  • 14
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
  • 3,793
  • 15
  • 53
  • 75
5
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
  • 83
  • 6
5
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
  • 333
  • 2
  • 14
5
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
  • 3,860
  • 4
  • 32
  • 40
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
  • 236
  • 2
  • 10
4
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…
4
votes
0 answers

Loading font to Pango

I am trying to load a non system font to my GTK application. I have tried using pango to achieve that. Here's my code: string fontPath = "res/fonts/FreeSans.ttf"; const FcChar8 *fontFile = (const FcChar8*) fontPath.c_str(); FcBool fontAddStatus =…
Ramywhite
  • 92
  • 1
  • 7
4
votes
1 answer

fontconfig finds no fonts

I'm trying to make my C++ program detect installed fonts on my Win32 machine. I tried fontconfig by taking the library from the GTK+ bundle. I use the following test code: #include FcBool success = FcInit (); if ( !success ) { …
cbaakman
  • 61
  • 3
3
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
  • 6,358
  • 9
  • 42
  • 79
3
votes
1 answer

Point libfontconfig.so to a newer version of it

I am trying to convert a webpage with @font-face custom fonts to a pdf using wkhtmltopdf. The software gives me the following error when trying to do that conversion (when not using @font-face it works perfectly): wkhtmltopdf-i386: undefined…
Kay Lucas
  • 569
  • 1
  • 3
  • 17
3
votes
1 answer

why does set-default-font affect find-file-other-window?

I recently added the line (set-default-font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1") to my .emacs file. After that find-file-other-window always opens a new window instead of utilizing existing windows. Why would that…
jdizzle
  • 3,589
  • 1
  • 25
  • 33
1
2 3 4 5 6