ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font Path Problem.
@ 2009-07-05 23:29 Stirling Westrup
  2009-07-09  8:11 ` Stirling Westrup
  0 siblings, 1 reply; 3+ messages in thread
From: Stirling Westrup @ 2009-07-05 23:29 UTC (permalink / raw)
  To: ntg-context

I am running Debian amd64 (a mixed version system) and recently
installed context. I am trying to get mkiv working, and so far it
mostly is. The one problem I've run into is that I can't get it to
recognize the extra truetype fonts I have in /usr/local/share/fonts.
It only seems to see the ones that came with the installation.

I've followed the various installation and setup documents as best I
could but so far haven't had any luck. Here's a hopefully meaningful
transcript below:

$ env | grep -i "tex\|fontdir"
TEXMFCACHE=/tmp
TEXMFCNF=/usr/share/texmf/web2c
OSFONTDIR=/usr/share/fonts;/usr/local/share/fonts;/home/sti/.fonts

$ ls /usr/local/share/fonts/Triplex*
/usr/local/share/fonts/Triplex-Bold Italic.ttf
/usr/local/share/fonts/TriplexBoldLining Bold.ttf
/usr/local/share/fonts/TriplexBoldOldstyle Bold.ttf
/usr/local/share/fonts/TriplexConBlackLining Regular.ttf
/usr/local/share/fonts/TriplexConBlackOldstyle Regular.ttf
/usr/local/share/fonts/TriplexCond-Black.ttf
/usr/local/share/fonts/TriplexCondRegular.ttf
/usr/local/share/fonts/TriplexCondSerif-Black.ttf
/usr/local/share/fonts/TriplexCondSerif.ttf
/usr/local/share/fonts/TriplexCond.ttf
/usr/local/share/fonts/TriplexConRegLining Regular.ttf
/usr/local/share/fonts/TriplexConRegOldstyle Regular.ttf
/usr/local/share/fonts/TriplexConSerBlackLining Regular.ttf
/usr/local/share/fonts/TriplexConSerBlackOldstyle Regular.ttf
/usr/local/share/fonts/TriplexConSerLining Regular.ttf
/usr/local/share/fonts/TriplexConSerOldstyle Regular.ttf
/usr/local/share/fonts/Triplex-ExtraBold Italic.ttf
/usr/local/share/fonts/TriplexExtraboldLining Regular.ttf
/usr/local/share/fonts/TriplexExtraboldOldstyle Regular.ttf
/usr/local/share/fonts/Triplex-ExtraBold.ttf
/usr/local/share/fonts/TriplexItalicBoldLining Bold Italic.ttf
/usr/local/share/fonts/TriplexItalicBoldOldstyle Bold Italic.ttf
/usr/local/share/fonts/TriplexItalicExtraboldLining Italic.ttf
/usr/local/share/fonts/TriplexItalicExtraboldOldstyle Italic.ttf
/usr/local/share/fonts/TriplexItalicLightLining Italic.ttf
/usr/local/share/fonts/TriplexItalicLightOldstyle Italic.ttf
/usr/local/share/fonts/Triplex-Light Italic.ttf
/usr/local/share/fonts/TriplexLightLining Regular.ttf
/usr/local/share/fonts/TriplexLightOldstyle Regular.ttf
/usr/local/share/fonts/Triplex-Light.ttf
/usr/local/share/fonts/TriplexSerifBoldLining Bold.ttf
/usr/local/share/fonts/TriplexSerifBoldOldstyle Bold.ttf
/usr/local/share/fonts/TriplexSerif-Bold.ttf
/usr/local/share/fonts/TriplexSerifExtraBoldLining Bold.ttf
/usr/local/share/fonts/TriplexSerifExtraBoldOldstyle Bold.ttf
/usr/local/share/fonts/TriplexSerif-ExtraBold.ttf
/usr/local/share/fonts/TriplexSerifLightLining Regular.ttf
/usr/local/share/fonts/TriplexSerifLightOldstyle Regular.ttf
/usr/local/share/fonts/TriplexSerif-Light.ttf


$ luatools --generate

LuaTools | loading /usr/share/texmf/web2c/texmf.cnf
LuaTools | preparing configuration for
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/e027248d6557d124c703335e8a95ecd5.tma
LuaTools | saving configuration in
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/e027248d6557d124c703335e8a95ecd5.tma
LuaTools | compiling configuration to
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/e027248d6557d124c703335e8a95ecd5.tmc
LuaTools | locating list of /home/sti/.texmf-config
LuaTools | locating list of /home/sti/.texmf-var
LuaTools | locating list of /home/sti/texmf
LuaTools | locating list of /etc/texmf
LuaTools | locating list of /var/lib/texmf
LuaTools | locating list of /usr/local/share/texmf
LuaTools | locating list of /usr/share/texmf
LuaTools | locating list of /usr/share/texmf-texlive
LuaTools | scanning path /etc/texmf
LuaTools | 117 files found on 23 directories with 12 uppercase remappings
LuaTools | scanning path /var/lib/texmf
LuaTools | 66 files found on 18 directories with 0 uppercase remappings
LuaTools | scanning path /usr/local/share/texmf
LuaTools | 338 files found on 98 directories with 23 uppercase remappings
LuaTools | scanning path /usr/share/texmf
LuaTools | 5213 files found on 258 directories with 84 uppercase remappings
LuaTools | scanning path /usr/share/texmf-texlive
LuaTools | 26261 files found on 3052 directories with 1007 uppercase remappings
LuaTools | preparing files for
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/b8a1cf189bc82d8722e834ba72af3440.tma
LuaTools | saving files in
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/b8a1cf189bc82d8722e834ba72af3440.tma
LuaTools | compiling files to
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/b8a1cf189bc82d8722e834ba72af3440.tmc
LuaTools | preparing files for
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/365395d0b7a55b76b7abe9a5d47c611d.tma
LuaTools | saving files in
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/365395d0b7a55b76b7abe9a5d47c611d.tma
LuaTools | compiling files to
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/365395d0b7a55b76b7abe9a5d47c611d.tmc
LuaTools | preparing files for
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/c136f4d84c0b9fde8e19a42543a2e07d.tma
LuaTools | saving files in
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/c136f4d84c0b9fde8e19a42543a2e07d.tma
LuaTools | compiling files to
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/c136f4d84c0b9fde8e19a42543a2e07d.tmc
LuaTools | preparing files for
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/c99fbb6307ce58c4c8d3687f791de5f6.tma
LuaTools | saving files in
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/c99fbb6307ce58c4c8d3687f791de5f6.tma
LuaTools | compiling files to
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/c99fbb6307ce58c4c8d3687f791de5f6.tmc
LuaTools | preparing files for
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/9ea5cec901854e6fa728c2ba01c0bb52.tma
LuaTools | saving files in
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/9ea5cec901854e6fa728c2ba01c0bb52.tma
LuaTools | compiling files to
/tmp/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/trees/9ea5cec901854e6fa728c2ba01c0bb52.tmc
LuaTools |
LuaTools | runtime: 0.815 seconds

$ mtxrun --script fonts --reload
report >> fontnames: identifying tree font files with suffix otf
report >> fontnames: 142 tree files identified, 436 hash entries
added, runtime 0.23373603820801 seconds
report >> fontnames: identifying tree font files with suffix ttf
report >> fontnames: 17 tree files identified, 57 hash entries added,
runtime 0.15961408615112 seconds
report >> fontnames: identifying tree font files with suffix ttc
report >> fontnames: 0 tree files identified, 0 hash entries added,
runtime 0.15532112121582 seconds
report >> fontnames: identifying tree font files with suffix afm
report >> fontnames: 1046 tree files identified, 1873 hash entries
added, runtime 0.28574800491333 seconds
report >> fontnames: identifying system font files with suffix otf
report >> fontnames: 0 system files identified, 0 hash entries added,
runtime 0.0090441703796387 seconds
report >> fontnames: identifying system font files with suffix ttf
report >> fontnames: 0 system files identified, 0 hash entries added,
runtime 0.000049 seconds
report >> fontnames: identifying system font files with suffix ttc
report >> fontnames: 0 system files identified, 0 hash entries added,
runtime 0.000047 seconds
report >> fontnames: identifying system font files with suffix afm
report >> fontnames: 0 system files identified, 0 hash entries added,
runtime 0.000047 seconds

$ mtxrun --script fonts --list --pattern="Triplex"

$ mtxrun --script fonts --list --pattern=".ttf"
quasichanceryttf medium italic         QuasiChanceryTTF Medium Italic
       qzcmi.ttf
quasicourierttf bold                   QuasiCourierTTF Bold
       qcrb.ttf
quasicourierttf bold italic            QuasiCourierTTF Bold Italic
       qcrbi.ttf
quasicourierttf regular                QuasiCourierTTF Regular
       qcrr.ttf
quasicourierttf regular italic         QuasiCourierTTF Regular Italic
       qcrri.ttf
quasiswisscondensedttf bold            QuasiSwissCondensedTTF Bold
       qhvcb.ttf
quasiswisscondensedttf bold italic     QuasiSwissCondensedTTF Bold
Italic     qhvcbi.ttf
quasiswisscondensedttf regular         QuasiSwissCondensedTTF Regular
       qhvcr.ttf
quasiswisscondensedttf regular italic  QuasiSwissCondensedTTF Regular
Italic  qhvcri.ttf
quasiswissttf bold                     QuasiSwissTTF Bold
       qhvb.ttf
quasiswissttf bold italic              QuasiSwissTTF Bold Italic
       qhvbi.ttf
quasiswissttf regular                  QuasiSwissTTF Regular
       qhvr.ttf
quasiswissttf regular italic           QuasiSwissTTF Regular Italic
       qhvri.ttf


--
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Font Path Problem.
  2009-07-05 23:29 Font Path Problem Stirling Westrup
@ 2009-07-09  8:11 ` Stirling Westrup
  2009-07-10 21:54   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Stirling Westrup @ 2009-07-09  8:11 UTC (permalink / raw)
  To: ntg-context

I'm still having no luck getting mkiv to recognize my extra .ttf
fonts. Does anyone know where I might look for some hints?


-- 
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Font Path Problem.
  2009-07-09  8:11 ` Stirling Westrup
@ 2009-07-10 21:54   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2009-07-10 21:54 UTC (permalink / raw)
  To: swestrup, mailing list for ConTeXt users

Stirling Westrup wrote:
> I'm still having no luck getting mkiv to recognize my extra .ttf
> fonts. Does anyone know where I might look for some hints?

can you try to set OSFONTDIR?

like

OSFONTDIR=c:/windows/fonts//

then you need to do

mtxrun --script fonts --reload

in order to get that path hashed


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-10 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-05 23:29 Font Path Problem Stirling Westrup
2009-07-09  8:11 ` Stirling Westrup
2009-07-10 21:54   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).