Recent Changes - Search:

edit SideBar

Fontconfig

Description

Fontconfig is designed to locate fonts within the system and select them according to requirements specified by applications.

The library is available as 32-bit and 64-bit:

  • If you are compiling a 32-bit program, no special compiler options are needed.
  • If you are compiling a 64-bit program, you have to compile and link your application with "cc_r -q64" or "gcc -maix64".

Homepage: http://www.fontconfig.org/

Current version: 2.12.6-2


Please note:

  • If your fontconfig-based applications show the character IDs instead of the actual characters then you need to adjust your X11 fonts setup, please scroll further down for details.
  • The reason for this is that fontconfig can not find any proper fonts.
  • In order to make it work with the default configuration of fontconfig you need to at least install the fileset X11.fnt.iso_T1.
  • Alternatively, you can also add a local /opt/freeware/etc/fonts/local.conf file and list the directories containing fonts. An example for that is listed below.
  • Recommended would be to install urw-fonts and add /opt/freeware/share/fonts/default/Type1 to the list of fonts above.
  • If you have ghostscript-fonts installed you could also add /opt/freeware/share/fonts/default/ghostscript/fonts to the list of fonts above.

Before (fileset X11.fnt.iso_T1 not installed), not working:

root@aix51:/opt/freeware/etc/fonts> lslpp -l | grep X11.fnt
  X11.fnt.coreX              5.1.0.0  COMMITTED  AIXwindows X Consortium Fonts
  X11.fnt.defaultFonts       5.1.0.0  COMMITTED  AIXwindows Default Fonts
  X11.fnt.iso1              5.1.0.25  COMMITTED  AIXwindows Latin 1 Fonts


Afterwards (fileset X11.fnt.iso_T1 installed), working:

root@aix51:/opt/freeware/etc/fonts> lslpp -l | grep X11.fnt
  X11.fnt.coreX              5.1.0.0  COMMITTED  AIXwindows X Consortium Fonts
  X11.fnt.defaultFonts       5.1.0.0  COMMITTED  AIXwindows Default Fonts
  X11.fnt.iso1              5.1.0.25  COMMITTED  AIXwindows Latin 1 Fonts
  X11.fnt.iso_T1             5.1.0.0  COMMITTED  AIXwindows Latin Type1 Fonts


This is my /opt/freeware/etc/fonts/local.conf file:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /opt/freeware/etc/fonts/local.conf file for local customizations -->
<fontconfig>

<!-- Font directory list -->

        <dir>/opt/freeware/share/fonts/default/Type1</dir>
        <dir>/opt/freeware/share/fonts/default/ghostscript/fonts</dir>
        <dir>/usr/lib/X11/fonts/Type1</dir>
        <dir>~/.fonts</dir>

</fontconfig>



Downloads

RPM:

Source RPM:

Package dependencies:


All versions

Edit - History - Print - Recent Changes - Search
Page last modified on December 01, 2017, at 10:24 PM