<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-html" lang="x-unicode">
<div class="moz-text-flowed"
 style="font-family: -moz-fixed; font-size: 12px;" lang="x-unicode">Hello,<br>
<br>
Given a name, like "Bitstream Charter 16", is there any way to get the
path to the
actual font file out of that?
<br>
<br>
I've got an editor with a font selection dialog in Gtk, and when
printing text
to pdf, it uses fop (<a class="moz-txt-link-freetext" href="http://xmlgraphics.apache.org/fop/">http://xmlgraphics.apache.org/fop/</a>), and fop again
needs the path to the actual font,
e.g. /usr/X11R6/lib/x11/fonts/CharisSILR.ttf, to properly display
Unicode text.
<br>
<br>
I've been trying to find out how to get that path, and looked through
the fontconfig documentation, and get the impression that fontconfig,
should be able to provide it, but the big question is:
How???
<br>
<br>
Thanks a lot,
<br>
<br>
Teus Benschop.
<br>
<br>
<br>
</div>
</div>
</body>
</html>