Hi,
i have a problem when i use font which contain non ascii letters in the file
name,
e.g. the filename of the Hirganino fonts on Mac OS X are a mixture or japanese
and
latin letters but only the latin part is used to cache the font information.
In the following example
\definefontsynonym[Mincho][file:ヒラギノ明朝 Pro W3][features=default] %
/Library/Fonts/ヒラギノ明朝 Pro W3.otf
\definefontsynonym[Gothic][file:ヒラギノ角ゴ Pro W3][features=default] %
/Library/Fonts/ヒラギノ角ゴ Pro W3.otf
\starttext
\startlines
\definedfont[Mincho]Hiragino Mincho Pro
\definedfont[Gothic]Hiragino Kaku Gothic Pro
\stoplines
\stoptext
the font information is saved at each run in the font cache under the name
'-pro-w3'.
fonts : preloading latin modern fonts
bodyfont : 12pt rm is loaded
language : language en is active
systems : begin file selectfont-13 at line 3
!load otf : loading: /Library/Fonts/ヒラギノ明朝 Pro W3.otf (hash: -pro-w3)
!load otf : file size: 11580728
!load otf : enhancing ...
!load otf : saving in cache: /Library/Fonts/ヒラギノ明朝 Pro W3.otf
!load otf : loading: /Library/Fonts/ヒラギノ角ゴ Pro W3.otf (hash: -pro-w3)
!load otf : file size: 9362284
!load otf : enhancing ...
!load otf : saving in cache: /Library/Fonts/ヒラギノ角ゴ Pro W3.otf
fonts : resetting map file list
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts : using map file: original-base
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts : using map file: original-ams-base
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts : using map file: original-ams-euler
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts : using map file: original-public-lm
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts : using map file: lm-math
{/Users/wolf/ctx/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts : using map file: lm-rm
{/Users/wolf/ctx/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
!pages : flushing realpage 1, userpage 1, subpage 1
systems : end file selectfont-13 at line 8
system : cont-err loaded
(/Users/wolf/ctx/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )</Library/Fonts/ヒラギノ角ゴ Pro W3.otf></Library/Fonts/ヒラギノ明朝 Pro
W3.otf></Users/wolf/ctx/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________