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
3
votes
1 answer

Brew install failing on OS X - possibly something to do with new XCode

I'm trying to do a brew install of fontconfig on OS X 10.8.3 and I'm being thrown with a nasty error. I have XCode 4.6.1 installed. $ brew install fontconfig ==> Installing fontconfig dependency: pkg-config ==> Downloading…
IAmFledge
  • 788
  • 7
  • 21
2
votes
3 answers

How to fix Fontconfig warning - unknown elements error

When I run "emacs Makefile" on a file I have made, the file opens, but I get the following in the terminal: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so: undefined symbol: g_date_time_format_iso8601 Failed to load module:…
dilan_s
  • 61
  • 7
2
votes
0 answers

How can I generate a PDF with custom fonts using AWS Lambda?

I have an AWS Lambda function that generates PDFs using the html-pdf library with custom fonts. At first, I imported my fonts externally from Google Fonts, but then the PDF's size has enlarged by ten times. So I tried to import my fonts locally…
Eliya Cohen
  • 7,443
  • 6
  • 41
  • 82
2
votes
1 answer

Phantom JS bad kerning custom fonts on lambda

I am running html-pdf to generate a PDF via nodejs using phantomJS and running it on aws lambda. I have custom fonts, and referencing them with path in css (src: url('path/fonts.ttf'); was causing the pdf to render as one large image and the…
Kate
  • 79
  • 1
  • 9
2
votes
2 answers

Could not find or load the Qt platform plugin "xcb" on Archlinux (Write! AppImage)

Trying to install the Write! AppImage on Arch Linux with qt5 installed, freetype2 2.9.1 and fontconfig 2:2.13.1+12+g5f5ec56-1 [levi@astize Write!]$ ./write This application failed to start because it could not find or load the Qt platform plugin…
astize
  • 21
  • 1
  • 2
2
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,624
  • 19
  • 32
2
votes
0 answers

Force fontconfig use specific font for given glyphs

Is it possible? I use i3bar status line and want it to display some unicode glyphs, but some of them cause the whole text be vertically misaligned and thus cropped: In this particular example the speaker glyph causes this. How do I force fontconfig…
c_spk
  • 169
  • 13
2
votes
2 answers

Bash. Passing a variable containing spaces

I am using dmenu list selection tool on linux. Let's assume my typical invocation goes like that: ls | dmenu $DMENU_OPTIONS Settings from .dmenurc: DMENU_FN="Liberation:size=16" DMENU_OPTIONS="<...> -fn $DMENU_FN" Then, I have use some…
2
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
  • 3,522
  • 3
  • 21
  • 37
2
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
  • 21
  • 1
  • 4
2
votes
1 answer

Unable to configure font in XTerm

After a lot of mucking around Xterm, poring through reams of webpages I have thrown in the towel and realized that this isn't something I can figure out on my own. TrueType vs Bitmap Is the option xterm*font used to specify only bitmap fonts and is…
kshenoy
  • 1,576
  • 15
  • 29
2
votes
0 answers

What's the equivalent of xfontsel for fontconfig fonts?

I'm trying to draw a particular font in a particular style, using Xft and fontconfig. I know it's possible, because font-manager will let me preview it. (Terminus, in italics, FWIW.) However, I cannot seem to figure out the right font name to pass…
David Given
  • 12,261
  • 6
  • 63
  • 114
2
votes
0 answers

Retrieving font path with wxFont and fontconfig

My name is Fabio and I'm really glad to meet your community! I faced a problem working fonts with wxPython, PIL and fontconfig. In the beginning I wanted to use PIL to write a text in a tiff image, and I used ImageFont.truetype to load the font in a…
2
votes
0 answers

Cannot load default config file phantomjs

I installed phantomjs using ap-get on ubuntu, when I try to get the version of phantomjs phantomjs --version I get this error and warning: Fontconfig error: Cannot load default config file [WARNING] phantomjs: cannot connect to X server I tried…
Hocine Ben
  • 1,449
  • 2
  • 11
  • 19
2
votes
1 answer

Linux centos fontconfig help need

I'm trying to get wkhtmltopdf working and i received the following error when using certain fonts with @font_face. /usr/bin/wkhtmltopdf: symbol lookup error: /usr/bin/wkhtmltopdf: undefined symbol: FcFreeTypeQueryFace So I looked it up and saw I…
Clint C.
  • 632
  • 13
  • 31